0

I have sites running the following:

D10.4.7 PHP 8.3.21 Mail working out of the box

D11.1.7 PHP 8.3.21 Mail working out of the box

D11.2.2 PHP 8.3.21 Mail not working.

I have ensured that the modules and settings are identical between D11 versions. I have uninstalled and reinstalled the modules on 11.2.2.

That's both Symphony Lite and Symphony experimental and PHPmailer

I have hunted for solutions but cannot find anything.

All mail fails.

There is a "message sent" response immediately followed by "mail could not be sent, contact administrator.

I have tried defaulting to each of the options in the settings page and I have tried using SMTP mail.

The result is always the same.

I'd be grateful for any hints (no, more than hints - idiot-proof instructions!)

Thanks

6
  • Is this all the same server? There are lots of things that server providers set to block spam that can also block legitimate mail from Drupal, so I would ask the server support team if you're not self-hosting. Commented Jul 3 at 14:34
  • I would do a search of the codebase to find out where the error message is being called - is it in a module or core? This can at least give you some idea of where to start looking and working backwards from. Commented Jul 4 at 3:06
  • @PatrickKenny - yes, all on one server. All identical set ups (apparently). It's not that it's not being delivered - it's not leaving Drupal. Commented Jul 6 at 11:22
  • Have you checked logs extensively: Drupal’s, the mail provider’s? Commented Jul 6 at 12:45
  • Wild guess, but settings,php sometimes can contain a setting to block mail. I would check that file line by line. Commented Jul 6 at 23:42

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.