Non interactive Mail
Duston, Hal
hdusto01 at sprintspectrum.com
Fri Nov 16 22:33:11 CST 2001
Josh,
Try
cat <<! | Mail -s "this is a test" josh at nph.com <mailto:josh at nph.com>
body of email
!
Hal Duston
-----Original Message-----
From: Joshua B. Derck [mailto:JOSH at nph.com]
Sent: Friday, November 16, 2001 4:31 PM
To: 'kclug at kclug.org'
Subject: Non interactive Mail
Can I send an email form a shell script?
Totally automatic no user intervention
Here is what I have done
Mail -s "this is a test" josh at nph.com <mailto:josh at nph.com>
Every time I have tried it it prompts me for the body of the message, then I
have to hit control-D to send it
Joshua B. Derck
IS Help Desk
Nazarene Publishing House
2923 Troost Ave.
Kansas City, MO 64141
816-931-1900 ext.429
josh at nph.com
More information about the Kclug
mailing list