#1622 - Email notifications not always getting sent out
| Identifier | #1622 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Email notifications not always getting sent out |
| Status | Closed (not fixable) |
| Handling member | Chris Graham |
| Addon | core_notifications |
| Description | On my two installations of Composr 9.0.13 , email notifications are not always getting sent out when they should. I have tested a few, but not all, areas in which an email should have been given out, as indicated in additional info.
This may be a duplicate issue posted by anonymous. When I reported the bug, I didn't realize I wasn't logged in. |
| Steps to reproduce | For actions that send out, or supposed to send out, an email notification, check to make sure that email is set to be sent out and then perform the action. |
| Additional information | Composr: 9.0.13
Domain: www.wrrj.org OS: Linux Host: webhostinghub Cron Job is set for every 5 minutes Batch email setting is on. Using PHP's mail function. --- Examples of when the email notifications do work as tested by me: *Reminders for upcoming events *Hack attempts / auto-banned IPs *Website errors Examples of when email notifications are not sent out, as tested by me: *Verification on account registration *Some private messages *Some of the actions defined in your notification settings, which I marked to receive an email notification for. --- Additional notes: *Cron jobs do run as intended every 5 minutes *I have not specifically tested all methods of email notification *Email queue as defined in the database show emails in the queue for account email verification emails that were never sent. There are 8 of them at least, but on the Admin Zone, it shows for a short moment there's 2 in queue (and that doesn't change). |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There are actually 70+ emails in the database. They all have 0 for the mail queue value. I set one of them to 1 and waited for cron to execute. When cron executed, that value went back to 0 but no email was ever sent out.
"For some instances, Composr does not send out notifications via. Email when it
is supposed to.
Steps to Reproduce:
Whatever method entails an email notification, execute that method and see if an
email is sent out to the account.
Additional Information:
Examples of it not sending out emails include:
*Email verification on website joining
*Some of the notifications which email is set as a means of notification do not
get an email
Composr: 9.0.13
OS: Linux
Host: Webhostinghub
Domain: http://www.wrrj.org
Cron: Set for every 5 minutes
Batch email is enabled in Composr options
Examples of when email does work:
*Reminders of events
*Hack attempts / automatic blocks
*Website errors
I have not tested / confirmed other methods of email notifications, whether they
work or don't work.
I have confirmed the execution of the cron job that is set to execute every 5
minutes. The emails still do not get sent. I'm not sure how to find the mail
queue in the database. If that's needed, perhaps let me know where to find it?
Thanks."
Otherwise, the mails will be being sent, so it will be something in your email infrastructure rather than Composr. E.g. a spam checker at some point in the SMTP process, or on your machine.
m_queued=0 means the mail has been sent (i.e. is no longer queued, now it is just there as a log). You can view the mail log/queue from /adminzone/?page=admin_emaillog.
Upon further investigation, I've done some tests with the assistance of webhostinghub. I've found that Composr is trying to send out emails, however they're being blocked by gmail and other email domains on account of them identifying the emails as spam and malicious. Therefore, people are not getting them.
I've also tried SMTP and I get the same results.