<?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: Iterative mail in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641708#M191312</link>
    <description>This is definitely possible with SAS.  Please post the code you have tried (along with sample data) and describe what is going wrong.  If you're not sure where to start, I would try searching user group papers over at lexjansen.com; there will be plenty of papers that present ways to send email from SAS.</description>
    <pubDate>Tue, 21 Apr 2020 18:33:14 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2020-04-21T18:33:14Z</dc:date>
    <item>
      <title>Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641705#M191310</link>
      <description>I have a data with their performances with different students i want to send mail to each one individually to thier email ids and to their parents</description>
      <pubDate>Tue, 21 Apr 2020 18:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641705#M191310</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-21T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641708#M191312</link>
      <description>This is definitely possible with SAS.  Please post the code you have tried (along with sample data) and describe what is going wrong.  If you're not sure where to start, I would try searching user group papers over at lexjansen.com; there will be plenty of papers that present ways to send email from SAS.</description>
      <pubDate>Tue, 21 Apr 2020 18:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641708#M191312</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-21T18:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641716#M191318</link>
      <description>Data is as posted above i want to semd the data individually to student 1 and 2</description>
      <pubDate>Tue, 21 Apr 2020 19:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641716#M191318</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-21T19:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641717#M191319</link>
      <description>&lt;P&gt;Sorry, I don't see data or code in your message.&amp;nbsp; I only see one sentence.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 19:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641717#M191319</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-21T19:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641722#M191320</link>
      <description>Data is like&lt;BR /&gt;Stntid name marks email fatheremail&lt;BR /&gt;123 abc 78 123.gmail fath1.gmail&lt;BR /&gt;234 bcd 98 234.yahoo fath2.yahoo</description>
      <pubDate>Tue, 21 Apr 2020 19:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641722#M191320</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-21T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641831#M191374</link>
      <description>&lt;P&gt;Please find the attachment of the requirement to give a better solution&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 07:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641831#M191374</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-22T07:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641890#M191412</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please post the code you have tried and describe what is going wrong.&amp;nbsp; &amp;nbsp;FYI, many people won't read attachments, due to their ability to spread malware.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641890#M191412</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-22T11:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641916#M191422</link>
      <description>I have assigned a sno and linked a do loop with number, email script is next to that, snapshot format but it is not working&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641916#M191422</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-22T13:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641962#M191443</link>
      <description>&lt;P&gt;Sorry, if you're unable to share your code, it's too hard to help figure out what is going wrong.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For tips on how to write a clear question that makes it easier for others to help you, please see these&amp;nbsp; articles:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Support-Communities/How-to-ask-a-good-question-and-receive-a-fast-reply/ta-p/417192" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Support-Communities/How-to-ask-a-good-question-and-receive-a-fast-reply/ta-p/417192&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Getting-Started/How-to-get-fast-helpful-answers/ta-p/226133" target="_blank"&gt;https://communities.sas.com/t5/Getting-Started/How-to-get-fast-helpful-answers/ta-p/226133&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/641962#M191443</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-22T14:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/642002#M191460</link>
      <description>&lt;P&gt;Firstly i have data as&amp;nbsp;&lt;/P&gt;&lt;P&gt;sno name marks email fatheremail&lt;/P&gt;&lt;P&gt;1 abc 95 xxx.gmail fxxx.gmail&lt;/P&gt;&lt;P&gt;2 bcd 65 yyy.gmail fyyy.gmail&lt;/P&gt;&lt;P&gt;3 cda 57 zzz.gmail fzzz.gmail&lt;/P&gt;&lt;P&gt;1st step:&lt;/P&gt;&lt;P&gt;data snap;&lt;/P&gt;&lt;P&gt;set Work.data;&lt;/P&gt;&lt;P&gt;do i=1 to 3 by 1&lt;/P&gt;&lt;P&gt;/*mailer code starts*/&lt;/P&gt;&lt;P&gt;file name message email to =('email')&lt;/P&gt;&lt;P&gt;cc=(fatheremail)&lt;/P&gt;&lt;P&gt;subject= marks&lt;/P&gt;&lt;P&gt;CT="Text/HTML";&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods html body = message rs= none style=normal;&lt;/P&gt;&lt;P&gt;/*body of email*/&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;title j=left height 11pt clolour black font=""&lt;/P&gt;&lt;P&gt;Quit;&lt;/P&gt;&lt;P&gt;Proc Tabulate&lt;/P&gt;&lt;P&gt;Data=work.snap;&lt;/P&gt;&lt;P&gt;var&lt;/P&gt;&lt;P&gt;class&lt;/P&gt;&lt;P&gt;marks* sum*F = BESTX12.&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;footnote;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the program i am using but getting an error as do loop is not completed&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:49:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/642002#M191460</guid>
      <dc:creator>Rajeshganta</dc:creator>
      <dc:date>2020-04-22T15:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative mail</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/642013#M191467</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several problems with your code.&amp;nbsp; Instead of writing the whole thing at once, I would develop it in steps, e.g.:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Code to send one email with "hello".&lt;/LI&gt;
&lt;LI&gt;Code to generate the HTML report you want (PROC TABULATE, or whatever).&lt;/LI&gt;
&lt;LI&gt;Code to send one email with a custom HTML report in the body.&lt;/LI&gt;
&lt;LI&gt;Code to read a dataset and send multiple emails&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I would suggest looking at user group papers for examples, this one looked handy:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/038-2008.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/038-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 16:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Iterative-mail/m-p/642013#M191467</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-22T16:54:43Z</dc:date>
    </item>
  </channel>
</rss>

