Default mail client incompatibility mesage.

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
s_volenszki
Forum Newbie
Posts: 6
Joined: Tue Apr 08, 2008 1:14 am

Default mail client incompatibility mesage.

Post 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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Default mail client incompatibility mesage.

Post 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'));
s_volenszki
Forum Newbie
Posts: 6
Joined: Tue Apr 08, 2008 1:14 am

Re: Default mail client incompatibility mesage.

Post by s_volenszki »

I see! I will do this, thanks Chris!
Post Reply