1

I am trying to e-mail a receipt of the transaction listing the stock, number of shares and price bought/sold to my yahoo account through a line of html with php variable passed in at $mail->Body=" . . .".

The values are not being passed, meaning this is the exact same line that appears in the e-mail, html tags and all.

I know this could be because yahoo mail strips out html as a security feature. If so, does anyone know of a workaround?

1

PHPMailer sends emails as plain text by default. You can enable HTML emails using IsHTML:

$mail->IsHTML(true);

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .