[ale] Mailing from Shell Script

Jeff Hubbs Jhubbs at niit.com
Mon Aug 21 16:17:07 EDT 2000


I'm trying to send an e-mail from within a bash script and I'm not sure what
to use.  The mailer needs to be able to send a preset message to a mail
server on the local network for relaying to the Internet.  I have already
gotten pine to work but it appears to want to use its built-in editor and I
see no option in the man page for getting around it.  

The command I'm envisioning would look something like this:

	$ mail_command -s <subject> -r <recipient list> -f <msg text file>

Presume that  mail_command can be configured with the IP address of the
local mail server.  

Any suggestions?

- Jeff
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list