<?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: Duplicate table in email letter in attachment as PDF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487697#M21473</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/180116"&gt;@DavidBesaev&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;My general rule of thumb is: It shouldn't take me longer to answer a question than it should take you to formulate the question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So yes, such things can be done. I'd question though why would you want to do this. ODS allows you to write output to multiple output destinations. ....and now I've spent already more time answering your question than you spent asking the question so I'm stopping right here.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 10:23:13 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2018-08-17T10:23:13Z</dc:date>
    <item>
      <title>Duplicate table in email letter in attachment as PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487011#M21463</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I duplicate my few reports (proc report)&amp;nbsp; in email body and like &lt;SPAN&gt;attachment pdf? mayby you know some examples? I find only like attachment or in body messege, bot not both together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thx for help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 14:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487011#M21463</guid>
      <dc:creator>DavidBesaev</dc:creator>
      <dc:date>2018-08-15T14:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate table in email letter in attachment as PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487697#M21473</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/180116"&gt;@DavidBesaev&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;My general rule of thumb is: It shouldn't take me longer to answer a question than it should take you to formulate the question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So yes, such things can be done. I'd question though why would you want to do this. ODS allows you to write output to multiple output destinations. ....and now I've spent already more time answering your question than you spent asking the question so I'm stopping right here.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:23:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487697#M21473</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-08-17T10:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate table in email letter in attachment as PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487720#M21474</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;Thank you for answer! Good rule &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;One more little question: is it done on the date step?&lt;/P&gt;&lt;P&gt;How to put this doc (or pdf) file in the body of the letter in this case, if possible?&lt;/P&gt;&lt;P&gt;Like example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;

file outmail to="wenjie_wang@merck.com"

subject="Sales Report"

attach="c:\reports\Sales Report.doc";

put 'Dear team,';

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 11:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487720#M21474</guid>
      <dc:creator>DavidBesaev</dc:creator>
      <dc:date>2018-08-17T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate table in email letter in attachment as PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487969#M21480</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/180116"&gt;@DavidBesaev&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Now I understand what you're trying to do. Have the attachment directly in the body of your mail.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 169px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22583i9824F9B9A99345C6/image-dimensions/169x237?v=v2" width="169" height="237" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I understand things this is only possible with RTF formatted emails and the "attachment" is actually no more a real email attachment defined via the attachment directive but it's an embedded object in RTF.&lt;/P&gt;
&lt;P&gt;So to get to this you would need to create such an RTF formatted message. You'll find docu and whitepapers how to generate and send RTF formatted emails but I haven't found any example for also embedding objects. I'd assume it can be done but will need a bit of work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Playing around in Outlook I haven't been able to have the exactly same pdf both within the body of the message and in the attachment line - so that's eventually something which can't work at all using Outlook.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your call if you want to spend the time for this. I probably wouldn't bother and just attach the file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 00:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/487969#M21480</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-08-18T00:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate table in email letter in attachment as PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/488617#M21486</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;Not quite, I need like at pic. below. I need it because not all devices correctly display the report in the letter and there is a need to duplicate in the PDF format. Thx for helping!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22673iF858B0137092ED37/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 15:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Duplicate-table-in-email-letter-in-attachment-as-PDF/m-p/488617#M21486</guid>
      <dc:creator>DavidBesaev</dc:creator>
      <dc:date>2018-08-21T15:05:22Z</dc:date>
    </item>
  </channel>
</rss>

