Page 1 of 1

Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_1.1

Posted: Sun Oct 31, 2010 3:49 pm
by yvonboulianne
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"

Re: Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_

Posted: Tue Feb 22, 2011 1:47 am
by bradn
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' " >

Re: Mistake and fix for unsubscribe OpenEMM-6.0_UserManual_

Posted: Sun Apr 03, 2011 6:02 pm
by maschoff
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.