[Zope] Info SendMail + doctype
Aleksander Salwa
ololo@zeus.polsl.gliwice.pl
Mon, 31 Jul 2000 18:01:00 +0200 (CEST)
On Mon, 31 Jul 2000, Vincent wrote:
> Following my previous Mail about HTML in the body of emails...
>
> I tryed several of your answers, but it doesn't work.
> My Oultook just displays evrything (included the <br>, <body>, etc...),
> eventhough I often receive mail with an HTML content (so my client is well
> configured).
>
> If you have other solution, I'm really interested (I begin to be despaired).
>
Just take a look at any mail with HTML content, to understand, how such
messages are built. I mean reading raw headers and content, so Outlook
probably won't do it. You can do it on Unix account by simply reading your
incoming mail file (/var/mail/username or /var/spool/mail/username).
Try this DTML code (works fine with Pine 4.10):
<dtml-sendmail smtphost=localhost>
From: swienty@mikolaj
To: ololo@localhost
Subject: hejka5
MIME-Version: 1.0
<dtml-mime type=text/html encode=quoted-printable>
Hello !<br>
Here we have some <b>HTML</b> tags.
</dtml-mime>
</dtml-sendmail>
ololo