2006 Dec 04 4:07 PM
Hi all,
I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the smartform and an email is sent when an output is issued manually from VF02/03 where as the requirement is to send email whenever the document is saved.
We need to trigger this while saving the Output type say, <b>VF01</b> GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
need ur help on this.
thanks,
Subba.
Hi all,
I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the smartform and an email is sent when an output is issued manually from VF02/03 where as the requirement is to send email whenever the document is saved.
We need to trigger this while saving the Output type say, <b>VF01</b> GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
need ur help on this.
thanks,
Subba.
2006 Dec 04 4:21 PM
Hi,
I think, you can maintain a new output type with output medium 5 (guess, external) for Email. Whenever you use this output then it will trigger an email.
Regards
Viswa
2006 Dec 04 4:29 PM
Hello,
Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
I am not sure but you can also try this ::::::
If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of creating new.
Thanks.
2006 Dec 06 5:18 PM
2006 Dec 06 5:19 PM