bluegroper
Technical User
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
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