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

Tracking Error in senting mail through SO_DOCUMENT_SEND_API1

Former Member
0 Likes
539

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.

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
Read only

Former Member
0 Likes
487

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

Read only

0 Likes
487

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