HTML Newsletter Unsubscribe link missing site domain

markDrupal - September 30, 2008 - 23:37
Project:Simplenews
Version:6.x-1.0-rc6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

the link to unsubscribe that is sent out in the emails dosen't work for me, instead i get a page not found error

the link that produces the page not found error is :
Unsubscribe from this newsletter: http://site.com/newsletter/confirm/remove/

going the my user account settings I can subscribe and unsubscribe(without any errors) :
http://site.com/user/1/edit/newsletter

#1

Sutharsan - October 1, 2008 - 04:27

Is this the link in the test email you sent?

#2

markDrupal - October 1, 2008 - 17:01

(BTW, this is when sending out a test message to the test email address)

This is the final line of the email message sent out when I select plain text email:
Unsubscribe from this newsletter: http://site.com/newsletter/confirm/remove/

#3

markDrupal - October 1, 2008 - 17:25

Ok, turns out it works when I send out the real message, however, if I select HTML and the format, the site domain is missing from the link so the unsubscribe link will not work

here is what I see:
<a href="/newsletter/confirm/remove/afd8302a4b3t108">Unsubscribe from this newsletter</a>

Here is what I think I should see (add "http://site.com"):
<a href="http://site.com/newsletter/confirm/remove/afd8302a4b3t108">Unsubscribe from this newsletter</a>

#4

markDrupal - October 1, 2008 - 17:28
Title:Unsubscribe link sent out in e-mail gives "page not found" error» HTML Newsletter Unsubscribe link missing site domain

#5

Sutharsan - October 1, 2008 - 17:32

6.x-1.x-dev version does not support HTML-emails. Only HEAD does in combination with Mime Mail.

#6

markDrupal - October 6, 2008 - 20:48
Status:active» fixed

#7

Anonymous (not verified) - October 20, 2008 - 20:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#8

patchak - September 15, 2009 - 11:10
Version:6.x-1.x-dev» 6.x-1.0-rc6

I still have this issue with rc-6, so I still need to update to the latest version (dev) and see if this was eventually fixed on the last year...

Afaik this is still a bug on the module, using HTML Email and the latest dev version of MimeMail. (From june 8th)...

I will test with the dev version and report back here!

Thanks
Patchak

#9

nelslynn - November 2, 2009 - 19:52

Using Simplenews 6.x-1.0 -rc6, and Mime Mail 6.x 1.x-dev.
The unsubscribe link at the bottom of the newsletter does not work ONLY when using cron to send out newsletters.
In summary:
- Unsubscribe link works when sending Test Newsletter
- Unsubscribe link works when sending Newsletter, and manually running cron to send (ie: clicking to run cron from the status report page)
- Unsubscribe link does NOT work when sending Newsletters using cron to automatically send x number of newsletters (ie: you have cron set up on your server to run every x number of minutes)

#10

Sutharsan - November 3, 2009 - 08:51

Try setting the Base URL in your settings.php

 
 

Drupal is a registered trademark of Dries Buytaert.