mail command as a script

Patrick Samson p_samson@yahoo.com
Fri Jul 16 20:37:00 GMT 2004


Based on the post of jerzy szczudłowski
(thanks jerzy :), I made an enhanced version
for a mail-mailx replacement.
It is done as a bash script.

I just want to post the script on the list
for whoever needs such a feature, as I did.

To the ssmtp package maintainer:
How about considering to include such a script,
as a bonus, to the package?

---------------------------------------------------
Usage: mail [OPTION] to-addr[,to-addr]
Simple mailx mail implementation, based on ssmtp.
No interactive mode, no syntax checking, recipient
address must be the last parameter.

  -e           do not send empty mail
  -v           verbose mode
  -a header    additional headers
  -s subject
  -c cc-addr   cc recipients
  -b bcc-addr  bcc recipients



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail
Type: application/octet-stream
Size: 1357 bytes
Desc: mail
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040716/bb4a6ce3/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list