Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Your SMTP Server Requires Authentication?


mriksman

Recommended Posts

Posted

Hi all,

 

This was almost TOO dumb! I was trying to change the general.php to use another form of mail sending that supports authentication, but then realised a simple simple procedure

 

If your mail server requires authentication (to stop relaying), MAKE SURE that in the php.ini, the 'smtp server' is set to LOCALHOST, not mail.whatever.com.au. Then just make sure that 127.0.0.1 has unrestricted access to the smtp server (in your mail server settings)!

 

Nice.

 

Mike

  • 2 weeks later...
Posted

I tried this and it did not work, I get:

 

PHP Warning: mail() [function.mail]: SMTP server response: 501 Syntax error in parameters or arguments in C:\Program Files\Ensim\Sitedata\mmagoods\Inetpub\wwwroot\includes\classes\email.php on line 500 PHP Warning: Cannot modify header information - headers already sent in C:\Program Files\Ensim\Sitedata\mmagoods\Inetpub\wwwroot\includes\functions\general.php on line 29

Archived

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

×
×
  • Create New...