Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

E-mail not working


rthrash

Recommended Posts

Everything appears to be set up right, and we can send e-mails with a simple test script such as:

 

<?php mail('[email protected]','test mail','did it come?'); ?>

 

However, no matter if the mail is set up to go out via SMTP or Sendmail, with send e-mails set to true under OSC 2.2 CVS, no mails go out when signing up for accounts or making purchases or from the admin mail functions. The notification bar at the top of the admin page even says that mail goes out.

 

Any suggestions?

Ryan Thrash

Link to comment
Share on other sites

:oops: Upon further investigation it has turned out to be an error in the DNS of the mail server. The mail server that was being used had no DNS entry and as such, the mail it was trying to send was being rejected due to reverse DNS lookups on the mail server. Thanks for your help.

Ryan Thrash

Link to comment
Share on other sites

  • 2 weeks later...

I am using merak 5.5.7 on windows2000 with php4.3.0 and apache 1.3.7

 

I have same problems as above... the script I am testing sends it. and can be seen on server logs but no way out to the one send within the osCommerce.

 

the reverse lookups are ok. the machine itself also a nameserver and a mail server and accepts mails from localhost and IP and machines domain name...

 

NO WAY OUT.. it doesnt send mail...

 

please help...

Link to comment
Share on other sites

the problem was fixed... the common question: How?

 

the problem was totally arosen from the php.ini file...

 

while using php for windows, the only line remaining in the php.ini will be

sendmail_from = [email protected]

 

the smtp, SMTP_PORT lines should be commented.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...