Application Development 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: 

mail sending from background

Former Member
0 Kudos

hi,

We are using the Function Module SO_DOCUMENT_SEND_API1 to send emails from a Job running in background but it is not sending.

We have used this in foreground and its working fine but is this FM capable of sending mails from background Job?

can any one help ..?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi admonty,

Use this function module, u2018SO_NEW_DOCUMENT_SEND_API1u2019.

This works in background.

I guess this will serve the purpose

regards

prashanti

2 REPLIES 2

Former Member
0 Kudos

Hi,

It will work in the background, check that the user who is running the background job has an email address in SU01.

Regards,

Darren

Former Member
0 Kudos

hi admonty,

Use this function module, u2018SO_NEW_DOCUMENT_SEND_API1u2019.

This works in background.

I guess this will serve the purpose

regards

prashanti