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 |
Jump to:
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
Is this the link in the test email you sent?
#2
(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
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
#5
6.x-1.x-dev version does not support HTML-emails. Only HEAD does in combination with Mime Mail.
#6
#7
Automatically closed -- issue fixed for two weeks with no activity.
#8
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
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
Try setting the Base URL in your settings.php