tags:

views:

15

answers:

1

Is there an equivalent method to

$mail->MsgHTML($body);

for sending a plain text fallback email with the html email?

if that's how it works?

+1  A: 

$mail->AltBody is what you want to set. Likewise you can use $mail->Body to set the html body of themessage. You only need to use MsgHTML if there are attachments and what not i believe.

prodigitalson
I've realised that it was just gmail reads html without images by default, i'll set it to send plain text to gmail / googlemail addresses. thanks for your help
Haroldo