For MAILIT is not technically required. This works fine too:
'EXEC MAILIT TO([email protected]) ....
Using a NAMES file makes it easier to change the people that should be
warned.
For example, we've got a SUPPORT NAMES file on a public disk::
SUPPORT NAMES Y2 V 255 Trunc=255 Size=30 Line=1 Col=1 Alt
====>
* In this file we will place the users that have to be informed
* by some service execs.
*
*** Used by SRVFLHTP EXEC (in SYSDUMP1)
:nick.FLASHCOPY :[email protected]
[email protected]
*** Used by SIGNVSE EXEC (in VMUTIL), and .....
:nick.IbmSupport :[email protected]
Then in your EXEC, you could code
'EXEC MAILIT TO FlashCopy NAMESFILES SUPPORT Subject(Problem xyz with
FlashCopy) ....
2010/12/9 Bill Munson <[email protected]>
> Alan,
>
> The tcpip part is SMTP up and running.
>
> also the VM user sending the MAIL needs to have a names file.
> if your userid sending mail is NJ2W002 it is called NJ2W002 NAMES A
>
> and it would look like this
> :nick.Mike
> :list.
> [email protected]
>
> :nick.ROB
> :list.
> [email protected]
>
> :nick.IBM :userid.lunsford :node.us.ibm.com
> :name.Roger Lunsford
>
> as you can see there are 2 ways to set up the nicname
>
> and here is a copy of an exec I use to send mail
>
> /* */
> trace off
> arg to sub fn ft fm .
> if fm='' then fm='A'
> if ft='' then ft='script'
> if fn='' then fn='testmail'
> 'EXEC mailit SUBJECT('sub')',
> 'TO('to') ',
> 'NAMES( nj2w002 ) ',
> 'REPLYTO( [email protected] ) ',
> ' FILE ('fn ft fm')'
>
>
> good luck
>
> munson
> 201-418-7588
>
>
>
>
>
> From: "Willimann, Alan (NIH/CIT) [C]" <[email protected]>
> To: [email protected]
> Date: 12/09/2010 08:52 AM
> Subject: MAILIT
> Sent by: The IBM z/VM Operating System <[email protected]>
> ------------------------------
>
>
>
> I have down loaded MAILIT from the IBM VM Download page.
> I can send a message to another VM user, it can be found in the users pun
> queue.
> I can not figure out how to get an email to go out across the network.
> Do I have to define something in TCPIP?
> The operating system is z/VM 5.4 running on an IFL with LINUX guests.
> Thanks to everyone for your help.
>
> Alan Willimann
> [email protected]<mailto:[email protected]<[email protected]>
> >
>
> *************************** IMPORTANT NOTE*****************************--
> The opinions expressed in this message and/or any attachments are those of
> the author and not necessarily those of Brown Brothers Harriman & Co., its
> subsidiaries and affiliates ("BBH"). There is no guarantee that this message
> is either private or confidential, and it may have been altered by
> unauthorized sources without your or our knowledge. Nothing in the message
> is capable or intended to create any legally binding obligations on either
> party and it is not intended to provide legal advice. BBH accepts no
> responsibility for loss or damage from its use, including damage from virus.
> ********************************************************************************
--
Kris Buelens,
IBM Belgium, VM customer support