Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line emailer

Status
Not open for further replies.

bluegroper

Technical User
Dec 12, 2002
407
AU
I'm writing a simple bash script that needs to use the command line to send some email, with an attachment.
I was hoping to use the postfix "compatible sendmail" command.
sendmail [option ...] [recipient@domain.com]
1. How do I set the Subject ?
2. How can I attach a file ?
3. Can I request a "Receipt acknowledgement" ?

Maybe postfix can't do this. Maybe I need to use mutt or metamail command lines ?
Any tips or clues gratefully received.

TIA's

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top