kiwiNL Posted May 17, 2004 Posted May 17, 2004 I get these errors while trying to create an account. I have an SMTP server running and looked in the lines shown in the errors but i can't find anything. Any suggestions? Warning: mail(): SMTP server response: 501 Invalid Address in C:\InetPub\wwwroot\catalog\includes\classes\email.php on line 502 Warning: Cannot modify header information - headers already sent by (output started at C:\InetPub\wwwroot\catalog\includes\classes\email.php:502) in C:\InetPub\wwwroot\catalog\includes\functions\general.php on line 29 Jesus Christ - Son of God - Saviour
evoltuionnet Posted May 18, 2004 Posted May 18, 2004 I think we have the same problem... but we've got different error message appearing... while trying to add new customer i've received this error Warning: Failed to Receive in C:\apache\htdocs\catalog\includes\classes\email.php on line 502 Warning: Cannot add header information - headers already sent by (output started at C:\apache\htdocs\catalog\includes\classes\email.php:502) in C:\apache\htdocs\catalog\includes\functions\general.php on line 29 while accepting orders same error appears. hope you can solve your problem... same to me
nrlatsha Posted May 18, 2004 Posted May 18, 2004 look at the address you're sending from in admin (incorrect format), or the customer address that its being sent to... 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
kiwiNL Posted May 18, 2004 Author Posted May 18, 2004 Thanks for your reply. I am not even sure what email adress i have to fill in. I am running my own server and SMTP server on winnt (IIS4). Does this mean i now have an email adress and how do i find out what it is? I acces my server just by typing http://localhost/ Jesus Christ - Son of God - Saviour
nrlatsha Posted May 18, 2004 Posted May 18, 2004 You'll need to go into the admin area, into configuration -> my store and set the email address, email address from fields. You'll need mailboxes for those addresses on your server as well... 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
kiwiNL Posted May 18, 2004 Author Posted May 18, 2004 Thank you so much, i figured it out. For anyone with the same problem, first i filled in the correct email details in the admin/config/my store area. Then, if you use WINNT (or other Windows version), go to the admin/config/email options area and edit the "EMAIL TRANSPORT METHOD" to "SMTP". Try again now. If you get the following error: Warning: mail(): SMTP server response: 550 Unable to relay for YOUR EMAIL ADRESS in C:\InetPub\wwwroot\catalog\includes\classes\email.php on line 5 This means you are not allowed to sent emails trhough your server. Change this in your mailserver (if your running your own offcourse) I am running IIS4. To do this go to SMTP SERVER in MS Managemment Console, properties --->Directory security--->Relay restrictions and set to allow all users or set so that you are allowed. Jesus Christ - Son of God - Saviour
Recommended Posts
Archived
This topic is now archived and is closed to further replies.