开发者

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

开发者 https://www.devze.com 2023-01-01 07:57 出处:网络
Is there an equivalent method to $mail->MsgHTML($body); for sending a plain text fallba开发者_如何学JAVAck email with the html email?

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

精彩评论

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