Announcement

Collapse
No announcement yet.

MvSMTP and HTML email?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MvSMTP and HTML email?

    Any basic examples of using MvSMTP to create an html based email?

    William Gilligan - Orange Marmalade, Inc.
    www.OrangeMarmaladeinc.com

    #2
    The LSK has some examples. Check out the SendEmail function which is a high level function wrapper for MvSMTP
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      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%;">
      &nbsp;</td></tr>
      </table>
      
      </MvSMTP>
      William Gilligan - Orange Marmalade, Inc.
      www.OrangeMarmaladeinc.com

      Comment

      Working...
      X