Welcome to WebmasterWorld Guest from 23.20.184.141

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

OsCommerce mail error

     
2:43 pm on Mar 12, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 8, 2003
posts:514
votes: 4


I have OS Commerce store running on a Windows 2000 server with IIS, SMTP server, PHP 4.7 and MySQL server. However when a new user registers a confirmation mail usually send to the user however it gives the following error on screen.
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for abc@hotmail.com in C:\Inetpub\wwwroot\store\catalog\includes\classes\email.php on line 500

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\store\catalog\includes\classes\email.php:500) in C:\Inetpub\wwwroot\store\catalog\includes\functions\general.php on line 29

How do I rectify this. The SMTP server is working fine.

11:36 pm on Mar 12, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


The header error is caused by the error message from the first error, so they are both related.

Probably best to contact the script developers themselves.

dc

3:13 am on Mar 13, 2005 (gmt 0)

New User

10+ Year Member

joined:Dec 1, 2003
posts:27
votes: 0


My experience with OsCommerce in a linux environment is that it uses sendmail to send out those messages rather than the SMTP server unless they changed it recently.

The 550 error is "Relay Access Denied" and is your mail server telling you that however you have the program configured does not have permission to send out mail on your server. That could be a number of things like having the hostname set wrong in OsCommerce or some other thing that makes your machine think you are an intruder.

I would look at your mail server configuration for send permissions. I have a helluva time figuring all that windows server stuff out so I can't help you there.

6:00 pm on Mar 20, 2005 (gmt 0)

Moderator

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8298
votes: 142


Have you configured PHP to run SMTP correctly under windows?

See this:

[us4.php.net...]