jrodd32 Posted October 18, 2006 Share Posted October 18, 2006 I am not recieving any errors yet I am also not recieving any email. I checked the php.ini file and my sendmail binary is in the right spot so I am lost...[code]<?phpwhile($row = mysql_fetch_assoc($officialslist)) { if(($ID==$row[id])&&($SSWEB==$row[SSWEB])) { if(($sport == 'BA')||($sport == 'FB')||($sport == 'TR')||($sport == 'WR')) { $to='[email protected],[email protected],[email protected]'; foreach($source as $concern) $subject=$concern; $message="<br> $explaination <br> $row[id]; <br> $row[lname].$row[suffix].', '.$row[fname]; <br> $row[homephone]; <br> $row[workphone]; <br> $row[email]"; $headers='X-Mailer: PHP/' .phpversion(); mail($to, $subject, $message, $headers); }?>[/code] Link to comment https://forums.phpfreaks.com/topic/24322-mail-function-wont-send-out-any-mail/ Share on other sites More sharing options...
xsist10 Posted October 18, 2006 Share Posted October 18, 2006 Need some information from you.The server is Windows / Linux / ???What mail command is php.ini pointing to (default is sendmail I believe) ? Link to comment https://forums.phpfreaks.com/topic/24322-mail-function-wont-send-out-any-mail/#findComment-110612 Share on other sites More sharing options...
jrodd32 Posted October 18, 2006 Author Share Posted October 18, 2006 Linux server...and it does point to sendmail Link to comment https://forums.phpfreaks.com/topic/24322-mail-function-wont-send-out-any-mail/#findComment-110613 Share on other sites More sharing options...
jrodd32 Posted October 18, 2006 Author Share Posted October 18, 2006 Can anybody come up with anything? Link to comment https://forums.phpfreaks.com/topic/24322-mail-function-wont-send-out-any-mail/#findComment-110767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.