开发者

how do i setup a fallback plain text email in PHPMailer?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜