<?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 Send a Single Mail with Multiple Attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-single-mail-with-multiple-attachment/m-p/810581#M41768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every One,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_DOCUMENT_SEND_API1 is the function Module used  to send a file as attachment with the mail.My requirement is to send more than one file as multiple attachments in the same mail. Is this Possible? and How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rajeev.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Aug 2004 06:32:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-08-25T06:32:32Z</dc:date>
    <item>
      <title>Send a Single Mail with Multiple Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-single-mail-with-multiple-attachment/m-p/810581#M41768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Every One,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_DOCUMENT_SEND_API1 is the function Module used  to send a file as attachment with the mail.My requirement is to send more than one file as multiple attachments in the same mail. Is this Possible? and How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rajeev.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2004 06:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-single-mail-with-multiple-attachment/m-p/810581#M41768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-25T06:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send a Single Mail with Multiple Attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-single-mail-with-multiple-attachment/m-p/810582#M41769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is possible.  This is what the packing_list parameter of this function module is for.  You put all of your content together into the contents_bin or the contents_txt (or a combination of both).  You then add an entry into the packing_list  table for each individual element.  Here is some code samples for filling in the packing_list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
          objpack-transf_bin = 'X'.
          objpack-head_start = body_counter.
          objpack-head_num   = 1.
          objpack-body_start = body_counter.
          objpack-body_num   = tab_lines.
          objpack-doc_type   = extention.
          objpack-obj_name   = objhead.
          move objhead to
                       objpack-obj_descr.

          body_counter = body_counter + tab_lines.

          objpack-doc_size   = tab_lines * 255.
          append objpack.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We keep a counter for each element.  We have to supply the starting position of each element and its total lenght.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2004 17:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-single-mail-with-multiple-attachment/m-p/810582#M41769</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2004-08-25T17:08:13Z</dc:date>
    </item>
  </channel>
</rss>

