Page 1 of 1

Default mail client incompatibility mesage.

Posted: Tue Apr 08, 2008 1:31 am
by s_volenszki
Hi!

I have seen that, in the main source of the emails, there is a message, for incompatibility reasons:

"This is a message in multipart MIME format. Your mail client should not
be displaying this. Consider upgrading your mail client to view this
message correctly."

Is this placed by Swift? Is it possible to change?

Re: Default mail client incompatibility mesage.

Posted: Tue Apr 08, 2008 1:49 am
by Chris Corbyn
s_volenszki wrote:Hi!

I have seen that, in the main source of the emails, there is a message, for incompatibility reasons:

"This is a message in multipart MIME format. Your mail client should not
be displaying this. Consider upgrading your mail client to view this
message correctly."

Is this placed by Swift? Is it possible to change?
It's possible to change yes. What you do is set a body on the message in the normal way. If you're using mime parts then that body becomes the mime warning:

Code: Select all

$message = new Swift_Message('Your Subject', 'Your custom warning');
$message->addPart(new Swift_Message_Part('Your actual message'));

Re: Default mail client incompatibility mesage.

Posted: Tue Apr 08, 2008 2:07 am
by s_volenszki
I see! I will do this, thanks Chris!