<?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: Emailing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071366#M94902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done but not a good way to do as the user will have to be changed a number of times. Also there may be lock issues on user if your programs sending mails run in succession. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2005 05:06:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-11T05:06:05Z</dc:date>
    <item>
      <title>Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071353#M94889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;i am using FM &amp;lt;b&amp;gt;SO_NEW_DOCUMENT_ATT_SEND_API1&amp;lt;/b&amp;gt; for sending mails thru my ABAP Pgm, it works fine but it picks From Name automatically whichever is the login name is &lt;/P&gt;&lt;P&gt;like if i logon with asuppal then the mails comes from &amp;lt;b&amp;gt;asuppal@xxxx.com&amp;lt;/b&amp;gt;. can i update the From E-mail id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abhishek suppal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 11:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071353#M94889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T11:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071354#M94890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In SU3, update ur profile especially EMAIL ID.&lt;/P&gt;&lt;P&gt; Placing the correct email id in the profile will do!!&lt;/P&gt;&lt;P&gt; SAP picks this Email Id as the sender id in the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Allot points if the problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 12:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071354#M94890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071355#M94891</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;Use this FM &amp;lt;b&amp;gt; SO_USER_READ_API1 &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;For further helps, check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/sending-email-with-attachment.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sending-email-with-attachment.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to reward points, if answer is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 12:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071355#M94891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071356#M94892</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;Did you tried specifying explicitly for the parameters receiver as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_reclist-receiver = 'xyz@yahoo.com'.&lt;/P&gt;&lt;P&gt;i_reclist-express = 'X'.&lt;/P&gt;&lt;P&gt;i_reclist-rec_type = 'U'. "Internet address&lt;/P&gt;&lt;P&gt;APPEND i_reclist.&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;...&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;         ...&lt;/P&gt;&lt;P&gt;          receivers                  = i_reclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 12:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071356#M94892</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-11-10T12:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071357#M94893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually my many mails are schedule from one login and dift. programmes are made for that, then i want to set different E-mail ids for different mails how can i do that, if i set in SU03 then the mails will go from same id but i want different mails will go from different id's so that if the receiver receives the mail he can reply back to the correct id.&lt;/P&gt;&lt;P&gt;i hope u guys undertsand the req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abhishek suppal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Abhishek Suppal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 12:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071357#M94893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T12:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071358#M94894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;   As far as the program is run by the same user, the from address would be the same(the email given in SU03) only. &lt;/P&gt;&lt;P&gt;I did not understand, why should the from address email ID should be changing for different programs?&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>Thu, 10 Nov 2005 12:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071358#M94894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T12:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071359#M94895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ravi&lt;/P&gt;&lt;P&gt;as some mails have to be sent from customer id and some mails have to be sent from vendor id, yes but the pgms are all different.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abhishek suppal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 12:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071359#M94895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T12:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071360#M94896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;   I've checked in the FM SO_NEW_DOCUMENT_ATT_SEND_API1, how it is going about setting the from address. It, in turn calls a FM SO_OBJECT_SEND. &lt;/P&gt;&lt;P&gt;It has an importing parameter for sender. It is taking sy-uname as the default.&lt;/P&gt;&lt;P&gt;One work around is to create your own FM instead of &lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1 with a 'sender' parameter as well and pass that sender to SO_OBJECT_SEND inside your own FM.&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>Thu, 10 Nov 2005 13:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071360#M94896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T13:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071361#M94897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any clues ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 03:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071361#M94897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T03:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071362#M94898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SO_NEW_DOCUMENT_ATT_SEND_API1  you cannot set the sender email id to adifferent one than that of the SY-UNAME i.e. user running the program. Try SO_OBJECT_SEND instead as this has the desired capability . In fact SO_NEW_DOCUMENT_ATT_SEND_API1  uses SO_OBJECT_SEND to send mail .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 03:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071362#M94898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T03:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071363#M94899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not possible to change the 'From email id' when sending mails using FM SO_NEW_DOCUMENT_ATT_SEND_API1. This FM uses email address which is tied to the user that is executing the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But pls check out the FM SO_OBJECT_SEND. I think it can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 04:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071363#M94899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T04:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071364#M94900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this may help you.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FOLDER_ID                  = X_FOLDER_ID&lt;/P&gt;&lt;P&gt;      FORWARDER                  = X_FORWARDER&lt;/P&gt;&lt;P&gt;      OBJECT_FL_CHANGE           = X_OBJECT_FL_CHANGE&lt;/P&gt;&lt;P&gt;      OBJECT_HD_CHANGE           = X_OBJECT_HD_CHANGE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OBJECT_ID                  = X_OBJECT_ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      OBJECT_TYPE                = X_OBJECT_TYPE&lt;/P&gt;&lt;P&gt;      OUTBOX_FLAG                = ' '&lt;/P&gt;&lt;P&gt;      OWNER                      = X_OWNER&lt;/P&gt;&lt;P&gt;      STORE_FLAG                 = X_STORE_FLAG&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      OBJECT_ID_NEW              = OBJECT_ID_NEW&lt;/P&gt;&lt;P&gt;      SENT_TO_ALL                = SENT_TO_ALL&lt;/P&gt;&lt;P&gt;      OFFICE_OBJECT_KEY          = OFFICE_OBJECT_KEY&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      OBJCONT                    = OBJCONT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ATT_CONT                   = OBJCONT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      RECEIVERS                  = RECEIVERS&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;&lt;/P&gt;&lt;P&gt;Pls put the forwarder name in the parameter forwarder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 04:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071364#M94900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T04:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071365#M94901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we do one thing that before sending the Email the &lt;/P&gt;&lt;P&gt;SY-UNAME 's Email id be Changed by using BAPI BAPI_USER_CHANGE and then after sending the Email again resetting the same to the SY-UNAME, i haven't checked this thing but it just strikes my mind, can it be correct to do so .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 04:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071365#M94901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T04:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Emailing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071366#M94902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done but not a good way to do as the user will have to be changed a number of times. Also there may be lock issues on user if your programs sending mails run in succession. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 05:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/emailing/m-p/1071366#M94902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T05:06:05Z</dc:date>
    </item>
  </channel>
</rss>

