Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How to send internet mail automatically in OpenVMS?
@ 1998-06-08  4:00 Kevin Lai
  1998-06-08  4:00 ` mathog
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Lai @ 1998-06-08  4:00 UTC (permalink / raw)



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.

How can i send a prepared mail to a known email addressed in
command-line?

Does any freeware able to do the trick?

TIA

Regards,



==
For personal email replies, please remove " nospam. " from my email address at TO: box



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to send internet mail automatically in OpenVMS?
  1998-06-08  4:00 How to send internet mail automatically in OpenVMS? Kevin Lai
@ 1998-06-08  4:00 ` mathog
  0 siblings, 0 replies; 2+ messages in thread
From: mathog @ 1998-06-08  4:00 UTC (permalink / raw)



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   *
**************************************************************************



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-08  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-08  4:00 How to send internet mail automatically in OpenVMS? Kevin Lai
1998-06-08  4:00 ` mathog

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