Send HTML mail via command line interface
Hello,
I'm trying to send an HTML email, including JPEGS in it from command line. I'm running a batch job which needs wo send periodically emails with the newest stats jpeg. Anybody knows how? I can't find anything in the sendmail, mail/nail manual either. P.S.: in the HTML document, does the img tag needs to refer to www, or it can refer to embedded jpegs? (If yes, how?) Thanks, |
Use mutt:
You must use the -a option for any attached image, or html page |
Thanks for suggesting an MIME email client.
However, I'm unable to send HTML ContentType. With the -a options, it simply attach the file. With the -i, it simply read the ASCII data into the file. put as <, it display the ASCII. I've try sending that mail first to myself@localhost, so I can check if the header for section 1 is correct, but it is not. Any ideas? Tx |
All times are GMT -5. The time now is 11:33 PM. |