<?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: Error in sending email in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861374#M1475804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not to catch exception , but to see why is it getting raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So why don't you debug it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 13:19:41 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2010-04-29T13:19:41Z</dc:date>
    <item>
      <title>Error in sending email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861371#M1475801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting this exception when i am using the below code to send email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" Add recipient (e-mail address)&lt;/P&gt;&lt;P&gt;        MOVE cl_cam_address_bcs=&amp;gt;create_internet_address( &amp;lt;fs_recipients&amp;gt;-address )&lt;/P&gt;&lt;P&gt;        TO w_recipient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" Add recipient with its respective attributes to send request&lt;/P&gt;&lt;P&gt;        CALL METHOD w_send_request-&amp;gt;add_recipient&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            i_recipient  = w_recipient&lt;/P&gt;&lt;P&gt;            i_express    = &amp;lt;fs_recipients&amp;gt;-express&lt;/P&gt;&lt;P&gt;            i_copy       = &amp;lt;fs_recipients&amp;gt;-copy&lt;/P&gt;&lt;P&gt;            i_blind_copy = &amp;lt;fs_recipients&amp;gt;-blind_copy&lt;/P&gt;&lt;P&gt;            i_no_forward = &amp;lt;fs_recipients&amp;gt;-no_forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" Set send immediately flag&lt;/P&gt;&lt;P&gt;      w_send_request-&amp;gt;set_send_immediately( c_x ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" Send document&lt;/P&gt;&lt;P&gt;      CALL METHOD w_send_request-&amp;gt;send( ).&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Only Email address is passed to the method cl_cam_address_bcs=&amp;gt;create_internet_address , it generates a exception 'CX_ADDRESS_BCS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange , it works for one email id and does not work for the other. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the reason. How to solve it?? Or is any other method there in same class to add recepients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to get useful answers asap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bijal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 12:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861371#M1475801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-29T12:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error in sending email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861372#M1475802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bijal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this structure to catch the exception below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_addr_exception TYPE REF TO cx_address_bcs,   " Address Exception &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY. &lt;/P&gt;&lt;P&gt;CATCH cx_address_bcs INTO l_addr_exception. &lt;/P&gt;&lt;P&gt;ENDTRY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore this way you can catch the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Md Ziauddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 12:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861372#M1475802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-29T12:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in sending email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861373#M1475803</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;The problem is not to catch exception , but to see why is it getting raised. Since its working for one email id and not for the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 13:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861373#M1475803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-29T13:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in sending email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861374#M1475804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not to catch exception , but to see why is it getting raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So why don't you debug it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 13:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-sending-email/m-p/6861374#M1475804</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-04-29T13:19:41Z</dc:date>
    </item>
  </channel>
</rss>

