I need to send HTML emails using Miva script, the following is from this page: https://www.miva.com/docs-html/Scrip...Rec_Email.html
<MvSMTP
TO="to_address1,to_address2,..."
SUBJECT="expression"
CC="cc_address1,cc_address2,..."
MAILHOST="mailhost"
FROM="from_address">
[optional headers]
[blank line]
... message body (text/tags)...
</MvSMTP>
I have tried many different ways to code this like:
<MvSMTP
MAILHOST = "{g.mailhost}"
FROM = "{g.mail_from}"
TO = "{g.mail_to}"
CC = "{g.mail_cc}"
SUBJECT = "{g.mail_subj}">
HEADERS = "Content-type:text/html;charset=iso-8859-1"
<MvEVAL EXPRESSION = "{l.lfcr}">
<MvEVAL EXPRESSION = "{g.mail_body}">
<MvEVAL EXPRESSION = "{l.lfcr}">
</MvSMTP>
I don’t know if "Content-type:text/html;charset=iso-8859-1" is correct or my code is incorrect?
I got the code from: https://stackoverflow.com/questions/...email-with-php
Thanks in advance!
Robin
<MvSMTP
TO="to_address1,to_address2,..."
SUBJECT="expression"
CC="cc_address1,cc_address2,..."
MAILHOST="mailhost"
FROM="from_address">
[optional headers]
[blank line]
... message body (text/tags)...
</MvSMTP>
I have tried many different ways to code this like:
<MvSMTP
MAILHOST = "{g.mailhost}"
FROM = "{g.mail_from}"
TO = "{g.mail_to}"
CC = "{g.mail_cc}"
SUBJECT = "{g.mail_subj}">
HEADERS = "Content-type:text/html;charset=iso-8859-1"
<MvEVAL EXPRESSION = "{l.lfcr}">
<MvEVAL EXPRESSION = "{g.mail_body}">
<MvEVAL EXPRESSION = "{l.lfcr}">
</MvSMTP>
I don’t know if "Content-type:text/html;charset=iso-8859-1" is correct or my code is incorrect?
I got the code from: https://stackoverflow.com/questions/...email-with-php
Thanks in advance!
Robin
Comment