influxweb
3/8/2016 - 1:58 AM

Miva V9_EmailSend() for BCC

Miva V9_EmailSend() for BCC

<mvt:assign name="l.settings:email:to" value="'to.someone@email.com'" />
<mvt:assign name="l.settings:email:from" value="'from.someone@email.com'" />
<mvt:assign name="l.settings:email:cc" value="'cc.someone@email.com'" />
<mvt:assign name="l.settings:email:bcc" value="'bcc.someone@email.com'" />
<mvt:assign name="l.settings:email:subject" value="'Example Subject'" />
<mvt:assign name="l.settings:email:headers" value="'Content-type: text/html; charset=utf-8'" />
<mvt:assign name="l.settings:email:content" value="'This is some sample email content'" />

<mvt:do file="g.Module_Library_Utilities" name="l.settings:email:result" value="V9_SendEmail(l.settings:email)" />

<mvt:if expr="l.settings:email:result">
	Successfully Sent Email.
<mvt:else>
	Error sending email.
</mvt:if>