Liam Delahunty: Home | Tips | Web | Contact |
---|
Recommended laptop
under £500. Think I deserve a present? See my Amazon Wish List |
Using Sendmail to send a document as a HTML emailEdit the HTML document adding the following header information.
Errors: errors@servername.com
Now send the document like so:
cat filename | sendmail -oi -t
The -t means read recipients from file, the -oi means "Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file. Share this! |