<?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: Email address with &amp;amp; in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030542#M24136</link>
    <description>&lt;BR /&gt;For VMS-mail: no, such a mail-userid does not work.&lt;BR /&gt;(a SET FORWARD/user="special&amp;amp;x" is accepted, but not in SEND.)&lt;BR /&gt;&lt;BR /&gt;For SMTP it should not be a problem, just put the address in string quotes, example:&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; send/noedit/noself&lt;BR /&gt;To:     smtp%"Special&amp;amp;x"&lt;BR /&gt;Subj:   test&lt;BR /&gt;Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:&lt;BR /&gt; Exit&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt;&lt;BR /&gt;&lt;BR /&gt;But without quotes one gets:&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; send/noedit/noself&lt;BR /&gt;To:     Special&amp;amp;x@x.domain&lt;BR /&gt;%MAIL-E-USERSPEC, invalid user specification 'SPECIAL&amp;amp;X@X.DOMAIN'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Feb 2007 11:22:25 GMT</pubDate>
    <dc:creator>Joseph Huber_1</dc:creator>
    <dc:date>2007-02-26T11:22:25Z</dc:date>
    <item>
      <title>Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030541#M24135</link>
      <description>We have customer who have the caracter "&amp;amp;" in their email address. When we want to send an email to those customer but we got the following message:%MAIL-E-USERSPEC, invalid user specification&lt;BR /&gt;&lt;BR /&gt;Is there a woraround ?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 26 Feb 2007 10:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030541#M24135</guid>
      <dc:creator>Denis Michaud</dc:creator>
      <dc:date>2007-02-26T10:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030542#M24136</link>
      <description>&lt;BR /&gt;For VMS-mail: no, such a mail-userid does not work.&lt;BR /&gt;(a SET FORWARD/user="special&amp;amp;x" is accepted, but not in SEND.)&lt;BR /&gt;&lt;BR /&gt;For SMTP it should not be a problem, just put the address in string quotes, example:&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; send/noedit/noself&lt;BR /&gt;To:     smtp%"Special&amp;amp;x"&lt;BR /&gt;Subj:   test&lt;BR /&gt;Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:&lt;BR /&gt; Exit&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt;&lt;BR /&gt;&lt;BR /&gt;But without quotes one gets:&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; send/noedit/noself&lt;BR /&gt;To:     Special&amp;amp;x@x.domain&lt;BR /&gt;%MAIL-E-USERSPEC, invalid user specification 'SPECIAL&amp;amp;X@X.DOMAIN'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 11:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030542#M24136</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-02-26T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030543#M24137</link>
      <description>mail/subj="test" file "smtp%""wim&amp;amp;wim@brol.be"""&lt;BR /&gt;&lt;BR /&gt;Thus enclosed in double quotes (count them well). Tested it and it works. But thanks to Ruslan R. Laishev and Google.&lt;BR /&gt;&lt;BR /&gt;Wim    &lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 11:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030543#M24137</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-02-26T11:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030544#M24138</link>
      <description>Can you post some version information?&lt;BR /&gt;&lt;BR /&gt;$ UCX &lt;BR /&gt;SHOW VERSION&lt;BR /&gt;&lt;BR /&gt;And can you post an example of the failure (with the username and domain obscured) with the error?&lt;BR /&gt;&lt;BR /&gt;It would not surprise me to learn you can't get this through the default parser, and the selection of an ampersand will cause problems elsewhere; not just with OpenVMS and its MAIL system.&lt;BR /&gt;&lt;BR /&gt;I do not know that any of the following will be accepted through the parser, I'm applying DCL norms for specifying "weird" characters.&lt;BR /&gt;&lt;BR /&gt;As a first pass suggestion here, I'd quote the whole string, I'd then try to selectively quote the user name string, and -- should this fail -- I'd then report it to HP.  &lt;BR /&gt;&lt;BR /&gt;  smtp%"user&amp;amp;xyz@domain"&lt;BR /&gt;&lt;BR /&gt;You might well need to quote the target string:&lt;BR /&gt;&lt;BR /&gt;  smtp%"""user&amp;amp;xyz""@domain"&lt;BR /&gt;&lt;BR /&gt;What's more interesting here, the ampersand character is a DCL substitution character.  Stuff after that will see a string substitution attempted, if you enter the character as part of a MAIL command entered at the $ prompt.&lt;BR /&gt;&lt;BR /&gt;There may not be a way to get this username specified.  You would then need to have the remote site set up forwarding or an alias, something they will almost certainly need to set up for other systems for this user.&lt;BR /&gt;&lt;BR /&gt;And inquiring minds want to know: does this cut down on the volume of spam?&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs</description>
      <pubDate>Mon, 26 Feb 2007 11:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030544#M24138</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-26T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030545#M24139</link>
      <description>Also works : "smtp%""wim&amp;amp;wim""@brol.be".&lt;BR /&gt;And even "smtp%wim""&amp;amp;""wim@brol.be".&lt;BR /&gt;&lt;BR /&gt;But the last one was not digested by the Windows mail server. It simply dropped the mail.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 26 Feb 2007 11:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030545#M24139</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-02-26T11:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030546#M24140</link>
      <description>My problem is resolved&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 26 Feb 2007 12:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030546#M24140</guid>
      <dc:creator>Denis Michaud</dc:creator>
      <dc:date>2007-02-26T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Email address with &amp;</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030547#M24141</link>
      <description>&amp;gt; [...] "smtp%""wim&amp;amp;wim@brol.be"""&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Thus enclosed in double quotes (count them&lt;BR /&gt;&amp;gt; well).&lt;BR /&gt;&lt;BR /&gt;If you can remember _where_ to put them,&lt;BR /&gt;remembering how _many_ to use is as easy as&lt;BR /&gt;1-2-3.</description>
      <pubDate>Mon, 26 Feb 2007 20:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/email-address-with-amp/m-p/5030547#M24141</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-26T20:36:56Z</dc:date>
    </item>
  </channel>
</rss>

