I would like to send a html-mail body. How could I set my mail client
(mail/nail) to set this content type for the body (not for an attachment)?
Thank's
fr.
> I would like to send a html-mail body. How could I set my mail client
> (mail/nail) to set this content type for the body (not for an attachment)?
That depends on your mail client, you should ask the question at a newsgroup
which has something to do with your mail client or one that is generally for
mail clients.
This newsgroup is for questions related to the MTA called sendmail.
For more info see: www.sendmail.org
--
//Aho
Thank's for the hint. But I could not find such a group.
Is it possible to give sendmail an inputstream with a properly formed mail
body? I mean:
sendmail -s Subject anyone@anydomain < MIME-Version: 1.0
Content-Type: text/html; charset=iso5988-1
Content-Transfer-Encoding: 7bit
From: sender@mydomain
EMPTY-LINE
...Message in HTML...
END-OF-INPUTSTREAM
Thank You!
fr.
> Is it possible to give sendmail an inputstream with a properly formed mail
> body? I mean:
Yes, absolutely.
> sendmail -s Subject anyone@anydomain < MIME-Version: 1.0
> Content-Type: text/html; charset=iso5988-1
> Content-Transfer-Encoding: 7bit
> From: sender@mydomain
> EMPTY-LINE
> ...Message in HTML...
> END-OF-INPUTSTREAM
Well, the syntax is a bit off... you want:
sendmail -oi -- any...@anydomain.com <<'EOF'
Subject: Here is some annoying HTML mail
To: <any...@anydomain.com>
From: <som...@somewhere.com>
MIME-Version: 1.0
Content-Type: text/html; charset=iso8859-1
Content-Transfer-Encoding: 7bit
<html>
<head><title>Annoying HTML</title></head>
<body>Isn't it <em>annoying?</em></body>
</html>
EOF
-- David.