<?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: Automatic email to an address with a &amp;quot;-&amp;quot; in it in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636622#M189150</link>
    <description>&lt;P&gt;I don't think "-" is a problem. What are your asterisks ***** in the emailhost and why it's not quoted?&lt;/P&gt;
&lt;P&gt;Can you please place your code to show what exactly you run?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 18:16:56 GMT</pubDate>
    <dc:creator>LeonidBatkhan</dc:creator>
    <dc:date>2020-04-01T18:16:56Z</dc:date>
    <item>
      <title>Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636591#M189135</link>
      <description>&lt;P&gt;I'm running into an issue where one of my recipients has a "-" in their email address when I'm setting it up in&amp;nbsp;%LET EMAIL_TOLIST=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR 23-2: Invalid option name" is the error message that pops up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to work around this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636591#M189135</guid>
      <dc:creator>Sheu</dc:creator>
      <dc:date>2020-04-01T15:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636597#M189138</link>
      <description>&lt;P&gt;Please post the whole log from the %let up to the ERROR. Use the &amp;lt;/&amp;gt; button for posting the log.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 16:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636597#M189138</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T16:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636616#M189147</link>
      <description>&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt;49 %LET EMAIL_TOLIST= 'abc-abc@*****.com';&lt;BR /&gt;50&lt;BR /&gt;2 The SAS System 13:37 Wednesday, April 1, 2020&lt;/P&gt;&lt;P&gt;51&lt;BR /&gt;52&lt;BR /&gt;53 options emailsys=smtp emailhost=intmail.*****.net emailport=25;&lt;BR /&gt;54 filename mymail email &amp;amp;EMAIL_TOLIST&lt;BR /&gt;55&lt;BR /&gt;56 type='text/html'&lt;BR /&gt;NOTE: Line generated by the macro variable "EMAIL_TOLIST".&lt;BR /&gt;56&amp;nbsp; 'abc-abc@*****.com'&lt;BR /&gt;_______________________________&lt;BR /&gt;23&lt;BR /&gt;ERROR 23-2: Invalid option name 'abc-abc@*****.com'.&lt;/P&gt;&lt;P&gt;57 subject='Test';&lt;BR /&gt;ERROR: Error in the FILENAME statement.&lt;/P&gt;&lt;P&gt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636616#M189147</guid>
      <dc:creator>Sheu</dc:creator>
      <dc:date>2020-04-01T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636622#M189150</link>
      <description>&lt;P&gt;I don't think "-" is a problem. What are your asterisks ***** in the emailhost and why it's not quoted?&lt;/P&gt;
&lt;P&gt;Can you please place your code to show what exactly you run?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636622#M189150</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-01T18:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636624#M189152</link>
      <description>&lt;P&gt;The code works fine if I use a different email address though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just censoring out the email host name in case it's sensitive.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636624#M189152</guid>
      <dc:creator>Sheu</dc:creator>
      <dc:date>2020-04-01T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636628#M189155</link>
      <description>&lt;P&gt;Try using &lt;STRONG&gt;to=(&amp;amp;EMAIL_TOLIST)&lt;/STRONG&gt; as in&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mymail email to=(&amp;amp;EMAIL_TOLIST) type='text/html' subject='Test';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can still place your code replacing partial email address and real server names with valid characters e.g. XXXXX, not ***** which as not valid for server and email names.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636628#M189155</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-01T18:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic email to an address with a "-" in it</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636630#M189156</link>
      <description>&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-email-to-an-address-with-a-quot-quot-in-it/m-p/636630#M189156</guid>
      <dc:creator>Sheu</dc:creator>
      <dc:date>2020-04-01T18:37:45Z</dc:date>
    </item>
  </channel>
</rss>

