Send HTML e-mail template with Phpmailer

Asked

Viewed 412 times

0

People I’m trying to send e-mail using phpmailer, but with the message using html template, but this going only the codes by email, some tip of how to do?

  • See if it helps you: https://stackoverflow.com/a/16256464/7168666, if I’m not mistaken css has to be inline, I haven’t touched it with e-mail triggering in a while...

  • You’ve been very helpful, thank you :)

1 answer

0


I was forgetting to put this, so I wasn’t recognizing the HTML.

    $mail->MsgHTML($template);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.