Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.9
MySQL database 5.0.77
PHP 5.2.9
Drupal 6.14

For some unknown reason, emails stopped being sent from about 3 different installs of drupal/ubercart. The only thing these sites have in common are that they're on the same servers. Above are the specs. They're all Drupal 6.14, Ubercart 2x, only one is updated to latest version of ubercart, but none are sending emails. Same with webform. Any idea what might have caused this? I'm thinking something server-wise but thought I'd ask here as well, tap into some groupthink.

Cheers

Comments

matt_harrold’s picture

Run a simple "test" script to check your server is still capable of sending emails:

<?php
$to     
= 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
   
'Reply-To: webmaster@example.com' . "\r\n" .
   
'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

If you don't get the mail, blame your server and start looking there.

If you do get the mail ... come back to this thread.

Tasmanian web developer.

vitis’s picture

see http://www.ubercart.org/forum/support/14578/emails_stopped_sending_cart

UPDATE: My email problem seems to be due to Comcast:

Mail messages going to @comcast.net go to the spam folder if the message body text includes my site name "mysite.org" . This includes links, email addresses, reply header, etc. My site is not on any blacklists. I do not send out unsolicited emails. My site does not contain info that would be blocked by anyone. I don't have any suspicious emails in my sent folder. I'm still waiting for a callback from Comcast to resolve this.

fm’s picture

I'm having a similar problem in that my new account registration verification emails are not being sent. I ran your test script (above) and that successfully sent an email; so the problem appears to be with Drupal. Any Ideas on how to troubleshoot this? Btw, I've already checked my spam folders for errant sorting, no joy.

DBSLLC’s picture

User registration emails used to send automagically but no more and my client is getting a little frustrated...

Ideas???

artatac’s picture

subscribing

CidL’s picture

The solution at the bottom of here worked for me: http://drupal.org/node/353797