Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.After updating the Rules 8.x-3.0-alpha5 we started receiving reports that emails were no longer being received.
An example of this is a rule we have set in place to email a content editor when a new user is created. Alpha-5 no longer runs the action of 'Send Email'. Other actions were being triggered, but the email action wasn't.
We rolled back to alpha-4 and the email was triggered again so we can pinpoint it to the new release.
Has anyone else experienced this issue?
Comments
Comment #2
tr commentedNothing has really changed with that action since alpha4, just some coding standards. It wouldn't hurt to edit the Rule you're having a problem with and simply save it unchanged. And of course clear all the caches.
Are you sure it's the action, and not one of the conditions or events you're using? The automated tests and my own test site shows this action is working properly.
You should create a simple test rule to see if you can reproduce the problem - use a simple event like new article created, and just the send mail action, nothing else. If you can reproduce the problem with a simple rule, export that rule and post it here.
You can also test the rest of your problem rule using a system message action instead of send mail. That will tell you whether your events and conditions are still working as expected, without involving the send mail action.
Comment #3
jtotheeannie commentedNo conditions are being used. 1 event 1 action. We recreated the rule which also failed to work. We've tested the 'Send email' action with different events which also failed, including updating an existing user and saving a new content item.
We've also tried on another site with the same outcome, the email was not being sent out. Rolling back to alpha-4 fixed it on both sites.
Comment #4
ash2303 commentedI have been using
Rules 8.x-3.0-alpha5with gmail as SMTP. I am able to receive all kinds of emails using rules.Can you attach log/rule info for more details.
Comment #5
dercheffeI got it working with this here and alpha 5:
perhaps it helps :)
First I stumbled over "content type" as condition. After using the condition "node is of type" it worked.
Comment #6
tr commented