Closed (fixed)
Project:
Simplenews
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2007 at 19:37 UTC
Updated:
17 Dec 2007 at 20:40 UTC
When I subscribe to the newsletter from the front page, there is an entry in the log that says that a confirmation was sent, but I don't receive it. However, when I send an unsubscribe message, I get an email saying I am trying to unsubscribe to a list of which I am not a member.
One thing to note is that it doesn't happen for all of the users. I have three email addresses and this situation occurs for one of them.
L
Comments
Comment #1
sutharsan commentedIt looks like your confirmation e-mails get caught by spam filter(s).
Comment #2
lduperval commentedNo, they don't. What I do is this:
- Subscribe on the Web page
- Use fetchmail immediately to fetch data on the SMTP server. At the same time, I watch to see what happens
In the case of an unsubscribe, fetchmail says that a message is downloaded. In the case of a subscribe, it isn't. So the message looks like it's never sent.
Is there a way to increase logging with this or do I need to add log statements manually? If I do it manually, where should I add this information?
Thanks,
L
Comment #3
sutharsan commentedSimplenews does not have a logging or debugging function.
For inserting debug statements in the code you can best start with simplenews_mail_send() and simplenews_mail_confirm().
A short summary of functions involved in sending email in simplenews:
simplenews_mail_send()
handles sending of individual newsletter
calls mimemail (if html-mail is selected)
calls drupal_mail (for plain text email)
_simplenews_send()
called by cron and called upon newsletter submit
sends multiple emails based on newsletter send status in database
calls simplenews_mail_send
maintains send status in database
simplenews_send_test()
sends test email
cals simplenws_mail_send
screen message upon succes
simplenews_mail_confirm()
sends subscription/unsubscription emails
calls simplenews_mail_send
watchdog message of sending succes/fail
Comment #4
sutharsan commentedOne more important debug tool with sending newsletters is the Devel module. The Devel module has an option to reroute the mail output to the watchdog log instead of the default e-mail route. drupal.org/project/devel
Comment #5
enkara commentedI have exactly the same problem. If you find the solution please post it here.
As I am subscripting users when they register (because I need their names), a solution for me would be if there would be a way to insert the subscription confirmation email (made by hash) in the welcome message that is sent to users (because they actually are registering but they don't know).
Can someone tell me if this can be done and tell me any clue to do it?
Thank you very much!
Comment #6
sutharsan commentedNo activity, item will be closed. Feel free to re-open if more support is needed.
@enkara: look at http://drupal.org/node/178485. This is a patch to subscribe at registration time. It requires testing and discussion, please participate.