I made a php (below) and it worked fine, sent email. Also, I can send mail from the command line with the "mail" command fine. I netstat 25, and it is listening on all ipaddresses. This means SMTP is fine, right? Drupal still wont send emails though... what is the next thing to check? Thanks!
Chris
<?php
$to = "
me@yahoo.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
----- Original Message ----
From: Rajaram Shyamala <shyamala@netlinkindia.com>
To: support@drupal.org; Chris Hyzer <mchyzer@yahoo.com>
Sent: Wednesday, October 3, 2007 11:51:14 AM
Subject: Re: [support] emails not working
Hi,
Check with your service provider if the SMTP port is open.
Shyamala
----- Original Message -----
Sent: Wednesday, October 03, 2007 9:00 PM
Subject: [support] emails not working
Hey,
We had a dropal site on a linux host, and exported the mysql to another DB, and copied all the php's to another host. Drupal turned on ok, but no emails get sent. Ive read google and other posts, and I made a simple php which sends an email find. /usr/sbin/sendmail exists. Can someone walk me through the troubleshooting steps?
Thanks,
Chris
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
--
[ Drupal support list | http://lists.drupal.org/ ]