<?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 Re: Send mail in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349814#M175559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;just check whether valid RFC destination exists for your mail sever using SM59.Also check with your BASIS in this regard..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2006 18:18:39 GMT</pubDate>
    <dc:creator>abdul_hakim</dc:creator>
    <dc:date>2006-06-06T18:18:39Z</dc:date>
    <item>
      <title>Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349813#M175558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a program to mail an text attachment to an external mail id. I can see the mail in the SAP outbox, but the mail hasn't reached the recepient. Even if I see in so02 I can see it as Document sent. How do I check wether it has been failed or not. Even the fm returns 0.&lt;/P&gt;&lt;P&gt;I am not sure if any ntework issues will hamper the mail.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349813#M175558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349814#M175559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;just check whether valid RFC destination exists for your mail sever using SM59.Also check with your BASIS in this regard..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349814#M175559</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-06T18:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349815#M175560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the status of the send mail in transaction SOST, if SMTP no configured, configure in SCON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u've used SO_NEW_DOCUMENT_SEND_API1 to send mail, make sure Commit work parameter set to X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sridhar k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349815#M175560</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-06-06T18:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349816#M175561</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;see the code below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_data              = document_data &lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work                = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      packing_list               = it_packing_list&lt;/P&gt;&lt;P&gt;      contents_txt               = it_contents_txt&lt;/P&gt;&lt;P&gt;      contents_bin               = it_contents_bin&lt;/P&gt;&lt;P&gt;      receivers                  = it_receivers&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      OTHERS                     = 99.&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, just write the SUBMIT after the SY_SUBRC.&lt;/P&gt;&lt;P&gt;or else you need to check the SCOT trnsaction code wether the Mail has delived or not, so instead of the SCOT , just write the line which is in BOLD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this if you got answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349816#M175561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349817#M175562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if RECEIVER-RETRN_CODE = 0 or not after the function module.&lt;/P&gt;&lt;P&gt;Also check if the exception DOCUMENT_NOT_SENT is being raised or not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349817#M175562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349818#M175563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; I hope your SMTP is not configured&lt;/P&gt;&lt;P&gt;  Go to tcode SCOT&lt;/P&gt;&lt;P&gt;  Choose the node SMTP &lt;/P&gt;&lt;P&gt;   There configure the relevant data &lt;/P&gt;&lt;P&gt;  Next  in INTERNET button,&lt;/P&gt;&lt;P&gt;enter the domains to which u can send mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349818#M175563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349819#M175564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In many development and test ambients mail delivery is closed, becose users caould recieve mails when you are testing your programs. If that is the case, a SUBMIT like Sudheer says could be really dangerous... all the stopped mails will be sended.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349819#M175564</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-06-06T18:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Send mail</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349820#M175565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peluka, Thank you very much for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of you thank you very much for the quick and prompt responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 18:39:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-mail/m-p/1349820#M175565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T18:39:40Z</dc:date>
    </item>
  </channel>
</rss>

