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: 

Tracking Error in senting mail through SO_DOCUMENT_SEND_API1

Former Member
0 Kudos

Hi Gurus,

I am using the FM SO_DOCUMENT_SEND_API1 to sent mails via custom programs. In many cases, when email id's does not exist or mailbox full for the receipient ID, it is throwing error in SCOT. Is there any option through which I can track those mail id's which are failed from sending successfully in my program. Please advice.

Regards,

Harish Haridas.

2 REPLIES 2

Former Member
0 Kudos

If you have 3 recipients passed through RECEIVERS table to the function - then at the end of the function call - if the RECEIVERS table would contain only the successful receivers. Hence by comparing a before and after snapshot of the RECEIVERS table - you'll be able to identify which are the failed receivers.

Edited by: Aditya Laud on Mar 22, 2011 6:15 AM

0 Kudos

HI.. I have tried this... but after executing the FM, all mail id's are still in receivers (including successfully sent and error mails)