I found a couples of mistake in the manual to unsubscribe so there's the fix and a little procedure to make it work.
Have fun
Yvon
11.2.5.2 Creating new forms
replace
<input type="hidden" name="agnFN" value="OptOutConfirm">
by
<input type="hidden" name="agnFN" value="OptOutQuestion">
11.2.5.3 Calling up the unsubscribe form
replace
http://company.openemm.org/form.do?
agnCI=1&agnFN=OptOutQuestion&agnUID=##AGNUID##
by
http://company.openemm.org/form.do?
agnCI=1&agnFN=UnsubscribeQuery&agnUID=##AGNUID##
In short you have
1- an action name Unsubscribe with Unsubscribe as the action type and only for forms as usage
2- a form named UnsubscribeQuery With User_get_data as the action and this code in the success form
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="OptOutQuestion">
<input type="hidden" name="agnUID" value="$!agnUID">
Do you really want to unsubscribe?<br>
<input type="reset" value="Cancel">
<input type="submit" value="Unsubscribe">
</form>
3- A form named OptOutQuestion with Unsubscribe action as a starting action. and with a message in success form like "you have been unsubscribe" and another message in the error form like "there's an error, please start again"
Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_1.1
Moderator: moderator
-
- Posts: 5
- Joined: Sun Oct 31, 2010 3:09 pm
Re: Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_
Thanks, I found this very useful. Here is another tip if anyone is still having trouble.
If the # link is not showing up correctly in your unsubscribe email the userid won't be passed to the EMM server.
Try this code for calling up the unsubscribe form instead.
Replace:
http://company.openemm.org/form.do?agnC ... D=##AGNUID##
With:
http://company.openemm.org/form.do?agnC ... ID=[agnUID]
Also the cancel button seems to do nothing so I have changed the code for the cancel button to redirect to another page:
<input type="button" name="Cancel" value="Cancel" onclick="window.location = 'http://another.page.com' " >
If the # link is not showing up correctly in your unsubscribe email the userid won't be passed to the EMM server.
Try this code for calling up the unsubscribe form instead.
Replace:
http://company.openemm.org/form.do?agnC ... D=##AGNUID##
With:
http://company.openemm.org/form.do?agnC ... ID=[agnUID]
Also the cancel button seems to do nothing so I have changed the code for the cancel button to redirect to another page:
<input type="button" name="Cancel" value="Cancel" onclick="window.location = 'http://another.page.com' " >
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_
Thanks for your corrections, we appreciate that! Right now we are re-working the manual and online help for release 2011 and we will integrate your feedback.
OpenEMM Maintainer