Skip to Content
0
Former Member
Jan 18, 2006 at 10:37 AM

Error in Sending email :SO_NEW_DOCUMENT_SEND_API1

440 Views

Hiiiii Every1,

I m sending e-mail in Html format using the above mentioned FM.

CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'

EXPORTING

commit_work = 'X'

document_type = 'HTM'

document_data = doc_chng

put_in_outbox = 'X'

TABLES

object_header = objcont

object_content = objcont

receivers = reclist

EXCEPTIONS

too_many_receivers = 1

document_not_sent = 2

operation_no_authorization = 4

OTHERS = 99.

and sending it automatically using

SUBMIT rsconn01

WITH mode EQ 'INT'

AND RETURN.

What the error is that when i send e-mail what i have to check is that weather the the E-mail is sent from SOST or Not..If the Status of that e-mail is Delivered then i have to set a flag for sucess.

Else..Error Message.

How i can check weather is mail is delivered to recipent or Not even if SMTP is creating problem or due to any reason mail is not sent. I have to check.

Plz do reply as soon as Possible.

Thanks & Regards

-


Sachin Dhingra