[NTLUG:Discuss] sending an HTML email from command line
Ted B Dodd
tedbdodd at bigfoot.com
Mon Jun 18 12:18:24 CDT 2001
On 18 Jun 2001, at 12:05, Steve Jackson wrote:
> I have an HTML file that I want to send as an email using the
> 'mail' command line app. I thought you could specify a file
> name on the command line and 'mail' would use this file as the
> body of the message. However, maybe I remembered incorrectly.
> I want to make the HTML page show up in the receiver's email app
> (I know some email apps don't support HTML, but for this
> conversation let's assume they do) not as an attachment. Any
> help or info would be great. Thanks guys (and gals).
Try cat filename | mail -s "Howdy!" emailname.
[O^O]
Ted B
aka tedbdodd at bigfoot.com
More information about the Discuss
mailing list