Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send e-mail Billing document as PDF Attachment while saving from VF01/02

vsubbakrishna
Participant
0 Likes
1,543

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.

4 REPLIES 4
Read only

Former Member
0 Likes
914

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

Read only

Former Member
0 Likes
914

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.

Read only

0 Likes
914

Problem solved! points assigned

thanks,

Subba

Read only

0 Likes
914

thread closed