postfix-users

postfix sendmail and Mime

Subject: postfix sendmail and Mime
From: Vance Wheelock <vance AT csh.rit DOT edu>
To: postfix-users AT postfix DOT org
Date: Wed, 08 Aug 2007 12:13:47 -0400
I'm attempting to use the postfix senmail program to send a Mime
encapsulated message.

If I view the message in Thunderbird, the Mime encoded HTML renders
fine. However if I view the same message in outlook I see the whole
message as text. This occurs because the postfix sendmail program
appends the Message-Id line and a Date line in the first empty line and
then adds two <CR>><LF>

MIME-Version: 1.0
Message-Id: <20070808155759.178C857E70 AT xxx DOT com>
Date: Wed,  8 Aug 2007 11:57:59 -0400 (EDT)


Content-Type: multipart/alternative;
    boundary = 'HTMLDEMO46b9e807125fd'

This is a MIME encoded message.

--HTMLDEMO46b9e807125fd
.....


So there is a gap and the message header ends there and so Outlook
interprets this as the header ending and this breaks the message.

What is the proper way to compose and Mime encoded message so that this
will properly work in Outlook.








<Prev in Thread] Current Thread [Next in Thread>