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 Team Leader Netlink Technologies ----- Original Message ----- From: Chris Hyzer To: support@drupal.org 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.
Check your spam filters and make sure that your emails aren't getting caught there.
Chris Hyzer wrote:
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 <mailto: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 Team Leader Netlink Technologies http://www.netlinkindia.com/
----- Original Message ----- *From:* Chris Hyzer <mailto:mchyzer@yahoo.com> *To:* support@drupal.org <mailto:support@drupal.org> *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 <http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545469>from someone who knows. Yahoo! Answers - Check it out. -- [ Drupal support list | http://lists.drupal.org/ ]
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/