<?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: MAIL to internet address from DCL script in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730288#M33745</link>
    <description>Jan,&lt;BR /&gt;&lt;BR /&gt;If it is defined as decnet, all addresses are interpreted as decnet addresses and the @ is invalid. I think.&lt;BR /&gt;&lt;BR /&gt;Paul will tell. I hope.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Mon, 13 Feb 2006 14:44:52 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2006-02-13T14:44:52Z</dc:date>
    <item>
      <title>MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730277#M33734</link>
      <description>Hello Gurus,&lt;BR /&gt;&lt;BR /&gt;I'm having a little trouble using MAIL within a DCL script. &lt;BR /&gt;&lt;BR /&gt;Basically, I'm running AUTOGEN FEEDBACK and want to email the report to the sysadmins in the team. However, the email addresses are standard internet addresses rather than host specific VMS mail.&lt;BR /&gt;&lt;BR /&gt;When I enter the address "admins@blah.com" from an interactive MAIL session, everything works fine. However, from within my script - nothing !!&lt;BR /&gt;&lt;BR /&gt;The line in my script to send the mail is :-&lt;BR /&gt;&lt;BR /&gt;$ MAIL SYS$SYSTEM:AGEN$FEEDBACK.DAT ADMINS@BLAH.COM /SUBJECT="AUTOGEN FEEDBACK"&lt;BR /&gt;&lt;BR /&gt;I'm presuming that the problem revolves around the "@" sign, but I don't know how to get around it.&lt;BR /&gt;&lt;BR /&gt;Any ideas ??&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Paul.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(PS - Thanks in advance !!).</description>
      <pubDate>Mon, 13 Feb 2006 09:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730277#M33734</guid>
      <dc:creator>Paul Murray_4</dc:creator>
      <dc:date>2006-02-13T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730278#M33735</link>
      <description>syntax something like this&lt;BR /&gt;&lt;BR /&gt;mail &lt;FILENAME&gt; smtp:"x@a.com"&lt;/FILENAME&gt;</description>
      <pubDate>Mon, 13 Feb 2006 09:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730278#M33735</guid>
      <dc:creator>Jeroen Hartgers_3</dc:creator>
      <dc:date>2006-02-13T09:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730279#M33736</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Got a little further than before - actually got an error message now :-&lt;BR /&gt;&lt;BR /&gt;$ MAIL SYS$SYSTEM:AGEN$FEEDBACK.DAT SMTP:"ADMINS@BLAH.COM" /SUBJECT="AUTOGEN FEEDBACK"&lt;BR /&gt;%TCPIP-E-SMTP_BADADDR, recipient address is illegal; unparsed string: :@&lt;BR /&gt;%TCPIP-E-SMTP_ABORT, SMTP session aborted&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paul.</description>
      <pubDate>Mon, 13 Feb 2006 09:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730279#M33736</guid>
      <dc:creator>Paul Murray_4</dc:creator>
      <dc:date>2006-02-13T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730280#M33737</link>
      <description>Paul,&lt;BR /&gt;&lt;BR /&gt;yes, it is about the @ sign, and the way around this is the VMS way around any special syntax or characters:&lt;BR /&gt;enclose the entire recipient specification in double quotation marks In a script you put THAT in quotation marks, and you put double those to specify them IN the string.&lt;BR /&gt;That results in """username@internet.address"""&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 13 Feb 2006 09:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730280#M33737</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-13T09:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730281#M33738</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;the correct syntax is:&lt;BR /&gt;&lt;BR /&gt;$ MAIL SYS$SYSTEM:AGEN$FEEDBACK.DAT "SMTP%ADMINS@BLAH.COM" /SUBJECT="AUTOGEN FEEDBACK"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 09:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730281#M33738</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2006-02-13T09:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730282#M33739</link>
      <description>Paul,&lt;BR /&gt;&lt;BR /&gt;I concur, from long experience, with Jan and Heinz.&lt;BR /&gt;&lt;BR /&gt;The correct syntax (presuming that you are using a base SMTP transport, not a message router such as MX) is:&lt;BR /&gt;&lt;BR /&gt;$ mail filename "SMTP%""username@domain"""&lt;BR /&gt;&lt;BR /&gt;Please note the multiple quotes. Quotes WITHIN a quoted string must be doubled.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 13 Feb 2006 10:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730282#M33739</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-02-13T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730283#M33740</link>
      <description>Regarding "the correct syntax":&lt;BR /&gt;&lt;BR /&gt;And how many years has it been since the&lt;BR /&gt;"SMTP%" has actually been _required_ by MAIL&lt;BR /&gt;on an Internet address?&lt;BR /&gt;&lt;BR /&gt;My advice: Stop reading replies after Feb 13,&lt;BR /&gt;2006 14:36:22 GMT, when "the correct answer"&lt;BR /&gt;was posted.&lt;BR /&gt;&lt;BR /&gt;Of course, it's still legal to specify&lt;BR /&gt;"SMTP%" (or "WINS%", or whatever your mailer&lt;BR /&gt;goes by), but you can easily see for yourself&lt;BR /&gt;if it's needed or not.</description>
      <pubDate>Mon, 13 Feb 2006 10:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730283#M33740</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-02-13T10:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730284#M33741</link>
      <description>I simply do :&lt;BR /&gt;$ mail/sub="x" file "us@wim.com"&lt;BR /&gt;&lt;BR /&gt;from within the script, in batch or interactive, and without any problem.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 13 Feb 2006 10:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730284#M33741</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-13T10:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730285#M33742</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the input - I just happened to try my script on another host, just by wrapping the email address in double-quotes, and the mail came through straight away.&lt;BR /&gt;&lt;BR /&gt;Given that interactive MAIL works on the original server, by my script doesn't, is there a logical or something that might be missing on the other host ?&lt;BR /&gt;&lt;BR /&gt;(Sorry to change the problem !!)&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 10:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730285#M33742</guid>
      <dc:creator>Paul Murray_4</dc:creator>
      <dc:date>2006-02-13T10:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730286#M33743</link>
      <description>May be MAIL$INTERNET_MODE.&lt;BR /&gt;&lt;BR /&gt;Check &lt;A href="http://h71000.www7.hp.com/DOC/73final/6017/6017pro_016.html" target="_blank"&gt;http://h71000.www7.hp.com/DOC/73final/6017/6017pro_016.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 13 Feb 2006 11:05:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730286#M33743</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-13T11:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730287#M33744</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;I do not think that that applies here:&lt;BR /&gt;&lt;BR /&gt;ADMINS@BLAH.COM&lt;BR /&gt;&lt;BR /&gt;contains a full stop at the right of the @ sign, and then MAIL$INTERNET_MODE is not necessary to resolve the addressing style.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 13 Feb 2006 14:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730287#M33744</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-13T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730288#M33745</link>
      <description>Jan,&lt;BR /&gt;&lt;BR /&gt;If it is defined as decnet, all addresses are interpreted as decnet addresses and the @ is invalid. I think.&lt;BR /&gt;&lt;BR /&gt;Paul will tell. I hope.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 13 Feb 2006 14:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730288#M33745</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-13T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730289#M33746</link>
      <description>Paul, to send SMTP mail using a distribution list the syntax is like this&lt;BR /&gt;&lt;BR /&gt;$ mail/subject="Stuff" file.dat @mail.dis&lt;BR /&gt;&lt;BR /&gt;where mail.dis has the SMTP formats like&lt;BR /&gt; this&lt;BR /&gt; "smtp%rover@team.company.com",-&lt;BR /&gt; "smtp%dog@team.company.com"&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 17:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730289#M33746</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2006-02-13T17:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: MAIL to internet address from DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730290#M33747</link>
      <description>&lt;BR /&gt;You may benefit from the sendmail.com script that can be found at &lt;A href="http://dcl.openvms.org." target="_blank"&gt;http://dcl.openvms.org.&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;This script allows one to send MIME or SMTP messages and allows files to be attached.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Mar 2006 04:12:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mail-to-internet-address-from-dcl-script/m-p/3730290#M33747</guid>
      <dc:creator>Dave Laurier</dc:creator>
      <dc:date>2006-03-01T04:12:05Z</dc:date>
    </item>
  </channel>
</rss>

