<?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: Using VMS MAIL CC Field in mail batch generated messages in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399763#M64955</link>
    <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;As an alternative to Volker's suggestion, make use of a distribution list file.&lt;BR /&gt;&lt;BR /&gt;$ MAIL file-spec "@USERS"&lt;BR /&gt;&lt;BR /&gt;where the file USERS.DIS contains the user names of the people you want to send mail to.&lt;BR /&gt;&lt;BR /&gt;You can also combine a distribution list with explicit user names.&lt;BR /&gt;&lt;BR /&gt;$ MAIL file-spec user,"@USERS"&lt;BR /&gt;&lt;BR /&gt;The adressees however will appear in the "To:" field of the mail message, and not in the "CC:" field.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;&lt;BR /&gt;Kris&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Oct 2004 06:28:32 GMT</pubDate>
    <dc:creator>Kris Clippeleyr</dc:creator>
    <dc:date>2004-10-14T06:28:32Z</dc:date>
    <item>
      <title>Using VMS MAIL CC Field in mail batch generated messages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399761#M64953</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a large number of mail notifications from our various monitoring processes. We now want to CC various managers on some of the e-mails. VMSmail does have a CC: option for interactive use. How can we use it in a command procedure ?&lt;BR /&gt;&lt;BR /&gt;With regards&lt;BR /&gt;Andrew</description>
      <pubDate>Thu, 14 Oct 2004 03:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399761#M64953</guid>
      <dc:creator>Andrew Rycroft</dc:creator>
      <dc:date>2004-10-14T03:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using VMS MAIL CC Field in mail batch generated messages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399762#M64954</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;looks like there is no access to the /CC qualifier directly from DCL.&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can use a construct like this in a command procedure:&lt;BR /&gt;&lt;BR /&gt;$ MAIL&lt;BR /&gt;SEND/CC/NOEDIT filename-to-send.tmp&lt;BR /&gt;to-username&lt;BR /&gt;cc-username&lt;BR /&gt;subject string&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;This invokes the MAIL utility and causes it to read commands from SYS$INPUT, which is your command procedure. You just need to make sure to provide the correct input line by line, which the MAIL utility will be asking for.&lt;BR /&gt;&lt;BR /&gt;If you need to specify varying filenames or username lists, you could write the above commands into a temporary tmp.COM file and then execute it with @tmp.com&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 14 Oct 2004 04:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399762#M64954</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2004-10-14T04:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using VMS MAIL CC Field in mail batch generated messages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399763#M64955</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;As an alternative to Volker's suggestion, make use of a distribution list file.&lt;BR /&gt;&lt;BR /&gt;$ MAIL file-spec "@USERS"&lt;BR /&gt;&lt;BR /&gt;where the file USERS.DIS contains the user names of the people you want to send mail to.&lt;BR /&gt;&lt;BR /&gt;You can also combine a distribution list with explicit user names.&lt;BR /&gt;&lt;BR /&gt;$ MAIL file-spec user,"@USERS"&lt;BR /&gt;&lt;BR /&gt;The adressees however will appear in the "To:" field of the mail message, and not in the "CC:" field.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;&lt;BR /&gt;Kris&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2004 06:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399763#M64955</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-10-14T06:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using VMS MAIL CC Field in mail batch generated messages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399764#M64956</link>
      <description>CC functionality was oddly enough only added to VMSmail in VMS V5.&lt;BR /&gt;The lack of a DCL qualifier is pretty much an oversight.&lt;BR /&gt;Soft, internal, nudges to the developpers at the time (1998, 2002) were ignored, and customers never requested it officially, so there we are :-(.&lt;BR /&gt;&lt;BR /&gt;You may want to check out the DELIVER tool for some incremental functionality from VMSnail (like forward to a group).&lt;BR /&gt;&lt;BR /&gt;If those monitoring jobs are strictly batch jobs, then creating an intermediate file is the way to go.&lt;BR /&gt;If there are images/code involved which today perhpas spawn mail, then I['d encourage you to check out calleable mail to get access to CC and to becme more efficient in the process. It is not _that_ hard, if you've programmed itemlists before.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There is a silly work-around / fooled-you solution:&lt;BR /&gt;&lt;BR /&gt;$ define cc " "&lt;BR /&gt;$ mail/subj="whatever" filename  user1,cc,user2&lt;BR /&gt;&lt;BR /&gt;It will *look* okay; the received message will have&lt;BR /&gt;&lt;BR /&gt;   To:  USER1,CC,USER2&lt;BR /&gt;&lt;BR /&gt;but will not have a CC line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2004 06:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399764#M64956</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-10-14T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using VMS MAIL CC Field in mail batch generated messages</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399765#M64957</link>
      <description>Andrew,&lt;BR /&gt;We do use the CC field, hence our scripts look like the one suggested by Hein i.e&lt;BR /&gt;Invoke mail utility and use&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Mobeen</description>
      <pubDate>Thu, 14 Oct 2004 07:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-vms-mail-cc-field-in-mail-batch-generated-messages/m-p/3399765#M64957</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-10-14T07:10:01Z</dc:date>
    </item>
  </channel>
</rss>

