Re: sending email to user
how to send a mail to the user after creating sales order details in va01? explain with example?
Hi Asha
I'll provide you a sample report. In which you have to replace the table and fields with the tables and fields you want
*& Report ZTESTMAIL *
REPORT ZMATURITY .
tables: bseg.
parameters: p_email type somlreci1-receiver default
'@yahoo.com'.
parameters: p_email1 type somlreci1-receiver default
'@yahoo.com'.
data: it_message type standard table of solisti1 initial size 0
with header line.
data: it_message1 type standard table of solisti1 initial size 0
with header line.
data: it_attach type standard table of solisti1 initial size 0
with header line.
data: text(150).
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1,
gd_error type sy-subrc,
gd_reciever type sy-subrc.
start-of-selection.
data: lv_date type sy-datum.
data: lv_date1 type sy-datum.
data: lv_formatdate(10) type c.
data: lv_formatdate1(10) type c.
data: var1(4) type c,
var2(2) type c,
var3(2) type c.
data: begin of int_bseg occurs 0,
BELNR LIKE BSEG-BELNR,
ZUONR LIKE BSEG-ZUONR,
GJAHR LIKE BSEG-GJAHR,
end of int_bseg.
data: begin of int_bkpf occurs 0,
BELNR LIKE BKPF-BELNR,
BUKRS LIKE BKPF-BUKRS,
GJAHR LIKE BKPF-GJAHR,
BUDAT LIKE BKPF-BUDAT,
end of int_BKPF.
data: 2days_out type sy-datum.
2days_out = sy-datum + 2.
lv_date = 2days_out.
var1 = lv_date+(4).
var2 = lv_date+4(2).
var3 = lv_date+6(2).
concatenate var3 var2 var1 into lv_formatdate separated by '.'.
data: var4(4) type c,
var5(2) type c,
var6(2) type c.
select zuonr belnr bukrs GJAHR from bseg into
corresponding fields of table int_bseg
where bukrs = 'COMPANY CODE' and
ZUONR = lv_formatdate.
* loop at int_bseg.
*it_message = int_bseg-belnr.
*ENDLOOP.
*endselect.
select BUDAT BUKRS BELNR GJAHR from BKPF into
corresponding fields of table int_BKPF
where bukrs = 'COMPANY CODE'.<-- YOUR COMPANY CODE
*and GJAHR = INT_BSEG-GJAHR.
append int_BKPF.
*lv_date1 = int_bkpf-budat.
* var4 = lv_date1+(4).
* var5 = lv_date1+4(2).
* var6 = lv_date1+6(2).
*concatenate var6 var5 var4 into lv_formatdate1 separated by '.'.
*endselect.
perform populate_email_message_body.
** Send file by email as .xls speadsheet
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Assignment Date after 2 days'
'XLS'
'filename'
changing gd_error
gd_reciever.
* Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*endif.
end-of-selection.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
data: ld_error type sy-subrc,
ld_reciever type sy-subrc,
ld_mtitle like sodocchgi1-obj_descr,
ld_email like somlreci1-receiver,
ld_format type so_obj_tp ,
ld_attdescription type so_obj_nam ,
ld_attfilename type so_obj_des ,
ld_sender_address like soextreci1-receiver,
ld_sender_address_type like soextreci1-adr_typ,
ld_receiver like sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
* Fill the document data.
w_doc_data-doc_size = 1.
* Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
** Fill the document data and get size of attachment
clear w_doc_data.
read table it_attach index w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + strlen( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
clear t_attachment.
refresh t_attachment.
t_attachment[] = pit_attach[].
* Describe the body of the message
clear t_packing_list.
refresh t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
describe table it_message lines t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
append t_packing_list.
* Add the recipients email address
clear t_receivers.
refresh t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
append t_receivers.
call function 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
object_header = t_object_header
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
* Populate zerror return code
ld_error = sy-subrc.
* Populate zreceiver return code
loop at t_receivers.
ld_receiver = t_receivers-retrn_code.
endloop.
endform. "send_file_as_email_attachment
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
* Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
endform. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
* Populate message body text
form populate_email_message_body.
refresh it_message.
refresh it_message1.
* if int_bseg-belnr = int_bkpf-belnr.
loop at int_BSEG.
read table int_bKPF WITH KEY BELNR = INT_BSEG-BELNR
GJAHR = INT_BSEG-GJAHR.
lv_date1 = int_bkpf-budat.
var4 = lv_date1+(4).
var5 = lv_date1+4(2).
var6 = lv_date1+6(2).
concatenate var6 var5 var4 into lv_formatdate1 separated by '.'.
it_message = int_bseg-belnr.
it_message1 = lv_formatdate1.
* it_message = 'Assignment Date is coming After 2 Days'.
concatenate 'Doc. No : 'it_message
'Posting Date : ' it_message1
'Assignment Date is coming After 2Days' into
it_message separated by space.
append it_message.
append it_message1.
clear it_message.
clear it_message1.
endloop.
*endif.
endform. " POPULATE_EMAIL_MESSAGE_BODY
Reward all helpfull answers
Regards
Pavan
Similar Messages
-
Function Module to send emails to users
Hi,
Please help me in finding a FM that will allow me to send emails to users if a field in the internal table is blank.
Please suggest.
Thanks.Hi
Use this
call function 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = doc_data " Subject
document_type = 'RAW'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_header = obj_head " Header
object_content = obj_con[] " Body of mail
receivers = rec " reciver
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
rgds
Arun -
Sending email to user using the notification template in OIM 11g
Hi all
I have created a Notification Template using web console in OIM 11g.
Iam able to access the contents from notification template in my java code.
But iam not able to find the correct api's to send email to user using the notification template
(like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
Waiting for your help and pointers
Thanks and Regards
Bipin patilThanks GP!.
But i have the same doubt here.
"The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
Please let me know if you are aware.
Thanks,
Amudha -
Failed to send Email to user root. (90017)Invalid protocol: null
Dear All ,
After having configure the notification i goto the following error when a notification is enable.
Failed to send Email to user root. (90017)Invalid protocol: null
How to fix it
RegardsThanks for the prompt return
The link you send to me refer to notification with Grid control and there is no feature to perform a test to send an email . Or may me from cli .
How can i check if EC can send an email . On Os level we use sedmail and it work
Tx -
Send email to users after completion of conc program by using Alerts
Hi,
I want to send email to users after completion of concurrent program by using Alerts . please guide me how to create alert and should send email of concurrent program details to user.
Thanks in advance..it's a urgent requirement so help me.
Regards
Narender BApplication Express != Oracle Applications
You got into wrong forum please add here {forum:id=475} -
Use of CL_BCS to send email in user exit
Hi,
I need some help from experts in this forum.
I use CL_BCS to send email if a certain condition is met inside a customer exit.
This exit is called before a confirmation dialog pop up asking whether we want to save or cancel.
I did not put commit work statement in this exit since it will commit all database update even though the transaction can still be canceled. Email will also be sent if the transaction is save. Hence, I'm relying on commit statement that come from the transaction itself.
However, this logic has create one problem for me.
If user hit cancel in the confirmation dialog that pop up after the exit is called, no commit will be executed. Hence, no email will be sent.
The problem is when the user change the data and re-save the data, there will be 2 email sent. One email come from the save action from the user and the other come from previous email that was not sent before due to no commit statement executed.
Is there any way to prevent this to happen? Please help.
PS: Points will be rewarded for those with helpful answer
Message was edited by:
Abraham BukitHi,
May be you use commit this way.
Create a custom function moudle , with you CL_BCS class codes and with comitt work inside and call the function in your userexit like
call function 'Y_CL_BCS_TRIGGER' " << Your function module name
starting new task yscchdr-docno
exporting
xxxxx = xxxxx
aRs -
Help needed! How to send Email if user created in a specific organization
Hello experts.
I have edited the Create User workflow to include the Email notiifcation. I follow the example in the manual under Example workflow customization.
What I have discovered is that it will send email no matter which Organization a user is created in. e.g. Top or Top:MyOrg or Top:Disabled
I only want Email sent if user is created in Top:MyOrg
What data is available during the workflow?
Currently the transition to Email User in the Notify activity doesnt have a condition... it will always branch to Email User.
What I want is a conditional branch only doing the Email User if the organization=Top:MyOrg
What does this condition look like?
I guess I also need to include a branch to end in the Notify if necessary.
I am new to customizing workflow but this is urgent request.sorry.
trial and error have shown me that
<eq>
<ref>user.waveset.organization</ref>
<s>Top:MyOrg</s>
</eq>
is the condition for me to use. -
Hi,
please help me to send email to dba when a specific user logs in to database.
Best regards
allahmoradHi,
create a trigger that call a procedure to send mail
check below trigger
create or replace trigger logon
AFTER LOGON
ON DATABASE
begin
procedure_name;
end;
to send mail from oracle
create or replace
procedure testing_mail
IS
mailhost VARCHAR2(30) := '10.?.5.?';
mail_conn utl_smtp.connection;
crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
mesg VARCHAR2( 1000 );
BEGIN
mail_conn := utl_smtp.open_connection('10.?.5.?', 25);
mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
'From: <'postmaster@mysmtpdomain'||'>' || crlf ||
'Subject: '||'testing mail' || crlf ||
'To: '||'[email protected]'|| crlf ||
'' || crlf || 'Testing mail procedure';
utl_smtp.helo(mail_conn, '10.?.100.?');
utl_smtp.mail(mail_conn, 'postmaster@mysmtpdomain');
utl_smtp.rcpt(mail_conn, '[email protected]');
utl_smtp.data(mail_conn, 'Testing mail procedure');
utl_smtp.quit(mail_conn);
END;
/ -
Send Email to User on provisioning /De-provisioning from TFS
Hi,
I require to create an application which will trigger an email to end-user after provisioning /De-provisioning him/her in Team Foundation Server.
I am new to TFS, can someone help me to get started on this.
Thanks a lot.Hi AbhiroopGhosh,
Thanks for your post.
What’s the version of your TFS?
What email you want send to user? Team project alerts?
For default TFS team project alert feature, please refer to this document:
https://msdn.microsoft.com/en-us/library/ms181334.aspx.
How to subscript event using TFS API, please refer to the example in this article:
http://roadtoalm.com/2012/03/29/create-tfs-event-subscription-programmatically-with-tfs-api/. And you create and send email using your custom code.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Dear All
is it possible when we create purchase order system automatically send email to specific User?how?
is it possible when we create purchase order system automatically send email to specific Vendor?how?
best regards
R.TDear,
In both cases the possibility answer is YES.
If you can search on net with 'Send PO email automatically to vendor in SAP' you will get hundreds of results some with steps.
Similar to other also...
And check in Forum search also...
Try ...
Regards,
Syed Hussain. -
Can't send email on users in some new country Internet domains
I have following messaging server:
#imsimta version
Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
libimta.so 6.2-3.04 (built 01:43:03, Jul 15 2005)
Last few says I have noticed that I can't send emails on some of international country Internet domains like [email protected] or [email protected] which are relatively new internet domains registered in year 2006.
I am receiving following message:
Server Response: '550 5.1.2 unknown host or domain: [email protected]
After some investigation I find out that I can't send emails also on domain [email protected] which is also domain registered after year 2006.
Obviously I have problem because this internet domains are new and messaging server can't recognize any new internet domain after 2005.
DNS server is working fine I can make domain lookup and probably I have to add this domains somewhere in the LDAP or in some config file.
Problem is that I don't know where I have to add them.The Sun Messaging server only accepts messages for known top level domains. The list of known top-level domains is defined in the file "......./config/internet.rules"
The lists is updated via Sun Messaging server patches. -
Error in sending email to users(outside sap)
Hello experts,
We just transported my program to QAS server and I just tested it now if my program to send messages to emails outside works. Unfortunately, it doesn't. I am using FM SO_NEW_DOCUMENT_SEND_API1 and the sy-subrc = 2 whcih means document not sent. Also, there is window that popped up that says
Database error for <ADDR_PERS_COMP_COMM_GET> <0>
Again, thank you guys for all your help and take care!Hi,
Check this
Sending mail To Standard SAP MAIL Box
http://www.sap-img.com/abap/sending-email-with-attachment.htm
SCOT settings
http://www.sap-img.com/basis/basis-faq.htm
Sending External email through SAP
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm\
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Sample Code
Sending External email through SAP
What is the FM for sending the external email through SAP by attaching layout set to it?
These are the FM for sending external email :-
SO_DOCUMENT_SEND_API1
SAPoffice: Send new document with attachments via RFC
SO_NEW_DOCUMENT_ATT_SEND_API1
(In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
SAPoffice: Send new document with attachments via RFC
Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
SO_NEW_DOCUMENT_SEND_API1
SAPoffice: Send new document
How to send a report to an external mail-id?
<b>
Try this sample code :-</b>
REPORT ZREPORT_TO_EMAIL NO STANDARD PAGE HEADING LINE-SIZE 200.
DATA : BEGIN OF ITAB OCCURS 0,
PERNR LIKE PA0001-PERNR,
ENAME LIKE PA0001-ENAME,
END OF ITAB.
DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
listobject LIKE abaplist OCCURS 10,
compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
w_object_hd_change LIKE sood1,
compressed_size LIKE sy-index.
START-OF-SELECTION.
SELECT PERNR ENAME
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM PA0001
WHERE PERNR < 50.
LOOP AT ITAB.
WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
SY-VLINE.
ENDLOOP.
Receivers
receiver_list-recextnam = '[email protected]'. "-->
EMAIL ADDRESS
RECEIVER_list-RECESC = 'E'. "<-
RECEIVER_list-SNDART = 'INT'."<-
RECEIVER_list-SNDPRI = '1'."<-
APPEND receiver_list.
General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
Mail subject
w_object_hd_change-objdes = 'Message subject'.
Mail body
APPEND 'Message content' TO message_content.
Attachment
CALL FUNCTION 'SAVE_LIST'
EXPORTING
list_index = '0'
TABLES
listobject = listobject.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
compressed_size = compressed_size
TABLES
in = listobject
out = compressed_attachment.
DESCRIBE TABLE compressed_attachment.
CLEAR packing_list.
packing_list-transf_bin = 'X'.
packing_list-head_start = 0.
packing_list-head_num = 0.
packing_list-body_start = 1.
packing_list-body_num = sy-tfill.
packing_list-objtp = 'ALI'.
packing_list-objnam = 'Object name'.
packing_list-objdes = 'Attachment description'.
packing_list-objlen = compressed_size.
APPEND packing_list.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
TABLES
objcont = message_content
receivers = receiver_list
packing_list = packing_list
att_cont = compressed_attachment.
<b>
2nd Program</b>
REPORT ZSENDEXTERNAL.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
Mail Contents
OBJTXT = 'Minimum bid : $250000'.
APPEND OBJTXT.
OBJTXT = 'A representation of the pictures up for auction'.
APPEND OBJTXT.
OBJTXT = 'was included as attachment.'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
(Assume that the data in OBJBIN is in BMP format)
*OBJBIN = ' \O/ '. APPEND OBJBIN.
*OBJBIN = ' | '. APPEND OBJBIN.
*OBJBIN = ' / \ '. APPEND OBJBIN.
*DESCRIBE TABLE OBJBIN LINES TAB_LINES.
*OBJHEAD = 'PICTURE.BMP'.
*APPEND OBJHEAD.
Creation of the entry for the compressed attachment
*OBJPACK-TRANSF_BIN = 'X'.
*OBJPACK-HEAD_START = 1.
*OBJPACK-HEAD_NUM = 1.
*OBJPACK-BODY_START = 1.
*OBJPACK-BODY_NUM = TAB_LINES.
*OBJPACK-DOC_TYPE = 'BMP'.
*OBJPACK-OBJ_NAME = 'PICTURE'.
*OBJPACK-OBJ_DESCR = 'Representation of object 138'.
*OBJPACK-DOC_SIZE = TAB_LINES * 255.
*APPEND OBJPACK.
Completing the recipient list
RECLIST-RECEIVER = '[email protected]'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
*RECLIST-RECEIVER = 'SAPUSERNAME'.
*RECLIST-REC_TYPE = 'P'.
*APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
CASE SY-SUBRC.
WHEN 0.
WRITE: / 'Result of the send process:'.
LOOP AT RECLIST.
WRITE: / RECLIST-RECEIVER(48), ':'.
IF RECLIST-RETRN_CODE = 0.
WRITE 'The document was sent'.
ELSE.
WRITE 'The document could not be sent'.
ENDIF.
ENDLOOP.
WHEN 1.
WRITE: / 'No authorization for sending to the specified number',
'of recipients'.
WHEN 2.
WRITE: / 'Document could not be sent to any recipient'.
WHEN 4.
WRITE: / 'No send authorization'.
WHEN OTHERS.
WRITE: / 'Error occurred while sending'.
ENDCASE.
Message was edited by: Manoj Gupta -
Send email to user after submitting form
hi all. so, i made a visitor registration page using PHP and
everything works, but i'd like to send an email to visitors after
they submit the registration form. the only post i could find here
with the same question is
here. but the answer involves using
a form handler, and i don't think my form is using a handler,
because i did it with PHP and server behaviors. of course, this is
my first PHP page, and i'm not all that experienced with forms
either, so i don't entirely know what i'm talking about.
so, does anyone know how to do this using PHP and server
behaviors? seems like it should be easy enough, but nothing i've
tried works!
thanks in advance for the help!I figured that would be asking too much. But you're right....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Paul Whitham AdobeCommunityExpert"
<[email protected]> wrote in message
news:[email protected]...
> Murray
>
> That will only work provided that they do not want any
information from
> the form contained in the email. What you can do is
locate the line in the
> insert code that fires the page redirection and place
the mailing script
> above it.
>
> --
> Paul Whitham
> Certified Dreamweaver MX2004 Professional
> Adobe Community Expert - Dreamweaver
>
> Valleybiz Internet Design
> www.valleybiz.net
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Have the server behavior send the form page to
another page that sends
>> the email. Have this page relocate to the thank you
page, or even back
>> to the form page when it is done.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "n h c" <[email protected]> wrote
in message
>> news:[email protected]...
>>> hi all. so, i made a visitor registration page
using PHP and everything
>>> works,
>>> but i'd like to send an email to visitors after
they submit the
>>> registration
>>> form. the only post i could find here with the
same question is <a
>>> href="
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&am
>>>
p;catid=189&threadid=1125827&highlight_key=y&keyword1=send
>>> email">here</a>. but the answer
involves using a form handler, and i
>>> don't
>>> think my form is using a handler, because i did
it with PHP and server
>>> behaviors. of course, this is my first PHP page,
and i'm not all that
>>> experienced with forms either, so i don't
entirely know what i'm talking
>>> about.
>>>
>>> so, does anyone know how to do this using PHP
and server behaviors?
>>> seems like
>>> it should be easy enough, but nothing i've tried
works!
>>>
>>> thanks in advance for the help!
>>>
>>
>>
>
> -
Hi!
I am new to Mac OS X Server Mail and I am trying to set up. I have successfully started the mail services and created 2 user accounts. Those accounts can email each other back and forth, no problem; however, they cannot send/receive to other email addresses. Anyone know why this would happen?
I'm learning OS X Server and appreciate any help!Hi,
setting up mail can is quite complicated.
Suggest you watch this video:
http://www.youtube.com/watch?v=FAODxn7LF6k&list=PL01BB6048468891F7&feature=share &index=16
this should give you some ideas where to look.
Have in mind that you need to do DNS set-ups, need to have a static IP address ( or use a DynDNS service ),very likely also add MX records etc. etc. -
Send Email on User Account Creation in OIM 11g
Hi All,
We are working on email notifications for the user account creation. we followed the following procedure:
1) Creation of email template
2) Creation of resource object
3) Creation of notification process
4) Create Customer Rule
5) Create Customers Role and Assign Rule
6) Create Access Policy.
After assigning AD account to the user we are getting following errors..
1> Class/Method: tcEmailNotificationUtil/parseEmail encounter some problems: Data Access Error
Supplemental Detail com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(tcDataSet.java:952)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(tcDataSet.java:1523)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(tcDataSet.java:903)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(tcDataSet.java:1490)
at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.parseEmail(tcEmailNotificationUtil.java:1213)
at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.constructEmail(tcEmailNotificationUtil.java:235)
at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.constructEmail(tcEmailNotificationUtil.java:269)
at com.thortech.xl.dataobj.tcScheduleItem.checkForEmailNotification(tcScheduleItem.java:3765)
2> *Class/Method: tcEmailNotificationUtil/sendEmail encounter some problems: [EOF]*
Supplemental Detail javax.mail.MessagingException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.sendEmail(tcEmailNotificationUtil.java:850)
at com.thortech.xl.dataobj.tcScheduleItem.checkForEmailNotification(tcScheduleItem.java:3782)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(tcScheduleItem.java:741)
3) And I am also getting error related to FAX like..
select Fax from orc orc, usr usr where usr.usr_key=orc.usr_key and orc.orc_key =293
Supplemental Detail java.sql.SQLSyntaxErrorException: ORA-00904: "FAX": invalid identifier
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:856)
4) Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00904: "FAX": invalid identifier
Supplemental Detail java.sql.SQLSyntaxErrorException: ORA-00904: "FAX": invalid identifier
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
Plaese provide quick resolution to our issue..
It will be very helpful to us.
ThanksThanks alot.I have configured this requirement.
Regards
A Abhinay
Maybe you are looking for
-
My default calendar is no longer syncing with outlook.
I was editing my default calendar in outlook 2010 when suddenly the calendar went blank on my Windows 7 PC. The information is still on icloud (and all of my other apple devices). How can I import calendar details from icloud into my default Outlook
-
Database connectivity problem with instant client.
Guys, I've installed the Oracle instant client basic and ODBC files in my system. But when I create a system DSN and test the connectivity my database connectivity,it fails with ORA-12637:Packet receive failed error My TNSNAMES reads below: ONDSP101.
-
Hi My name ali from iran IDi I opened my iPad in China because the Chinese did not notice but I update my information Unfortunately, due to the country's name to Iran sanctions not Sbn I chose to make Iraq Now I'm able to take my Mastercard and softw
-
Location of Skype program files on Windows 8.1 mac...
My HP Windows 8.1 laptop came with Skype pre-installed, and I cannot find the program base files in Program Files or any other folder I have looked in. I want to find them as I deleted the Skype desktop shortcut and now want it back but cannotfind th
-
Business scenario for product costing make to stock in pharma
Hello sap gurus, how to explain the business scenario of make to stock product costing. did any one explain about this. regards, suneetha