Last active
April 28, 2020 17:44
-
-
Save andrew-serrano/b132dffbf6a7304ee548486b0f3d1491 to your computer and use it in GitHub Desktop.
Manually trigger a preexisting email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:comment> | |
Overrides if needed | |
</mvt:comment> | |
<mvt:assign name="l.run:override_from" value="''" /> | |
<mvt:assign name="l.run:override_reply_to" value="''" /> | |
<mvt:assign name="l.run:override_to" value="''" /> | |
<mvt:assign name="l.run:override_cc" value="''" /> | |
<mvt:assign name="l.run:override_bcc" value="''" /> | |
<mvt:assign name="l.run:override_subject" value="''" /> | |
<mvt:comment> | |
Load Order | |
</mvt:comment> | |
<mvt:do file="g.Module_Library_DB" name="l.success" value="Order_Load_ID(g.Order_ID, l.run:order)" /> | |
<mvt:comment> | |
Load email | |
</mvt:comment> | |
<mvt:do file="g.Module_Root $ '/modules/fulfill/templateorderemails.mvc'" name="l.success" value="TemplateOrderEmail_Load_Code('EMAIL_PAGE_CODE_WITHOUT_TEMPLATE', l.email_template)" /> | |
<mvt:comment> | |
Send | |
</mvt:comment> | |
<mvt:do file="g.Module_Root $ '/modules/fulfill/templateorderemails.mvc'" name="l.success" value="TemplateOrderEmails_SendEmail(l.run, l.email_template)" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment