Hi

I have worked very hard to get my head around Drupal and after several weeks, have grown to love it. However!

I can't get the flippin' thing to e-mail.

Please...can anybody help?

http://education-community.co.uk

Comments

nevets’s picture

What OS are you running under?

carnevaledesign’s picture

You could always try the SMTP Authentication Support module. It's worked for me several times in the past:

http://drupal.org/project/smtp

mbull’s picture

Thanks, but that module is not supported by version 6.

I'm on a Linux server.

themegarden.org’s picture

This probably isn't drupal issue, but your host's settings issue.

Check if you could send mails from php scripts. Create mail-test.php file, with:

<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
if ( mail($to,$subject,$message,$headers) ) {
  print "Mail Sent.";
} else {
  print "Error Mail NOT Sent!";
}
?>

place it somewhere where it can be riched via web server, and try to "execute" it.

Which mail server are you using (sendmail/postfix/...) ? Is it started ?
Try to find logs of your mail server (usually /var/log/maillog) and take look into it.

---
Drupal Theme Garden

mbull’s picture

I may be wrong but I'm pretty sure it isn't a server issue. I have an Elgg installation in a sub directory on my site and that works fine.

banjer’s picture

check admin/logs/watchdog for any related error messages. Server logs may be helpful too. Error messages for me are sent to the root@mysite.com email, so maybe try that too.

lurkerfilms’s picture

I launched a site and works great except for sending mail. There are no error messages and your test script succeeded. But no emails are being sent out. This a real problem because people are trying to create accounts and not getting their welcome message.

I also tried the patched SMTP module for Drupal 6 and no luck. No error messages but no emails either.

I've triple checked the settings.

Andrew Migliore
Lurker Films Inc.
http://www.lurkerfilms.com

ñull’s picture

Could you please try the debug mode in combination with "send test email " of the SMTP module. That should print out on the top of the page what is going on between Drupal and SMTP server. It is not nicely formated, but it can help us to see what might be the cause. The standard Drupal email has no further way to get expanded information and the SMTP for D6 does seem to work here.