cancel
Showing results for 
Search instead for 
Did you mean: 

function modules to send mails from ABAP

Former Member
0 Kudos

hi

can any one give me the function module to send mails from abap to yahoomail or gmail etc. i will be grateful if any one can provide me a sample code.

thanks & regards

rajesh

Accepted Solutions (0)

Answers (3)

Answers (3)

jayanthi_jayaraman
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi,

check this site:

http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm

Replace the

p_email(40)   type c default 'test@sapdev.co.uk' .

with ur yahoo or gmail id

This is the FM that u needed:

'SO_NEW_DOCUMENT_ATT_SEND_API1'

http://www.kabai.com/abaps/z00.htm

http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface

Hope this solves your question.

Best Regards,

Anjali

Former Member
0 Kudos

Hi,

Check the code in the following link.

http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm

Regards,

Vijay