Page 1 of 1

Unsubscribe from email list not working

Posted: Wed Nov 26, 2008 3:53 pm
by pizzaovens1
this is the link included in the subscribe to email list conformation email.

Code: Select all

<p>If you did not intend to sign up for this list, then click the link below
to remove your address.</p>
<p><a href="${store.StoreUrl}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${email}">${store.StoreUrl}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${email}</a>	</p>
for this to point to our site correctley it needs to read

Code: Select all

<p>If you did not intend to sign up for this list, then click the link below
to remove your address.</p>
<p><a href="${http://98.129.12.138/pizzaovens/}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${email}">${http://98.129.12.138/pizzaovens/}Subscription.aspx?action=remove&list=${list.EmailListId}&email=${email}</a>	</p>
however, after making this change. the link in the email takes you to a screen telling the user that they have unsubscribed. however their email is not taken off of the email list.

any idea of how i can get this code to work properly ?

Re: Unsubscribe from email list not working

Posted: Thu Nov 27, 2008 7:25 am
by mazhar
I have checked and the final version is working as desired. There may be some problem with the link you are generating. Also why you are using a custom link. The StoreUrl variable will return exact URL of your store.

Re: Unsubscribe from email list not working

Posted: Thu Nov 27, 2008 8:17 am
by jmestep
I ran into a problem with email templates on a site and I thought the code was wrong because there was no / after the domain name in the links. Then later I found out that they were correct and I should have put a / after the domain name when I set up the store in the admin.
Maybe that is why you created custom code?