Guest Posted September 9, 2006 Posted September 9, 2006 Hi, Clean install, set mail addresses to same (then different) addresses, no mail hitting the mail server. windows setup, os box at 182.168.1.1 set smtp in php.ini to 182.163.1.3 (exchange server in the domain), set to CRLF and no mail is going either when I place an test order, or when I use "contact us" Any thoughts would be REAL helpful. Michael
paior Posted September 10, 2006 Posted September 10, 2006 I am also having this issue, exact same scenario Apache running on Windows 2K PHP 5.0.2 have the correct settings in PHP.ini and have made the recomended changes in the admin section. Could it be another "bug" in the latest release? - it seems only us windoze users from the latest release have this issue...
Guest Posted September 10, 2006 Posted September 10, 2006 Depending on who your site hosting is with they may or may not have send mail enabled on their server. For my host I had to email them with some validating information and have them turn that feature on. It had nothing to do with my cart being set up incorrectly, so if you know you have everything right, you might email your host.
paior Posted September 12, 2006 Posted September 12, 2006 Depending on who your site hosting is with they may or may not have send mail enabled on their server. For my host I had to email them with some validating information and have them turn that feature on. It had nothing to do with my cart being set up incorrectly, so if you know you have everything right, you might email your host. I am the host. :( I founf this bug report: http://www.oscommerce.com/community/bugs,1364 was this ever resolved? I have tried the fixes here but none seem to be able to help me. I am able to send email via php on my server using this script: (from http://www.ibdhost.com/contact/ ) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Email Form </title> </head> <body> <form method="post" action="sendeail.php"> <!-- DO NOT change ANY of the php sections --> <?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?> <input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /> Your Name: <br /> <input type="text" name="visitor" size="35" /> <br /> Your Email:<br /> <input type="text" name="visitormail" size="35" /> <br /> <br /> <br /> Attention:<br /> <select name="attn" size="1"> <option value=" Sales n Billing ">Sales n Billing </option> <option value=" General Support ">General Support </option> <option value=" Technical Support ">Technical Support </option> <option value=" Webmaster ">Webmaster </option> </select> <br /><br /> Mail Message: <br /> <textarea name="notes" rows="4" cols="40"></textarea> <br /> <input type="submit" value="Send Mail" /> <br /> Free Code at: <a href="http://www.ibdhost.com/contact/">ibdhost.com/contact/</a> </form> </body> </html> Code for sendeail.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sendemail Script</title> </head> <body> <!-- Reminder: Add the link for the 'next page' (at the bottom) --> <!-- Reminder: Change 'YourEmail' to Your real email --> <?php if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>Use Back - Enter valid e-mail</h2>\n"; $badinput = "<h2>Feedback was NOT submitted</h2>\n"; echo $badinput; } if(empty($visitor) || empty($visitormail) || empty($notes )) { echo "<h2>Use Back - fill in all fields</h2>\n"; } $todayis = date("l, F j, Y, g:i a") ; $attn = $attn ; $subject = $attn; $notes = stripcslashes($notes); $message = " $todayis [EST] \n Attention: $attn \n Message: $notes \n From: $visitor ($visitormail)\n Additional Info : IP = $ip \n Browser Info: $httpagent \n Referral : $httpref \n "; $from = "From: $visitormail\r\n"; mail("YourEmail", $subject, $message, $from); ?> <p align="center"> Date: <?php echo $todayis ?> <br /> Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) <br /> Attention: <?php echo $attn ?> <br /> Message:<br /> <?php $notesout = str_replace("\r", "<br/>", $notes); echo $notesout; ?> <br /> <?php echo $ip ?> <br /><br /> <a href="contact.php"> Next Page </a> </p> </body> </html> so I know it is not a server side issue... Is there anything I can do?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.