Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with e-mails


Guest

Recommended Posts

Posted

Hi,

 

Can anybody help. I have checked my server and it is sending and receiving e-mails OK- so no problem there

 

But on testing my site, I can't send e-mails I get the following error message

 

 

 

Warning: mail(): SMTP server response: 554 <ann@domain>: Recipient address rejected: Relay access denied in e:\domains\k\mydomain\user\htdocs\catalog\admin\includes\classes\email.php on line 520

 

Warning: Cannot modify header information - headers already sent by (output started at e:\domains\k\mydomain\user\htdocs\catalog\admin\includes\classes\email.php:520) in e:\domains\k\my domain\user\htdocs\catalog\admin\includes\functions\general.php on line 22

 

Can anybody help

 

Thanks

Posted

The second error is caused by the first. The first error simply states that you don't have permission to 'relay' mail from your test website via the mail facilities provided by your Internet Service provider.

 

If this test website is a local install then you need to have a local mail server installed, such as Post Cast.

 

If this is an online test website then you need to set up an e-mail address on the domain that the test website is on and use that for your osCommerce e-mail address.

 

Vger

Posted
The second error is caused by the first. The first error simply states that you don't have permission to 'relay' mail from your test website via the mail facilities provided by your Internet Service provider.

 

If this test website is a local install then you need to have a local mail server installed, such as Post Cast.

 

If this is an online test website then you need to set up an e-mail address on the domain that the test website is on and use that for your osCommerce e-mail address.

 

Vger

 

Thank you very much for replying so promptly. What I have done is install my shop but in the meantime I have got a live "holding page" on my site, I am now wondering whether this is my problem. My domain e-mails are set up and I can send and receive from the POP3 box, I'll try temporarily taking off the holding page to see if this makes a difference.

 

As I am news to all this (I tried three commercial shops and spent loads of time with them, but in the end none were good enough for various reasons (usually "because I asked to much from the shop"), this one I love it is so good and meets my needs (I'm really not that demanding).

 

When I have finish I will have a live site, I am aware I need to also have a test site - do I make a copy in a different folder for this and copy the database with just a few items in it ?

 

Thanks

Posted

Having a live holding page will make no difference to e-mail operation.

 

When you say "My domain e-mails are set up and I can send and receive from the POP3 box" are your 'send' (SMTP) functions on your computer set to send e-mails via your Internet Service Provider e.g. smtp.yourisp.com? This will often work, but not when those e-mails are sent from your website. For them to work from your website then your hosting company has to provide you with an outgoing mail (smtp) service, and there are a few hosting companies who don't do this. You will need to have the ability to send e-mails from your website (smtp) via e.g. mail.yourdomain.com, smtp.yourdomain.com.

 

Vger

Posted
Having a live holding page will make no difference to e-mail operation.

 

When you say "My domain e-mails are set up and I can send and receive from the POP3 box" are your 'send' (SMTP) functions on your computer set to send e-mails via your Internet Service Provider e.g. smtp.yourisp.com? This will often work, but not when those e-mails are sent from your website. For them to work from your website then your hosting company has to provide you with an outgoing mail (smtp) service, and there are a few hosting companies who don't do this. You will need to have the ability to send e-mails from your website (smtp) via e.g. mail.yourdomain.com, smtp.yourdomain.com.

 

Vger

 

I think I have as I have mail.youdomain.com, but I just going to check again with them, but when I go to my webmaail on my domain I can send from there.

Posted
I think I have as I have mail.youdomain.com, but I just going to check again with them, but when I go to my webmaail on my domain I can send from there.
Posted

Yes I can send email

 

Web Hosting Co :" Sending Email (e-mail) from a website

 

ASP Based Components

 

Your ASP code can use any of the following components:

 

 

CDO (Microsoft's Colaborative Data Objects Library) - search the MSDN site for CDO and CDONTS.

JMail refer to http://www.dimac.net

 

Use the PHP mail function and set the mail from using the following line of code - replacing email@mydomain with the correct domain name.

 

ini_set("sendmail_from", " email@mydomain ");"

Archived

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

×
×
  • Create New...