Form that only sends out action based mailing

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Form that only sends out action based mailing

Postby barff-dev » Thu Apr 07, 2016 3:40 pm

Hello everyone,

we are trying to send out an action based mailing by using the openemm forms&actions but are stuck on ideas on how to achieve our goal and why our approach is not working so far. So we need your help.

What we are trying to do:
We want to use a simple form where the user can enter his email, first name and last name. When the user submits the form an action has to be triggered that sends out an action based mailing to the entered email adress and if possible openEMM should use the name supplied by the user to personalize the salutation in the send email.

What we tried so far:
1) We created a form (form_01) - see code below. When the user submits this form he is redirected to another form (form_02). This works well so far...

Code: Select all
<form action="form.do">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="form_02">
<input type="hidden" name="agnMAILINGLIST" value="2">


The user gets redirected to the second form and the paramters in the URL look like this http://{SERVER}/form.do?agnCI=1&agnFN=form_02&agnMAILINGLIST=2FIRSTNAME={USERFIRSTNAME}&LASTNAME={USERLASTNAME}&EMAIL={USEREMAIL}

2) In the second form (form_02) we trigger an action. This action has only one step defined, which is "send action based mailing". The action is also set to "used by forms". Here lies the Problem: The action based Mailing is not send out by openEMM. It only works when we define "subscribe" as a previous step in the same action and therefor register the user in our system at the same time. This however is not what we want. We just want to send out an email. Is there a way to use an action that has only one step (send out action based mailing) defined or is this restricted by openEMM in general? Do you see any other way to solve our problem?

Thanks a lot in advance.

btw. we are using openEMM version: 2.15
barff-dev
 
Posts: 3
Joined: Fri Jun 12, 2015 3:22 pm
Location: Germany

Return to Using OpenEMM

Who is online

Users browsing this forum: No registered users and 4 guests

cron