Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

emails don't send


richhill

Recommended Posts

Posted

Hi,

 

I've set up the site with no great trouble, but I am having a difficult time getting the emails to work. I've looked into the settings about a thousand times. I have actually got it to work, but then it stopped again. I have had trouble getting the welcome message out. I also found that, when it did work, I would get part of the information. when I tested the manual email system I found that I would get the middle numbers, but not the first and last 4 digits.

 

I'm going a little crazy. anyone with thoughts or clues.

Posted
Hi,

 

I've set up the site with no great trouble, but I am having a difficult time getting the emails to work. I've looked into the settings about a thousand times. I have actually got it to work, but then it stopped again. I have had trouble getting the welcome message out. I also found that, when it did work, I would get part of the information. when I tested the manual email system I found that I would get the middle numbers, but not the first and last 4 digits.

 

I'm going a little crazy. anyone with thoughts or clues.

 

Sounds like you may a Email Server problems with your server

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted
Sounds like you may a Email Server problems with your server

 

I've thought about that. I'm wondering if the server is treating the emails as spam. It might help if there was somneone who experienced the same difficulty.

Posted
I've thought about that. I'm wondering if the server is treating the emails as spam. It might help if there was somneone who experienced the same difficulty.

 

I have got the same problem, some hosts require the sender to be an account registered on the same hosting account.

 

change mail.php in includes/classes/

Find:

mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));

 

replace by

mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers), '-f [email protected]);

 

Of course replace [email protected]) by your own mail address registered at your provider.

 

That is a quick and dirty solution with hardcoded adresses.

 

i will possibly come up later with a contribution, according to the osc rules.

 

Michel

Posted
I have got the same problem, some hosts require the sender to be an account registered on the same hosting account.

 

change mail.php in includes/classes/

Find:

mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers));

 

replace by

mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers), '-f [email protected]);

 

Of course replace [email protected]) by your own mail address registered at your provider.

 

That is a quick and dirty solution with hardcoded adresses.

 

i will possibly come up later with a contribution, according to the osc rules.

 

Michel

i have vmade a mistake and forgotten a " ' " at the end of the replacement statement:

replace by

mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers), '-f [email protected]');

Archived

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

×
×
  • Create New...