homepage Welcome to WebmasterWorld Guest from 50.17.66.61
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
OsCommerce mail error
morpheus83

10+ Year Member



 
Msg#: 7323 posted 2:43 pm on Mar 12, 2005 (gmt 0)

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.

 

dreamcatcher

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



 
Msg#: 7323 posted 11:36 pm on Mar 12, 2005 (gmt 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

donb01

10+ Year Member



 
Msg#: 7323 posted 3:13 am on Mar 13, 2005 (gmt 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.

ergophobe

WebmasterWorld Administrator ergophobe us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 7323 posted 6:00 pm on Mar 20, 2005 (gmt 0)

Have you configured PHP to run SMTP correctly under windows?

See this:

[us4.php.net...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved