<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">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!</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Chris</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><?php<BR>$to = "<A href="mailto:me@yahoo.com">me@yahoo.com</A>";<BR>$subject = "Hi!";<BR>$body = "Hi,\n\nHow are you?";<BR>if (mail($to, $subject, $body)) {<BR> echo("<p>Message successfully sent!</p>");<BR> } else {<BR> echo("<p>Message delivery failed...</p>");<BR> }<BR>?><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Rajaram Shyamala <shyamala@netlinkindia.com><BR>To: support@drupal.org; Chris Hyzer <mchyzer@yahoo.com><BR>Sent: Wednesday, October 3, 2007 11:51:14 AM<BR>Subject: Re: [support] emails not working<BR><BR>
<STYLE type=text/css>DIV {
MARGIN:0px;}
</STYLE>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Check with your service provider if the SMTP port is open.</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>Shyamala</DIV>
<DIV>Team Leader <A href="http://www.netlinkindia.com/" target=_blank rel=nofollow>Netlink Technologies</A></FONT></DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A title=mchyzer@yahoo.com href="mailto:mchyzer@yahoo.com" target=_blank rel=nofollow>Chris Hyzer</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=support@drupal.org href="mailto:support@drupal.org" target=_blank rel=nofollow>support@drupal.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 03, 2007 9:00 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [support] emails not working</DIV>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Hey,<BR><BR>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?<BR><BR>Thanks,<BR>Chris<BR></DIV></DIV><BR>
<HR SIZE=1>
Be a better Globetrotter. <A href="http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545469" target=_blank rel=nofollow>Get better travel answers </A>from someone who knows.<BR>Yahoo! Answers - Check it out.
<P>
<SPAN style="width:100%;height:2px;border-bottom:1px solid rgb(212,208,200); border-top:1px solid rgb(128,128,128);background-color:black;overflow:hidden; margin:8px 0px;"></SPAN>
<P></P>-- <BR>[ Drupal support list | http://lists.drupal.org/ ]</BLOCKQUOTE></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a></body></html>