<?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: Insert PDF attachment into mail BODY in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845634#M36824</link>
    <description>&lt;P&gt;Thank you for your answer and your time. I tried to put ODS HTML but did not succeed in having a good output. So I will show it (in my first post my question was regarding formatting and the problem below is what I'm referring to - problem with borders).&lt;/P&gt;&lt;P&gt;My code that creates the PDF file consists &lt;STRONG&gt;only&lt;/STRONG&gt; of ODS TEXT statements and PROC REPORT (multiple). Nothing else, I checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current output looks like the attached file (an example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see there are borders around the text (ODS TEXT statements) but none for the tables (PROC REPORT part).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally, I would like these borders to disappear for the ODS TEXT part and get some borders for the PROC REPORT part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 09:55:30 GMT</pubDate>
    <dc:creator>mtrg92</dc:creator>
    <dc:date>2022-11-22T09:55:30Z</dc:date>
    <item>
      <title>Insert PDF attachment into mail BODY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845502#M36817</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to send a mail. In this mail,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have to send an attachment in the form of a PDF (it works, I used PROC REPORT and ODS PDF to create it in the same program).&lt;/LI&gt;&lt;LI&gt;In the second part, I need to have the exact same content (PDF) with the same format in the email. I'm trying to insert it after the filename statement.I tried it by writing ODS HTML statement and then putting the macro that generates the PDF. Unfortunately, the formatting is different from the one in the attached PDF. I guess the HTML formatting mixed up with PDF doesn't really work.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I would be interested in knowing what kind of options/statements I can use to have the same result/formatting for the attachment part and the body mail part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 17:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845502#M36817</guid>
      <dc:creator>mtrg92</dc:creator>
      <dc:date>2022-11-21T17:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Insert PDF attachment into mail BODY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845504#M36818</link>
      <description>&lt;P&gt;One approach would be to use both&amp;nbsp; ODS HTML and ODS PDF when you write the report.&amp;nbsp; So you write and HTML files and a PDF file. Then you can attach the PDF, and you could use the HTML file as the body of the email. Or insert the HTML into the body of the email.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 17:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845504#M36818</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-11-21T17:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert PDF attachment into mail BODY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845634#M36824</link>
      <description>&lt;P&gt;Thank you for your answer and your time. I tried to put ODS HTML but did not succeed in having a good output. So I will show it (in my first post my question was regarding formatting and the problem below is what I'm referring to - problem with borders).&lt;/P&gt;&lt;P&gt;My code that creates the PDF file consists &lt;STRONG&gt;only&lt;/STRONG&gt; of ODS TEXT statements and PROC REPORT (multiple). Nothing else, I checked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current output looks like the attached file (an example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see there are borders around the text (ODS TEXT statements) but none for the tables (PROC REPORT part).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally, I would like these borders to disappear for the ODS TEXT part and get some borders for the PROC REPORT part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 09:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845634#M36824</guid>
      <dc:creator>mtrg92</dc:creator>
      <dc:date>2022-11-22T09:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Insert PDF attachment into mail BODY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845649#M36826</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your question is about to how to add/remove borders, I suggest posting that as a new question.&amp;nbsp; When you post, please include full example code.&amp;nbsp; With an ODS PDF statement, ODS TEXT statement, and PROC REPORT.&amp;nbsp; You could use SASHELP.CLASS as a source, so that people can run your code.&amp;nbsp; That will make it easier for people to help you.&amp;nbsp; There are plenty of ODS experts here who should be able to help with that question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Q.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 12:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/845649#M36826</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-11-22T12:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert PDF attachment into mail BODY</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/848089#M36993</link>
      <description>Hello, forgot to answer but finally the problem was that I should use proc odstext instead of "PUT" statements. Thanks</description>
      <pubDate>Tue, 06 Dec 2022 11:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Insert-PDF-attachment-into-mail-BODY/m-p/848089#M36993</guid>
      <dc:creator>mtrg92</dc:creator>
      <dc:date>2022-12-06T11:46:26Z</dc:date>
    </item>
  </channel>
</rss>

