<?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: help cipher can't create in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245299#M56138</link>
    <description>FILENAME outbox EMAIL ("***********");&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;FILE outbox&lt;BR /&gt;TO=("************")&lt;BR /&gt;FROM=("***********")&lt;BR /&gt;SUBJECT=("Example of a SAS E-mail" );&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "Hello Boss,";&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "Attached are the Daily Operational Reports.";&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "uu";&lt;BR /&gt;RUN;</description>
    <pubDate>Thu, 21 Jan 2016 21:05:23 GMT</pubDate>
    <dc:creator>RTelang</dc:creator>
    <dc:date>2016-01-21T21:05:23Z</dc:date>
    <item>
      <title>help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245281#M56132</link>
      <description>&lt;P&gt;here is my code to send mail but a error arises please help to solve it.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;55&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;56 %macro Frm_send_email(TO=,FROM=,SUBJECT=,ATTACHMENT=,BODY=);&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;57 %if &amp;amp;to ne %then&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;58 %let TO="&amp;amp;TO";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;59&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;60 %if &amp;amp;from ne %then&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;61 %let from=FROM="&amp;amp;FROM";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;62&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;63 %IF &amp;amp;SUBJECT ne %THEN&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;64 %LET subject=SUBJECT="&amp;amp;SUBJECT";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;65&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;66 %IF &amp;amp;ATTACHMENT ne %THEN&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;67 %LET attachment=ATTACHMENT="&amp;amp;ATTACHMENT";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;68&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;69 %IF &amp;amp;BODY ne %THEN&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;70 %LET BODY="&amp;amp;BODY";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;71 options emailhost=&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72 (&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 "smtp.gmail.com" port=465&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 SSL auth=plain&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 id="sample@gmail.com"&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76 pw="***********" );&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;78 FILENAME outbox EMAIL &amp;amp;TO &amp;amp;FROM &amp;amp;SUBJECT &amp;amp;ATTACHMENT;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;80 DATA _NULL_;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;81 FILE outbox;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;82 PUT &amp;amp;BODY;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 RUN;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 %MEND Frm_send_email;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 /* options mlogic mprint symbolgen; */&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 %Frm_send_email(TO=&lt;SPAN&gt;sample&lt;/SPAN&gt;.com,FROM=&lt;SPAN&gt;sample&lt;/SPAN&gt;@gmail.com,SUBJECT=details,ATTACHMENT=,BODY=here is it take a&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 ! look);&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1453407258947" class="sasNote"&gt;NOTE: The file OUTBOX is:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;E-Mail Access Device&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1453407258947" class="sasError"&gt;ERROR: Unable to create cipher.&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1453407258947" class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1453407258947" class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.04 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.03 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;101&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2016 20:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245281#M56132</guid>
      <dc:creator>RTelang</dc:creator>
      <dc:date>2016-01-21T20:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245284#M56133</link>
      <description>&lt;P&gt;Did you have a program that did what you wanted before adding macro elements?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 20:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245284#M56133</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-01-21T20:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245288#M56135</link>
      <description>i have created this macro to send mail with the parameters. can u correct d error ?</description>
      <pubDate>Thu, 21 Jan 2016 20:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245288#M56135</guid>
      <dc:creator>RTelang</dc:creator>
      <dc:date>2016-01-21T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245290#M56136</link>
      <description>Email host FILENAME not found. i get this error if i remove email hostname option...</description>
      <pubDate>Thu, 21 Jan 2016 20:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245290#M56136</guid>
      <dc:creator>RTelang</dc:creator>
      <dc:date>2016-01-21T20:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245297#M56137</link>
      <description>I asked if you had a working version without the macro elements as part of the debug. If the answer was 'yes' then the place to look is in the macro elements. If 'no' then I would recommend getting a basic non-macro program to work first or at least simpler to debug.</description>
      <pubDate>Thu, 21 Jan 2016 20:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245297#M56137</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-01-21T20:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245299#M56138</link>
      <description>FILENAME outbox EMAIL ("***********");&lt;BR /&gt;DATA _NULL_;&lt;BR /&gt;FILE outbox&lt;BR /&gt;TO=("************")&lt;BR /&gt;FROM=("***********")&lt;BR /&gt;SUBJECT=("Example of a SAS E-mail" );&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "Hello Boss,";&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "Attached are the Daily Operational Reports.";&lt;BR /&gt;PUT " ";&lt;BR /&gt;PUT "uu";&lt;BR /&gt;RUN;</description>
      <pubDate>Thu, 21 Jan 2016 21:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245299#M56138</guid>
      <dc:creator>RTelang</dc:creator>
      <dc:date>2016-01-21T21:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245392#M56161</link>
      <description>&lt;P&gt;here is my macro to send mail through sas but above mentioned error arises cipher can't be created... what changes can i do to remove the error.&lt;BR /&gt;&lt;BR /&gt;%macro Frm_send_email(TO=,FROM=,SUBJECT=,ATTACHMENT=,BODY=);&lt;BR /&gt; %if &amp;amp;to ne %then&lt;BR /&gt; %let TO="&amp;amp;TO";&lt;BR /&gt;&lt;BR /&gt; %if &amp;amp;from ne %then&lt;BR /&gt; %let from=FROM="&amp;amp;FROM";&lt;BR /&gt;&lt;BR /&gt; %IF &amp;amp;SUBJECT ne %THEN&lt;BR /&gt; %LET subject=SUBJECT="&amp;amp;SUBJECT";&lt;BR /&gt;&lt;BR /&gt; %IF &amp;amp;ATTACHMENT ne %THEN&lt;BR /&gt; %LET attachment=ATTACHMENT="&amp;amp;ATTACHMENT";&lt;BR /&gt;&lt;BR /&gt; %IF &amp;amp;BODY ne %THEN&lt;BR /&gt; %LET BODY="&amp;amp;BODY";&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; options emailhost=(&lt;BR /&gt; "smtp.gmail.com" port=465 &lt;BR /&gt; SSL auth=plain &lt;BR /&gt; id="sample@gmail.com"&lt;BR /&gt; pw="***********" ); &lt;BR /&gt;&lt;BR /&gt; FILENAME outbox EMAIL &amp;amp;TO &amp;amp;FROM &amp;amp;SUBJECT &amp;amp;ATTACHMENT;&lt;BR /&gt; &lt;BR /&gt; DATA _NULL_;&lt;BR /&gt; FILE outbox;&lt;BR /&gt; PUT &amp;amp;BODY;&lt;BR /&gt; RUN;&lt;BR /&gt;&lt;BR /&gt;%MEND Frm_send_email;&lt;BR /&gt;options mlogic mprint symbolgen;&lt;BR /&gt;%Frm_send_email(TO=&lt;SPAN&gt;sample&lt;/SPAN&gt;.com,FROM=&lt;SPAN&gt;sample&lt;/SPAN&gt;@gmail.com,SUBJECT=details,ATTACHMENT=,BODY=here is it take a look);&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 06:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245392#M56161</guid>
      <dc:creator>RTelang</dc:creator>
      <dc:date>2016-01-22T06:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: help cipher can't create</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245589#M56177</link>
      <description>So to be clear, your non-macro version does not work?&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Jan 2016 01:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/help-cipher-can-t-create/m-p/245589#M56177</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-23T01:25:11Z</dc:date>
    </item>
  </channel>
</rss>

