Any basic examples of using MvSMTP to create an html based email?
Announcement
Collapse
No announcement yet.
MvSMTP and HTML email?
Collapse
X
-
After digging around a bit longer I was able to track down some info that seems to make it work. I'll check out the SendEmail to see if I miss anything... putting this here in case others are looking
Code:<MvSMTP FLAGS = "noheaders,starttls" MAILHOST = "YOURMAILHOSTHERE.com" port="A PORT" username="DO U NEED A USERNAME?" password="DO U NEED A PASSWORD" TO = "[email protected]" CC = "[email protected]" FROM = "[email protected]"> Subject: <MvEVAL EXPR="{ sub }"> Reply-To: <MvEVAL EXPR="{ '<' $ from $ '>' }"> Content-Type: text/html MIME-Version: 1.0 <table> <tr><td style="background-color:#f9c667;color:#FFF;padding:20px;text-align:center;width:80%;"> <h2>Your Order Has Shipped!</h2></td></tr> <tr><td> <p>Loreum Ipsum Lating Day. </p> <p>Another line of text? </p> </td></tr> <tr><td style="background-color:#f9c667;color:#FFF;padding:10px;text-align:center;width:80%;"> </td></tr> </table> </MvSMTP>
William Gilligan - Orange Marmalade, Inc.
www.OrangeMarmaladeinc.com
- 1 like
Comment
Comment