Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 09:38 UTC
Updated:
14 Jul 2012 at 23:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
sutharsan commentedCurrently the only way to tell the status of individual transmission is looking a the database.
Table simplenews_newsletter, field s_status: 0 = newsletter not sent, 1 = pending, 2 send
Table simplenews_subscriptions, field s_status. When above field is 0 or 2 the value of this field is 0; When above status is 1 (pending) you can find the following values: 0 = e-mail is not send; 1 = e-mail is send.
Note that when an e-mail is send it only means it is delivered to php, is does not mean it is actually handled by your mailserver or even delivered.
Comment #2
Ningbo1 commentedOK, given that error in the mailq, what are the steps that I should take to troubleshoot this issue? All of my cron runs say "Cron run exceeded the time limit and was aborted." ever since I sent the newsletter.
And can you walk me through what happens between the database being marked as sent, and the mail being received by the mailq? This is running on a freebsd system, if it makes any difference.
Comment #3
Morgenstern commentedsubscribing
Comment #4
edward.peters commentedI am having the same problem, newsletter going ok to test email addresses, and then when sent properly shows as sent, but the emails are not arriving. Any ideas what I should look for?
Comment #5
v0ice commentedSame problem here, Test-email is being sent out - no problem.
But when I try to send it live, I click Submit and it only states that: Newsletter "Newsletter Name" is being sent , but it never arrives.
Any clues?
Comment #6
v0ice commentedI've tried creating some categories, wich got me to the point that I got an error message saying I have to select a newsletter before the issue can be sent. Problem was, there was no way of selecting a newsletter!
SO.. I upgraded to version 5.x-1.3, and voila! I can choose wich newsletter I want the issue to be added to.
Thou that doesn't stop the original problem, no emails are being sent out.. back to square one.
Anyone got progress on this?
Comment #7
ayesha129 commentedthe problem seems to exist in version 6 too.... test version works just fine. but no mails being sent out in the real. anyone having a clue as to what exactly is the problem here...?
Comment #8
sutharsan commented6.x has a debug option which can tell you if emails are handed over to php.
admin/content/newsletters/settings under Mail backend options, check Log emails.
Comment #9
Morgenstern commentedan easy way to check if PHP might be the source of this problem is to create a simple custom script with PHP's mail(....) function an check if this delivers your emails correctly.
I just experienced the problem that my test email was delivered to only some adressees. using the method above i was able to determine that not drupal but PHP or something else must be the problem...
Comment #10
sutharsan commentedAdditionally in the table simplenews_mail_spool you find the send status of individual emails (sorry, no admin interface yet).
email is pending, waiting for cron: status = 1
email is send (devlivered to php): status = 2
PLEASE investigate and test. Without your response I will close this issue.
Comment #11
Jan Van Hyfte commentedSutharsan,
status of mail in simplenews_mail_spool table is 1.
I got following message when trying to send:
warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in xxxxx\modules\mimemail\mimemail.module on line 308.
At first I thought something should be wrong in the simplenews_send_node, but looking in my log it looks as something is wrong in the mimemail stuff.
I have tried to do some debugging (not a real pro), and I suspect mimemail.module for the bad behavior, although i cannot point the exact location nor reason.
Sutharsan, can you help us further?
Comment #12
sutharsan commentedNo, sorry. No support for mimemail as long as there is no Drupal 6 compatible version available.
Comment #13
somebodysysop commentedI'm surprised no one has brought up the permissions issue, if it still exists in the 6.x version: http://drupal.org/node/256795#comment-841079
If this is the case (and not a php / smtp issue), I submitted a fix here: http://drupal.org/node/256795
Comment #14
sutharsan commentedThanks for bringing it back to my attention. I will discuss it over there.
@all: if your email's don't go out AND anonymous users have access to the email the at #13 mentioned issue does not apply to you.
Comment #15
sutharsan commentedIf you experience problems sending emails which are, on the site, restricted to authenticated users. Please try the attached patch.
This will send emails using the permission of the node author.
Comment #16
Jan Van Hyfte commentedAll,
Coming back to my remark in #11, look at http://drupal.org/node/305650, where the solution for this issue is presented.
I'm a very happy Drupaller now ;-)
I think this issue can be closed.
Comment #17
sutharsan commentedComment #18
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.