Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sendmail/mailx html format

375 views
Skip to first unread message

Troy Dodsworth

unread,
Feb 16, 2001, 12:06:55 AM2/16/01
to
Does anyone know how to send header information to sendmail and or mailx so
the mail message
that is sent will be in html format so any email client capable of rendering
html will do so ?

Troy.


Troy Dodsworth

unread,
Feb 16, 2001, 12:52:47 AM2/16/01
to
I found the answer to my own question:
call sendmail with -t which tells sendmail to read the header info from the
message itself otherwise the
Content-Type will default to text/plain; charset=us-ascii, I am not sure if
this will work with mailx but I will
test it tomorrow.

Errors: err...@YourDomain.com
From: Your Name <y...@YourDomain.com>
To: Recipient Name <th...@Theirs.com>
Subject: test message
MIME-Version: 1.0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="filename.html"
Content-Base: http://www.YourDomain.com

<b>Hello there.</b><br>
Monkey see, monkey do.
.


Troy Dodsworth <mdods...@sprint.ca> wrote in message
news:Dz2j6.5273$MV2.1...@newscontent-01.sprint.ca...

0 new messages