<?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 Prompted email addresses containing special characters in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Prompted-email-addresses-containing-special-characters/m-p/48349#M13071</link>
    <description>I have a srored process which prompts the user for an email address:&lt;BR /&gt;
&lt;BR /&gt;
to=(&amp;amp;p_email)&lt;BR /&gt;
&lt;BR /&gt;
This works fine, except when the email address entered contains special characters, namely a hyphen.  I this case joebloggs@a-company.com becomes joebloggs@a - company.com when the email is sent, thus failing.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone suggest a solution or explain why this is happening?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Tue, 12 Apr 2011 12:01:55 GMT</pubDate>
    <dc:creator>Cullima</dc:creator>
    <dc:date>2011-04-12T12:01:55Z</dc:date>
    <item>
      <title>Prompted email addresses containing special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Prompted-email-addresses-containing-special-characters/m-p/48349#M13071</link>
      <description>I have a srored process which prompts the user for an email address:&lt;BR /&gt;
&lt;BR /&gt;
to=(&amp;amp;p_email)&lt;BR /&gt;
&lt;BR /&gt;
This works fine, except when the email address entered contains special characters, namely a hyphen.  I this case joebloggs@a-company.com becomes joebloggs@a - company.com when the email is sent, thus failing.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone suggest a solution or explain why this is happening?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 12 Apr 2011 12:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Prompted-email-addresses-containing-special-characters/m-p/48349#M13071</guid>
      <dc:creator>Cullima</dc:creator>
      <dc:date>2011-04-12T12:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Prompted email addresses containing special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Prompted-email-addresses-containing-special-characters/m-p/48350#M13072</link>
      <description>Difficult to say without seeing/knowing what your process entails, but one easy solution might be to just wrap the macro variable in a compress function.&lt;BR /&gt;
&lt;BR /&gt;
E.g.,  to=compress("&amp;amp;p_email.");&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
Art&lt;BR /&gt;
&amp;gt; I have a srored process which prompts the user for an&lt;BR /&gt;
&amp;gt; email address:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; to=(&amp;amp;p_email)&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; This works fine, except when the email address&lt;BR /&gt;
&amp;gt; entered contains special characters, namely a hyphen.&lt;BR /&gt;
&amp;gt; I this case joebloggs@a-company.com becomes&lt;BR /&gt;
&amp;gt; joebloggs@a - company.com when the email is sent,&lt;BR /&gt;
&amp;gt;  thus failing.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Can anyone suggest a solution or explain why this is&lt;BR /&gt;
&amp;gt; happening?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks</description>
      <pubDate>Sat, 16 Apr 2011 22:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Prompted-email-addresses-containing-special-characters/m-p/48350#M13072</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-04-16T22:24:08Z</dc:date>
    </item>
  </channel>
</rss>

