Is there an equivalent method to
$mail->MsgHTML($body);
for sending a plain text fallba开发者_如何学JAVAck email with the html email?
if that's how it works?
$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.
精彩评论