[NTLUG:Discuss] sending an HTML email from command line

Michael Patrick michael at techiesplace.com
Mon Jun 18 12:34:09 CDT 2001


Hi Jackson,

I just did the following:

mail -s "HTML test" a-mpat at microsoft.com < index.html

and got the index.html file as the body of the e-mail on my work machine.

System info:
Redhat 7.1 
Exim is the local mailserver

Michael

On Mon, Jun 18, 2001 at 12:05:34PM -0500, 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).
> 
> Jackson
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 
> 



More information about the Discuss mailing list