<?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 how to format text in SAS email body, bulk e-mails via proc import in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406502#M19657</link>
    <description>&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Hallo,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;I can't find out how I can format tekst in my email body, that I send by program below.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Some words need to be bold or italic.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;I tried ods escapechar='^';, but it doesn't work without ods pdf/rtf&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Thanks a lot for the respons,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Svetlana&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 13:19:36 GMT</pubDate>
    <dc:creator>sjughent</dc:creator>
    <dc:date>2017-10-23T13:19:36Z</dc:date>
    <item>
      <title>how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406502#M19657</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Hallo,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;I can't find out how I can format tekst in my email body, that I send by program below.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Some words need to be bold or italic.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;I tried ods escapechar='^';, but it doesn't work without ods pdf/rtf&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Thanks a lot for the respons,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="2"&gt;Svetlana&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406502#M19657</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2017-10-23T13:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406508#M19658</link>
      <description>&lt;P&gt;Please post your code in a suitable subwindow (see &lt;A href="https://communities.sas.com/t5/help/faqpage/faq-category-id/posting" target="_blank"&gt;https://communities.sas.com/t5/help/faqpage/faq-category-id/posting&lt;/A&gt;), or as a .sas file attachment.&lt;/P&gt;
&lt;P&gt;DO NOT EVER store SAS code in a Word document, as Word (or similar word processors) will do funny things with your code that can cause errors or make it un-runnable.&lt;/P&gt;
&lt;P&gt;On top of that, MS Office files are considered dangerous and therefore blocked against download from the 'net by many firewalls.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406508#M19658</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-23T13:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406509#M19659</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT= WORK.MELIJSTEN 
            DATAFILE= "S:\cpvokug\DMSJ\bulk_mail\1710_laboranten mailing\1710_lijst om mails te versturen.xls" 
            DBMS=xls REPLACE;
     SHEET="Blad1"; 
     GETNAMES=YES;
     RUN;
options emailsys=smtp emailhost=smtp.ugent.be emailid="CvKO.Gent@bevolkingsonderzoek.be" emailport=25;
FILENAME mail EMAIL;
data _null_ ;
FILE mail;
PUT '!EM_TO!' EMAIL_test; * email 'TO' adres, 'email1' verwijst naar variabele in file Lijst_screening;
PUT '!EM_BCC!' EMAILBCC_test; * email 'BCC' adres;
PUT '!EM_FROM!' "Centrum voor Kankeropsporing Afdeling Gent. &amp;lt;CvKO.Gent@bevolkingsonderzoek.be&amp;gt;";
PUT '!EM_REPLYTO!' EMAIL_REPLY;
PUT '!EM_SUBJECT!' 'aanpassen? info laborant ' ; * dit komt in het onderwerp van de mail;
*PUT '!EM_ATTACH!' ATTCH ; * attachment bijvoegen;
* Hieronder de tekst van het emailbericht;
PUT 'Beste,' ;
put;
put 'In Heracles (of bij het opstellen van de xml) moet u aangeven wie de screeningsmammografie genomen heeft. Indien het de eerste lezer zelf is, hoeft u niets extra in te vullen. Als het om een laborant gaat moet u initialen/naam invullen. ';
put;
put 'In bijlage vindt u een lijst waarop alle initialen/namen staan die in 2015-2016 door uw ME zijn ingevuld. Let erop dat éénzelfde letter kan leiden tot twee verschillende namen omdat hoofdletter en een kleine letter een aparte betekenis hebben. ' ;
put 'Bv: MvB is een andere code dan MVB, en bv "dirk" wordt apart gezien van "Dirk". ' ;
put;
put 'Door u te doen:';
put '1) kunt u per initiaal de voornaam van die persoon invullen in de kolom "voornaam", en de achternaam van die persoon invullen in de kolom "achternaam"? Als u het niet weet, noteert u "onbekend".';
put "2) kunt u in de kolom 'actief' een 'x' zetten als die persoon nu of in de nabije toekomst de foto's zal nemen? Het zal in de toekomst namelijk een drop-down veld worden ipv een vrij veld. We zullen de volledige naam van die persoon dan voorzien in Heracles/vragen te voorzien in de xml software. Als u iemand niet terug vindt in de lijst van initialen, dan mag u die helemaal onderaan toevoegen. ";
put '3) de lijst lokaal saven en naar dit email adres terugsturen (als reply, zonder het onderwerp van de email te veranderen),  ten laatste 10/11/17.';
put;
put;
put 'Met vriendelijke groeten,';
put;
put '?wie';
put '?wie';
put 'WWW.BEVOLKINGSONDERZOEK.BE';
put;
put;
put '!EM_SEND!' / '!EM_NEWMSG!';
if eof then put '!EM_ABORT!';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 10:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406509#M19659</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2017-10-24T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406516#M19660</link>
      <description>&lt;P&gt;Use HTML:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings10/060-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/060-2010.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Page 4 of 8 is most helpful.&amp;nbsp; Please also use the search functionality on the forum before posting, this exact question was asked last week.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406516#M19660</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-23T13:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406528#M19661</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;I'll try it now.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406528#M19661</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2017-10-23T13:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406862#M19663</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I read the article and tried to make adjustments to my SAS code. It looks like you need to create the HTML first and then you can send an email as text/html content type. Does it work also with the PUT Statement in STMP e-mail Interfase? All the examples I could find refer to FILENAME statement to send een e-mail. I use my code to send a bulk email&amp;nbsp;and I&amp;nbsp;use en PUT '!EM_XX! directive.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 09:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406862#M19663</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2017-10-24T09:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to format text in SAS email body, bulk e-mails via proc import</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406870#M19665</link>
      <description>&lt;P&gt;I am not clear on what you mean, the code below shows sending a html email, it doesn't generate any code, and uses put statements.&amp;nbsp; It also uses smtp system.&amp;nbsp; This is the normal method for sending emails, I have never heard of "&lt;SPAN&gt;PUT '!EM_XX! directive"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options emailsys=smtp emailhost=smtp.domain.com;
filename myemail email to="chuck.hunley@sas.com"
                       from="SAS Global Forum &amp;lt;sgf2010@sas.com&amp;gt;"
                       sender="SAS Global Forum &amp;lt;sgf2010@sas.com&amp;gt;"
                       subject="SAS Global Forum"
                       content_type="text/html";
data _null_;
 file myemail;
 put '&amp;lt;html&amp;gt;';
 put '&amp;lt;head&amp;gt;';
 put '&amp;lt;meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"&amp;gt;';
 put '&amp;lt;title&amp;gt;SAS Global Forum&amp;lt;/title&amp;gt;';
 put '&amp;lt;/head&amp;gt;';
 put '&amp;lt;body&amp;gt;';
 put '&amp;lt;b&amp;gt;';
 put '&amp;lt;span style="font-size: 12pt;';
 put 'font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;,&amp;amp;quot;serif&amp;amp;quot;;"&amp;gt;';
 put '&amp;lt;br&amp;gt;';
 put 'Welcome to SAS® Global Forum!';
 put '&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;';
 put '&amp;lt;img id="_x0000_i1025"';
 put 'src="http://www.sas.com/images/partners/2010_SGF_no_button.jpg"';
 put 'height="292" width="160"&amp;gt;';
 put '&amp;lt;/span&amp;gt;';
 put '&amp;lt;/b&amp;gt;';
 put '&amp;lt;/body&amp;gt;';
 put '&amp;lt;/html&amp;gt;';
run;
filename myemail clear;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 09:53:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/m-p/406870#M19665</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-24T09:53:00Z</dc:date>
    </item>
  </channel>
</rss>

