Best way to do html e-mail, sending via php? -
i've never done html e-mail before, i've set php mail using http://www.postmarkapp.com
i wondering how go sending php mail html?
does have previews of php page sending html e-mail can @ jist of how works?
currently i'm putting text variable , sending message, how done html?
regards
do still want use postmark send emails?
in postmark, set textbody
property text version of message, , htmlbody
property html version of it. practice include both. depending on whether user's email client supports html or not, appropriate message form rendered. read more on here.
edit: added example. splitting string separate lines can indent nicely real html file. of course, if used templates, make better.
$htmlbody = " <html> <body> thank using our app!<br /> - super awesome app team </body> </html> ";
Comments
Post a Comment