flemina Posted July 24, 2005 Share Posted July 24, 2005 Hi, please can someone help me as I have been trying for ages to get this to work and I don't know what else to do. When I try to send an email using my web site I get the following error: Warning: mail(): SMTP server response: 554 Recipient address rejected: Relay access denied. I have checked all the email addresses when I call the send() function in email.php and they seem valid. Can someone please Help :'( Link to comment Share on other sites More sharing options...
♥Vger Posted July 24, 2005 Share Posted July 24, 2005 You have to use an e-mail address based on your domain e.g. [email protected], and not try to use an outside mail address like [email protected]. Vger Link to comment Share on other sites More sharing options...
MarcoZorro Posted July 24, 2005 Share Posted July 24, 2005 Also check if your smtp server requires authentication. Since oscommerce does not support SMTP authentication by default you will need to look at adding a contribution if this is the case. Link to comment Share on other sites More sharing options...
flemina Posted July 25, 2005 Author Share Posted July 25, 2005 You have to use an e-mail address based on your domain e.g. [email protected], and not try to use an outside mail address like [email protected]. Vger <{POST_SNAPBACK}> I tried it with an email address on my domain and it worked OK :rolleyes: So how do I fix this? Thanks Aileen Link to comment Share on other sites More sharing options...
♥Vger Posted July 25, 2005 Share Posted July 25, 2005 When I said "You have to use an e-mail address based on your domain", I meant in your osCommerce control panel - as the address you are sending mail from. When you said "I tried it with an email address on my domain and it worked OK" then provided you were using an e-mail address based on your domain as the e-mail address in your osCommerce control panel there's nothing to fix - it's working as it should. Vger Link to comment Share on other sites More sharing options...
flemina Posted July 26, 2005 Author Share Posted July 26, 2005 When I said "You have to use an e-mail address based on your domain", I meant in your osCommerce control panel - as the address you are sending mail from. When you said "I tried it with an email address on my domain and it worked OK" then provided you were using an e-mail address based on your domain as the e-mail address in your osCommerce control panel there's nothing to fix - it's working as it should. Vger <{POST_SNAPBACK}> Sorry I am getting a bit confused :'( . I should start again: I tried the forgotten password page and I didn't change anything on the control panel I just tried sending an email to an email which was supplied by the hosting company and it worked then I tried my hotmail address and I got the following: Warning: mail(): SMTP server response: 554 <[email protected]>: Recipient address rejected: Relay access denied in catalog\includes\classes\email.php on line 484 Has this got something to do with authentication? Or have I just missed something Thanks Link to comment Share on other sites More sharing options...
MarcoZorro Posted July 27, 2005 Share Posted July 27, 2005 Has this got something to do with authentication? Or have I just missed something <{POST_SNAPBACK}> Possibly :) You will need to ask your hosting provider if the smtp server requires authentication. Link to comment Share on other sites More sharing options...
flemina Posted July 31, 2005 Author Share Posted July 31, 2005 Possibly :) You will need to ask your hosting provider if the smtp server requires authentication. <{POST_SNAPBACK}> Just one last question :blush: My hosting provider said that they do not have a smtp server - does this mean I won't be able to send emails? If so does anyone know of another provider who provides this functionality Thanks Link to comment Share on other sites More sharing options...
♥Vger Posted July 31, 2005 Share Posted July 31, 2005 SMTP is your outgoing e-mail service, and if you have one of those hosts that don't provide such a service then 'yes' you are going to have to look elsewhere. There are only a few hosts who don't provide this service - you were just unlucky! Vger Link to comment Share on other sites More sharing options...
supraheat Posted September 1, 2005 Share Posted September 1, 2005 HI THERE! IM GETTING CRAZY IT THIS ....... Warning: mail(): SMTP server response: 553 We do not relay non-local mail, sorry. in E:\webroot\Loja\catalog\includes\classes\email.php on line 500 Warning: Cannot modify header information - headers already sent by (output started at E:\webroot\Loja\catalog\includes\classes\email.php:500) in E:\webroot\Loja\catalog\includes\functions\general.php on line 29 im runnig oscommerce in my computer LOCALHOST this is my php.ini : mail function] ; For Win32 only. SMTP = mx.sapo.pt smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] My Store T?tulo Valor Ac??o Store Name BTT RIDE Store Owner FILIPE NETO E-Mail Address [email protected] E-Mail From ramon<[email protected]> Country Portugal Zone Expected Sort Order desc Expected Sort Field date_expected Switch To Default Language Currency true Send Extra Order Emails To Use Search-Engine Safe URLs (still in development) false Display Cart After Adding Product true Allow Guest To Tell A Friend false Default Search Operator and Store Address and Phone Store Name Address Country Phone Show Category Counts true Tax Decimal Places 0 Display Prices with Tax false CAN ANNYONE HELP ME PLEASE?? COZ WITH THIS, CREAT ACCOUNT ERROR , OSCOMMERCE SEEMS OBSOLET TO ME! Link to comment Share on other sites More sharing options...
georgesoros Posted March 12, 2006 Share Posted March 12, 2006 HI THERE! IM GETTING CRAZY IT THIS ....... Warning: mail(): SMTP server response: 553 We do not relay non-local mail, sorry. in E:\webroot\Loja\catalog\includes\classes\email.php on line 500 Warning: Cannot modify header information - headers already sent by (output started at E:\webroot\Loja\catalog\includes\classes\email.php:500) in E:\webroot\Loja\catalog\includes\functions\general.php on line 29 im runnig oscommerce in my computer LOCALHOST this is my php.ini : mail function] ; For Win32 only. SMTP = mx.sapo.pt smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] My Store T?tulo Valor Ac??o Store Name BTT RIDE Store Owner FILIPE NETO E-Mail Address [email protected] E-Mail From ramon<[email protected]> Country Portugal Zone Expected Sort Order desc Expected Sort Field date_expected Switch To Default Language Currency true Send Extra Order Emails To Use Search-Engine Safe URLs (still in development) false Display Cart After Adding Product true Allow Guest To Tell A Friend false Default Search Operator and Store Address and Phone Store Name Address Country Phone Show Category Counts true Tax Decimal Places 0 Display Prices with Tax false CAN ANNYONE HELP ME PLEASE?? COZ WITH THIS, CREAT ACCOUNT ERROR , OSCOMMERCE SEEMS OBSOLET TO ME! I have same problem, when using Mercury. Link to comment Share on other sites More sharing options...
♥Vger Posted March 12, 2006 Share Posted March 12, 2006 We do not relay non-local mail, sorry Look at my original response. The e-mail address must be one which is based on the domain you are using. You cannot send e-mail from osCommerce and try to send it through another email provider - this is called 'relaying' and most email companies don't allow you to relay mail coming from somewhere else through their mailservers. If you have a local offline install (for testing) then make sure that you have a mail server installed - if you don't have one then check out Post Cast. Vger Link to comment Share on other sites More sharing options...
georgesoros Posted March 12, 2006 Share Posted March 12, 2006 Look at my original response. The e-mail address must be one which is based on the domain you are using. You cannot send e-mail from osCommerce and try to send it through another email provider - this is called 'relaying' and most email companies don't allow you to relay mail coming from somewhere else through their mailservers. If you have a local offline install (for testing) then make sure that you have a mail server installed - if you don't have one then check out Post Cast. Vger well i get this 'relaying' thing even that i have installed Mercury my php.ini looks likr this [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = Admin@localhost i tried to change the ini file to thisfor using my ISP mail [mail function] ; For Win32 only. SMTP = mailgw.netvision.net.il smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] but it was no good either; please note that my Outlook setting for my Gmail account using mailgw.netvision.net.il for outgoing mail server which indicates i can send mail with other reply address than my ISP mail server. :blink: Link to comment Share on other sites More sharing options...
♥Vger Posted March 12, 2006 Share Posted March 12, 2006 ;sendmail_from = Admin@localhost notice the ; in front of it. That means it's commented out. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.