Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mathog@seqaxp.bio.caltech.edu
Subject: Re: How to send internet mail automatically in OpenVMS?
Date: 1998/06/08	[thread overview]
Message-ID: <6lh0l9$p7@gap.cco.caltech.edu> (raw)
In-Reply-To: 357bb875.29002537@news.pacific.net.sg


In article <357bb875.29002537@news.pacific.net.sg>, netsurfer@nospam.singaporemail.com (Kevin Lai) writes:
>I am trying to write a script to post internet email whenever my
>server encounter some kinds of system outages.
>
>But currently my system (DEC Alpha OpenVMS 6.2) does not allow me to
>send mail (via SMTP) unmanned and automatically, and it seems that to
>send mail out to internet, i need to do it interactive-way.
>

A few details would have been in order.  The following works fine
on our system (Multinet, maybe you have to change the smtp% part for other 
TCP/IP transports):

 $ subject = "this is a test"
 $ file    = somefile.txt
 $ address = "fred@nowhere.notreal.com"
 $ mail/subject="''subject'" 'file' smtp%"""''address'"""

Put this code snippet into your DCL procedure, and you should be all set.

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 
**************************************************************************
*   Affordable VMS? See:  http://seqaxp.bio.caltech.edu/www/pcvms.html   *
**************************************************************************



      reply	other threads:[~1998-06-08  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-08  4:00 How to send internet mail automatically in OpenVMS? Kevin Lai
1998-06-08  4:00 ` mathog [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox