I would like to use OpenEMM for order confirmations.
Is it possible to trigger events with variables like webforms do? I would prefer to trigger events with webservices but other ways are also acceptable.
Kind regards,
Gerben
use OpenEMM for order confirmations
Moderator: moderator
Yes. The company I work for would like to use OpenEMM for individual e-mails similar to subscription confirmations.
The main purpose is to send out an order confirmation.
The difference with a subscription confirmation is that the action is not triggered by a webform but by an external system, preferable using webservices.
I think OpenEMM is a good framework for this because it handles bounces, manages templates, and can register the email address to a mailing list for later usage.
The main purpose is to send out an order confirmation.
The difference with a subscription confirmation is that the action is not triggered by a webform but by an external system, preferable using webservices.
I think OpenEMM is a good framework for this because it handles bounces, manages templates, and can register the email address to a mailing list for later usage.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
You could trigger an action consisting of an action script which uses ScriptHelper.sendEmail (see doc for OpenEMM Script Actions) to send out single mails. The link would look like this:
Form SendMail simply starts an Action which consist of an action script. The corresponding action script would look like this:
Would that be helpful?
Code: Select all
http://www.domain.com:8080/form.do?agnCI=1&agnFN=SendMail&SENDER=news@domain.com&RECIPIENT=customer@domain.com&SUBJECT=Notification&TEXT=Dear...
Code: Select all
#set($result=$ScriptHelper.sendEmail($requestParameters.SENDER, $requestParameters.RECIPIENT, $requestParameters.SUBJECT, $requestParameters.TEXT, "", 0, "ISO-8859-1"))
#if($result)
#set($scriptResult="1")
#else
#set($scriptResult="0")
#end
OpenEMM Maintainer