HI every body,
Please help me in sending mail to external mail id, below is my code, but i am getting 'successful message' but i am not getting mail to my address' please help me..in this
Points will be awarded for u r generous help.
REPORT ytest_vinesh22.
DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE.
start-of-selection.
receiver_list-recextnam = 'jogu_vinesh@yahoo.com'. "-->
RECEIVER_list-RECESC = 'E'. "<-
RECEIVER_list-SNDART = 'INT'."<-
RECEIVER_list-SNDPRI = '1'."<-
APPEND receiver_list.
APPEND 'Message content' TO message_content.
CALL FUNCTION 'SO_OBJECT_SEND'
TABLES
OBJCONT = message_content
RECEIVERS = receiver_list
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
ORIGINATOR_NOT_EXIST = 20
X_ERROR = 21
OTHERS = 22
.
IF sy-subrc <> 0.
message 'unsuccessful' type 'e'.
else.
message 'successful' type 'I'.
ENDIF.