<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sending mail through sap program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690182#M1450937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            I trying to create program for sending mail through SAP. my program is &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG  LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.

*****Parameters

SELECTION-SCREEN BEGIN OF BLOCK ADDR WITH FRAME TITLE TEXT-001.

Parameters: p_rcvrI1 like RECLIST-RECEIVER OBLIGATORY.

Parameters: p_rcvrI2 like RECLIST-RECEIVER.

Parameters: p_rcvrI3 like RECLIST-RECEIVER.

Parameters: p_rcvrI4 like RECLIST-RECEIVER.

Parameters: p_rcvrI5 like RECLIST-RECEIVER.

SELECTION-SCREEN END   OF BLOCK ADDR.


skip.
SELECTION-SCREEN BEGIN OF BLOCK SUBJ WITH FRAME TITLE TEXT-002.
Parameters: p_subj like DOC_CHNG-OBJ_DESCR OBLIGATORY
default 'This is the subject line of the email'.

SELECTION-SCREEN END   OF BLOCK SUBJ.

SELECTION-SCREEN BEGIN OF BLOCK MSG WITH FRAME TITLE TEXT-003.
Parameters: p_txtL1 like OBJTXT OBLIGATORY
default 'This is the first line of msg'.
Parameters: p_txtL2 like OBJTXT
default 'This is  the second line of msg'.
Parameters: p_txtL3 like OBJTXT
default 'This is the third line of msg'.
Parameters: p_txtL4 like OBJTXT
default 'This is the fourth line of msg'.
Parameters: p_txtL5 like OBJTXT
default 'This is  the fifth line of msg'.
SELECTION-SCREEN END   OF BLOCK MSG.

*******CREATING A DOCUMENT,SUBJECT, and MESSAGE TEXT
* File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
* Mail Subject
DOC_CHNG-OBJ_DESCR = p_subj.
* Mail Contents
OBJTXT = p_txtL1.
APPEND OBJTXT.
OBJTXT = p_txtL2.
APPEND OBJTXT.
OBJTXT = p_txtL3.
APPEND OBJTXT.
OBJTXT = p_txtL4.
APPEND OBJTXT.
OBJTXT = p_txtL5.
APPEND OBJTXT.

DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).

* Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.



******CREATING THE MAILING LIST
* Receiver = Internet Mail Account
RECLIST-RECEIVER = p_rcvrI1.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.
RECLIST-RECEIVER = p_rcvrI2.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

RECLIST-RECEIVER = p_rcvrI3.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

RECLIST-RECEIVER = p_rcvrI4.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.
RECLIST-RECEIVER = p_rcvrI5.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

*Receiver = SAP Mail User
*RECLIST-RECEIVER = p_rcvrS2.
*RECLIST-REC_TYPE = 'P'.
*APPEND RECLIST.

******SENDING THE DOCUMENT



CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
     EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
     TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
     EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.


  WRite: / 'Address List ************'.
  skip.
   Write: / 'Address 1',p_rcvrI1.
    Write: / 'Address 2',p_rcvrI2.
     Write: / 'Address 3',p_rcvrI3.
      Write: / 'Address 4',p_rcvrI4.
       Write: / 'Address 5',p_rcvrI5.

skip.
CASE SY-SUBRC.
   WHEN 0.
    WRITE: / 'Result of the send process  **********'.
skip.

*LOOP AT RECLIST.
*   WRITE: / reclist-REC_ID,reclist-REC_DATE,reclist-retrn_CODE,
*RECLIST-RECEIVER(48).


*  IF RECLIST-RETRN_CODE = 0.
*     WRITE 'No Errors'.
*  ELSE.
*     WRITE 'The document could not be sent'.
*ENDIF.

*ENDLOOP.

WHEN 1.
   WRITE: / 'No authorization for sending to the specified number',
            'of recipients'.

WHEN 2.
   WRITE: / 'Document could not be sent to any recipient'.

WHEN 4.
   WRITE: / 'No send authorization'.

WHEN OTHERS.
   WRITE: / 'Error occurred while sending'.

ENDCASE.



Skip.Skip.

Write:/ 'Mail Message ******** '.
skip.
    Write:/10  p_subj.
    skip.
    Write:/10 'Message Content'.
        skip.
        Write:/10 p_txtL1.
        Write:/10 P_txtL2.
        Write:/10 P_txtL3.
        Write:/10 P_txtL4.
        Write:/10 P_txtL5.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is there any configuration for this. thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Mar 2010 05:53:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-22T05:53:31Z</dc:date>
    <item>
      <title>sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690182#M1450937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            I trying to create program for sending mail through SAP. my program is &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG  LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.

*****Parameters

SELECTION-SCREEN BEGIN OF BLOCK ADDR WITH FRAME TITLE TEXT-001.

Parameters: p_rcvrI1 like RECLIST-RECEIVER OBLIGATORY.

Parameters: p_rcvrI2 like RECLIST-RECEIVER.

Parameters: p_rcvrI3 like RECLIST-RECEIVER.

Parameters: p_rcvrI4 like RECLIST-RECEIVER.

Parameters: p_rcvrI5 like RECLIST-RECEIVER.

SELECTION-SCREEN END   OF BLOCK ADDR.


skip.
SELECTION-SCREEN BEGIN OF BLOCK SUBJ WITH FRAME TITLE TEXT-002.
Parameters: p_subj like DOC_CHNG-OBJ_DESCR OBLIGATORY
default 'This is the subject line of the email'.

SELECTION-SCREEN END   OF BLOCK SUBJ.

SELECTION-SCREEN BEGIN OF BLOCK MSG WITH FRAME TITLE TEXT-003.
Parameters: p_txtL1 like OBJTXT OBLIGATORY
default 'This is the first line of msg'.
Parameters: p_txtL2 like OBJTXT
default 'This is  the second line of msg'.
Parameters: p_txtL3 like OBJTXT
default 'This is the third line of msg'.
Parameters: p_txtL4 like OBJTXT
default 'This is the fourth line of msg'.
Parameters: p_txtL5 like OBJTXT
default 'This is  the fifth line of msg'.
SELECTION-SCREEN END   OF BLOCK MSG.

*******CREATING A DOCUMENT,SUBJECT, and MESSAGE TEXT
* File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
* Mail Subject
DOC_CHNG-OBJ_DESCR = p_subj.
* Mail Contents
OBJTXT = p_txtL1.
APPEND OBJTXT.
OBJTXT = p_txtL2.
APPEND OBJTXT.
OBJTXT = p_txtL3.
APPEND OBJTXT.
OBJTXT = p_txtL4.
APPEND OBJTXT.
OBJTXT = p_txtL5.
APPEND OBJTXT.

DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).

* Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.



******CREATING THE MAILING LIST
* Receiver = Internet Mail Account
RECLIST-RECEIVER = p_rcvrI1.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.
RECLIST-RECEIVER = p_rcvrI2.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

RECLIST-RECEIVER = p_rcvrI3.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

RECLIST-RECEIVER = p_rcvrI4.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.
RECLIST-RECEIVER = p_rcvrI5.
RECLIST-REC_TYPE = 'U'.
if reclist-receiver NE ' '.
APPEND RECLIST.
endif.

*Receiver = SAP Mail User
*RECLIST-RECEIVER = p_rcvrS2.
*RECLIST-REC_TYPE = 'P'.
*APPEND RECLIST.

******SENDING THE DOCUMENT



CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
     EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
     TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
     EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.


  WRite: / 'Address List ************'.
  skip.
   Write: / 'Address 1',p_rcvrI1.
    Write: / 'Address 2',p_rcvrI2.
     Write: / 'Address 3',p_rcvrI3.
      Write: / 'Address 4',p_rcvrI4.
       Write: / 'Address 5',p_rcvrI5.

skip.
CASE SY-SUBRC.
   WHEN 0.
    WRITE: / 'Result of the send process  **********'.
skip.

*LOOP AT RECLIST.
*   WRITE: / reclist-REC_ID,reclist-REC_DATE,reclist-retrn_CODE,
*RECLIST-RECEIVER(48).


*  IF RECLIST-RETRN_CODE = 0.
*     WRITE 'No Errors'.
*  ELSE.
*     WRITE 'The document could not be sent'.
*ENDIF.

*ENDLOOP.

WHEN 1.
   WRITE: / 'No authorization for sending to the specified number',
            'of recipients'.

WHEN 2.
   WRITE: / 'Document could not be sent to any recipient'.

WHEN 4.
   WRITE: / 'No send authorization'.

WHEN OTHERS.
   WRITE: / 'Error occurred while sending'.

ENDCASE.



Skip.Skip.

Write:/ 'Mail Message ******** '.
skip.
    Write:/10  p_subj.
    skip.
    Write:/10 'Message Content'.
        skip.
        Write:/10 p_txtL1.
        Write:/10 P_txtL2.
        Write:/10 P_txtL3.
        Write:/10 P_txtL4.
        Write:/10 P_txtL5.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is there any configuration for this. thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 05:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690182#M1450937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T05:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690183#M1450938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; as your receipent is an external user, you have to make some settings in SCOT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 06:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690183#M1450938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T06:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690184#M1450939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jaya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Can you telme the navigation . I just gone through SDN . I did't find solution. thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 06:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690184#M1450939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T06:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690185#M1450940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSAPMAIL NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: DRAD,&lt;/P&gt;&lt;P&gt;        QINF,&lt;/P&gt;&lt;P&gt;        DRAW,&lt;/P&gt;&lt;P&gt;        SOUC,&lt;/P&gt;&lt;P&gt;        SOFD,&lt;/P&gt;&lt;P&gt;        DRAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: P_RETURN_CODE LIKE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: d_username LIKE DRAP-PRNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;mail declarations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : BEGIN OF NEW_OBJECT_ID.         " the newly created email object&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOODK.&lt;/P&gt;&lt;P&gt;DATA : END OF NEW_OBJECT_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF FOLDER_ID.             " the folder id of the outbox&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOODK.&lt;/P&gt;&lt;P&gt;DATA : END OF FOLDER_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF REC_TAB OCCURS 5.     " the table which will contain the&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOOS1.       " information on the destination&lt;/P&gt;&lt;P&gt;DATA : END OF REC_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF OBJECT_HD_CHANGE.      " the table which contains the&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOOD1.       " info for the object we will be&lt;/P&gt;&lt;P&gt;DATA : END OF OBJECT_HD_CHANGE.        " creating&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : OBJECT_TYPE LIKE SOOD-OBJTP.    " the type of object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF OBJHEAD OCCURS 5.      " the header of the object&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOLI.&lt;/P&gt;&lt;P&gt;DATA : END OF OBJHEAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF OBJCONT OCCURS 0.      " the contents of the object&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOLI.        " i.e. the text etc&lt;/P&gt;&lt;P&gt;DATA : END OF OBJCONT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF OBJPARA OCCURS 5.      " formatting options&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SELC.&lt;/P&gt;&lt;P&gt;DATA : END OF OBJPARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF OBJPARB OCCURS 5.      " formatting options&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE SOOP1.&lt;/P&gt;&lt;P&gt;DATA : END OF OBJPARB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF T_MAIL_TEXT OCCURS 0,  "Message table for messages to&lt;/P&gt;&lt;P&gt;        STRING(255),                   "user via mailbox&lt;/P&gt;&lt;P&gt;       END OF T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: p_uname like sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;**START-OF-SELECTION&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;    d_username = p_uname.&lt;/P&gt;&lt;P&gt;    PERFORM POPULATE_EMAIL_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.&lt;/P&gt;&lt;P&gt;    PERFORM CREATE_AND_SEND_MAIL_OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM POPULATE_EMAIL_TEXT                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Inserts text for email message                                *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM POPULATE_EMAIL_TEXT.&lt;/P&gt;&lt;P&gt;  CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; adds failed list  on to end of success list.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  T_MAIL_TEXT-STRING = 'Test email message line 1'.&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;  T_MAIL_TEXT-STRING = 'Test email message line 1'.&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;  CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;  T_MAIL_TEXT-STRING = 'Header1    Header2    Header3'.&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;  T_MAIL_TEXT-STRING = '----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;    -&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;    -&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;'.&lt;/P&gt;&lt;P&gt;  APPEND T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SETUP_TRX_&amp;amp;_RTX_MAILBOXES&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Ensure that the mailboxes of the sender (INTMGR) are set up OK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the user no of the sender in order to add the mail to the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;user name's outbox for future reference&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE * FROM SOUC&lt;/P&gt;&lt;P&gt;           WHERE SAPNAM = SY-UNAME.    "SAP name of a SAPoffice user&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    "Error finding the SAPoffice user info for the user&lt;/P&gt;&lt;P&gt;    MESSAGE E064(ZR53) WITH SY-UNAME.&lt;/P&gt;&lt;P&gt;    P_RETURN_CODE = 1.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*Get the outbox No for the sender from the user No where the folder&lt;/P&gt;&lt;P&gt;                                       " type is an outbox&lt;/P&gt;&lt;P&gt;  SELECT * FROM SOFD WHERE OWNTP = SOUC-USRTP   "Owner type from ID&lt;/P&gt;&lt;P&gt;                       AND OWNYR = SOUC-USRYR   "Owner year from the ID&lt;/P&gt;&lt;P&gt;                       AND OWNNO = SOUC-USRNO   "Owner number from the I&lt;/P&gt;&lt;P&gt;                       AND FOLRG = 'O'."Output box&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    " Error getting folder information for the user&lt;/P&gt;&lt;P&gt;    MESSAGE E065(ZR53) WITH SY-UNAME.&lt;/P&gt;&lt;P&gt;    P_RETURN_CODE = 1.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                               " SETUP_TRX_&amp;amp;_RTX_MAILBOXES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  CREATE_AND_SEND_MAIL_OBJECT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM CREATE_AND_SEND_MAIL_OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FOLDER_ID-OBJTP = SOFD-FOLTP.        " the folder type ( usually FOL )&lt;/P&gt;&lt;P&gt;  FOLDER_ID-OBJYR = SOFD-FOLYR.        " the folder year ( usually 22 )&lt;/P&gt;&lt;P&gt;  FOLDER_ID-OBJNO = SOFD-FOLNO.        " the folder no.&lt;/P&gt;&lt;P&gt;  OBJECT_TYPE     = 'RAW'.             " the type of object being added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;build up the object information for creating the object&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  OBJECT_HD_CHANGE-OBJLA  = SY-LANGU.  " the language of the email&lt;/P&gt;&lt;P&gt;  OBJECT_HD_CHANGE-OBJNAM = 'PS to DM Interface'. " the object name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;mail subject 'Mass Linking of QA, pass/fail'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  MOVE TEXT-002 TO OBJECT_HD_CHANGE-OBJDES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OBJECT_HD_CHANGE-DLDAT = SY-DATUM.   " the date of the email&lt;/P&gt;&lt;P&gt;  OBJECT_HD_CHANGE-DLTIM = SY-UZEIT.   " the time of the email&lt;/P&gt;&lt;P&gt;  OBJECT_HD_CHANGE-OBJPRI = '1'.       " the priority ( highest )&lt;/P&gt;&lt;P&gt;  OBJECT_HD_CHANGE-OBJSNS = 'F'.       " the object sensitivity&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F is functional, C - company sensitive&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;object_hd_change-skips  = ' '.       " Skip first screen&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;object_hd_change-acnam  = 'SM35'.    " Batch imput transaction&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;object_hd_change-vmtyp  = 'T'.       " Transaction type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add the text lines into the contents of the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR OBJCONT.&lt;/P&gt;&lt;P&gt;  REFRESH OBJCONT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; free objcont.      " added this to delete the mail contents records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT T_MAIL_TEXT.&lt;/P&gt;&lt;P&gt;    OBJCONT-LINE = T_MAIL_TEXT-STRING.&lt;/P&gt;&lt;P&gt;    APPEND OBJCONT.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  CLEAR OBJCONT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;build up the table of receivers for the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-RCDAT = SY-DATUM.            " the date to send the email&lt;/P&gt;&lt;P&gt;  REC_TAB-RCTIM = SY-UZEIT.            " the time to send the email&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the SAP username of the person who will receive the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-RECNAM = D_USERNAME.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user type of the person who will send the email ( USR )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDTP = SOUC-USRTP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user year of the person who will send the email ( 22 )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDYR = SOUC-USRYR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user number of the person who will send the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDNO = SOUC-USRNO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the sap username of the person who will send the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDNAM = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the user info for the receiver of the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE * FROM SOUC WHERE SAPNAM = D_USERNAME.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    WRITE : / TEXT-001, D_USERNAME.    "usnam.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user number of the person who will receive the email ( USR )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-RECNO = SOUC-USRNO.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user type of the person who will receive the email ( USR )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-RECTP = SOUC-USRTP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the user year of the person who will receive the email ( USR )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-RECYR = SOUC-USRYR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the priority of the email ( highest )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDPRI = '1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check for delivery on the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-DELIVER = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;send express so recipient knows there is a problem&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-SNDEX = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;check for a return receipt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-READ = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;the sap username of the person receiving the email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  REC_TAB-ADR_NAME = D_USERNAME.       "usnam.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add this receiver to the internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  APPEND REC_TAB.&lt;/P&gt;&lt;P&gt;  CLEAR REC_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;call the function to create the object in the outbox of the sender&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SO_OBJECT_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            FOLDER_ID                  = FOLDER_ID&lt;/P&gt;&lt;P&gt;            OBJECT_HD_CHANGE           = OBJECT_HD_CHANGE&lt;/P&gt;&lt;P&gt;            OBJECT_TYPE                = OBJECT_TYPE&lt;/P&gt;&lt;P&gt;            OWNER                      = SY-UNAME&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            OBJECT_ID                  = NEW_OBJECT_ID&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            OBJCONT                    = OBJCONT&lt;/P&gt;&lt;P&gt;            OBJHEAD                    = OBJHEAD&lt;/P&gt;&lt;P&gt;            OBJPARA                    = OBJPARA&lt;/P&gt;&lt;P&gt;            OBJPARB                    = OBJPARB&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ACTIVE_USER_NOT_EXIST      = 1&lt;/P&gt;&lt;P&gt;            COMMUNICATION_FAILURE      = 2&lt;/P&gt;&lt;P&gt;            COMPONENT_NOT_AVAILABLE    = 3&lt;/P&gt;&lt;P&gt;            DL_NAME_EXIST              = 4&lt;/P&gt;&lt;P&gt;            FOLDER_NOT_EXIST           = 5&lt;/P&gt;&lt;P&gt;            FOLDER_NO_AUTHORIZATION    = 6&lt;/P&gt;&lt;P&gt;            OBJECT_TYPE_NOT_EXIST      = 7&lt;/P&gt;&lt;P&gt;            OPERATION_NO_AUTHORIZATION = 8&lt;/P&gt;&lt;P&gt;            OWNER_NOT_EXIST            = 9&lt;/P&gt;&lt;P&gt;            PARAMETER_ERROR            = 10&lt;/P&gt;&lt;P&gt;            SUBSTITUTE_NOT_ACTIVE      = 11&lt;/P&gt;&lt;P&gt;            SUBSTITUTE_NOT_DEFINED     = 12&lt;/P&gt;&lt;P&gt;            SYSTEM_FAILURE             = 13&lt;/P&gt;&lt;P&gt;            X_ERROR                    = 14&lt;/P&gt;&lt;P&gt;            OTHERS                     = 15.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE A063(ZR53) WITH SY-SUBRC.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;call the function to send the already created email to the receivers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            FOLDER_ID                  = FOLDER_ID&lt;/P&gt;&lt;P&gt;            OBJECT_ID                  = NEW_OBJECT_ID&lt;/P&gt;&lt;P&gt;            OUTBOX_FLAG                = 'X'&lt;/P&gt;&lt;P&gt;            OWNER                      = SY-UNAME&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            RECEIVERS                  = REC_TAB&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ACTIVE_USER_NOT_EXIST      = 1&lt;/P&gt;&lt;P&gt;            COMMUNICATION_FAILURE      = 2&lt;/P&gt;&lt;P&gt;            COMPONENT_NOT_AVAILABLE    = 3&lt;/P&gt;&lt;P&gt;            FOLDER_NOT_EXIST           = 4&lt;/P&gt;&lt;P&gt;            FOLDER_NO_AUTHORIZATION    = 5&lt;/P&gt;&lt;P&gt;            FORWARDER_NOT_EXIST        = 6&lt;/P&gt;&lt;P&gt;            NOTE_NOT_EXIST             = 7&lt;/P&gt;&lt;P&gt;            OBJECT_NOT_EXIST           = 8&lt;/P&gt;&lt;P&gt;            OBJECT_NOT_SENT            = 9&lt;/P&gt;&lt;P&gt;            OBJECT_NO_AUTHORIZATION    = 10&lt;/P&gt;&lt;P&gt;            OBJECT_TYPE_NOT_EXIST      = 11&lt;/P&gt;&lt;P&gt;            OPERATION_NO_AUTHORIZATION = 12&lt;/P&gt;&lt;P&gt;            OWNER_NOT_EXIST            = 13&lt;/P&gt;&lt;P&gt;            PARAMETER_ERROR            = 14&lt;/P&gt;&lt;P&gt;            SUBSTITUTE_NOT_ACTIVE      = 15&lt;/P&gt;&lt;P&gt;            SUBSTITUTE_NOT_DEFINED     = 16&lt;/P&gt;&lt;P&gt;            SYSTEM_FAILURE             = 17&lt;/P&gt;&lt;P&gt;            TOO_MUCH_RECEIVERS         = 18&lt;/P&gt;&lt;P&gt;            USER_NOT_EXIST             = 19&lt;/P&gt;&lt;P&gt;            X_ERROR                    = 20&lt;/P&gt;&lt;P&gt;            OTHERS                     = 21.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    MESSAGE I035(ZR53) WITH NEW_OBJECT_ID D_USERNAME. "usnam.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE I036(ZR53) WITH D_USERNAME."      sy-subrc.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                               " CREATE_AND_SEND_MAIL_OBJECT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 06:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690185#M1450940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T06:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690186#M1450941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; pls go through this link and take help from your BASIS team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[https://wiki.sdn.sap.com/wiki/display/Basis/SAP%20to%20send%20external%20mails]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 07:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690186#M1450941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T07:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690187#M1450942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to send mail to extranal  user like normal gmails .   I tried to program which mentioned in first.  solve my problem. thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 07:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690187#M1450942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T07:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail through sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690188#M1450943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that you have done all the settings related to config?&lt;/P&gt;&lt;P&gt;Pls go through this link for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8695483"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 07:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-mail-through-sap-program/m-p/6690188#M1450943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-22T07:22:13Z</dc:date>
    </item>
  </channel>
</rss>

