unsubscribe - noob
Moderator: moderator
unsubscribe - noob
Hello folks,
I'm having trouble with the unsubscribe link. I have followed the user manual and made a form called UnsubscribeQuery with the following content;
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="OptOutConfirm">
<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>
_________________
Action is set to Load Recipient-data
I then made a confirm form called OptOutQuestion to confirm unsubscribe request, action is set to user_unsubscribe
I then added the link to the content of the mailing;
You can unsubscribe from promotional emails <a href="http://domain.com/form.do?agnCI=1&agnFN ... #">here</a>
when you click the link it returns; "can not display web page" error on the url; http://domain.com:8080/r.html?uid=1.c.4.1q.khm0mm06g1
I noticed the alt http port was coded in there so i also tried http://emm.saq.net/r.html?uid=1.c.4.1q.khm0mm06g1 but again got a page can not be displayed error. I just followed the manual and have checked my code which looks good so I don't know what could be wrong. Thanks in advace for any help offered.
SMJ
I'm having trouble with the unsubscribe link. I have followed the user manual and made a form called UnsubscribeQuery with the following content;
<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="OptOutConfirm">
<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>
_________________
Action is set to Load Recipient-data
I then made a confirm form called OptOutQuestion to confirm unsubscribe request, action is set to user_unsubscribe
I then added the link to the content of the mailing;
You can unsubscribe from promotional emails <a href="http://domain.com/form.do?agnCI=1&agnFN ... #">here</a>
when you click the link it returns; "can not display web page" error on the url; http://domain.com:8080/r.html?uid=1.c.4.1q.khm0mm06g1
I noticed the alt http port was coded in there so i also tried http://emm.saq.net/r.html?uid=1.c.4.1q.khm0mm06g1 but again got a page can not be displayed error. I just followed the manual and have checked my code which looks good so I don't know what could be wrong. Thanks in advace for any help offered.
SMJ
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
I will show you how the unsubscribe process for the OpenEMM newsletter baiscally works.
1. Unsubscribe link in newsletter:
2. Unsubscribe form:
Action: 1. step: Load Recipient Data
3. Unsubconfirm form
Action: 1. step: Unsubscribe
1. Unsubscribe link in newsletter:
Code: Select all
http://www.openemm.org:8080/form.do?agnCI=1&agnFN=unsubscribe&agnUID=##AGNUID##
Action: 1. step: Load Recipient Data
Code: Select all
<form name="unsubform" action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="unsubconfirm">
<input type="hidden" name="agnUID" value="$!agnUID">
<input type="submit" value="Unsubscribe">
</form>
Action: 1. step: Unsubscribe
Code: Select all
Unsubscribe confirmed.
OpenEMM Maintainer
-
- Posts: 4
- Joined: Sat Feb 20, 2010 9:44 am
Hello ma!
Thanks for your advice. However I do something the wrong way.
I entered http://[OURSERVERNAME]:8080/form.do?agnCI=1&agnFN=unsubscribe&agnUID=##AGNUID## into the HTML and text body of a test mailing. Exactly this string appears in the final mail. Those IDs won't be replaced by specific user IDs. I think this is one my problems with the unsubscription process.
Next I looked up the action section and found six forms already there. Among others, there are doi_user_confirm and user_unsubscribe. So, I guess I don't have to do anything there. Am I right?
Thanks for all your help in advance
Martin
Thanks for your advice. However I do something the wrong way.
I entered http://[OURSERVERNAME]:8080/form.do?agnCI=1&agnFN=unsubscribe&agnUID=##AGNUID## into the HTML and text body of a test mailing. Exactly this string appears in the final mail. Those IDs won't be replaced by specific user IDs. I think this is one my problems with the unsubscription process.
Next I looked up the action section and found six forms already there. Among others, there are doi_user_confirm and user_unsubscribe. So, I guess I don't have to do anything there. Am I right?
Thanks for all your help in advance
Martin
-
- Posts: 4
- Joined: Sat Feb 20, 2010 9:44 am
-
- Posts: 7
- Joined: Fri Mar 06, 2015 12:03 pm
Re: unsubscribe - noob
Hello everyone. I have a trouble with unsubscribe link.
My server have not access with www.servername.com, only by servername.com.
When I add unsubscribe link by manual and set in company_tbl redirection domain to www.servername.com - link generates successfully, but it point to nowhere because server dont answer on www at start.
So I changed redirection domain to servername.com and unsubscribe link dont generated.
Where is a problem? openemm checking domain name by some regexp? If check - how can I disable or modify it?
My server have not access with www.servername.com, only by servername.com.
When I add unsubscribe link by manual and set in company_tbl redirection domain to www.servername.com - link generates successfully, but it point to nowhere because server dont answer on www at start.
So I changed redirection domain to servername.com and unsubscribe link dont generated.
Where is a problem? openemm checking domain name by some regexp? If check - how can I disable or modify it?