Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email Sending Problems


dtran

Recommended Posts

Posted

I have researched this problem and sadly the support in Oscommerce is far from excellent. I had to get with my host in order figure this email sending problem out.

 

the current build 2.2 has issues with servers because of the way they handle spam. I wasn't able to send any email nor did the system send any when you sign up for an new account. Tried the smtp, sendmail, LF CRLF, etc. nothing worked because I had to modify some code in the email.php files (both in catalog and admin).

 

in email.php you have to change this:

 

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf,

$this->headers).$this->lf.implode($this->lf, $xtra_headers));

 

to this:

 

mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf,

$this->headers).$this->lf.implode($this->lf, $xtra_headers), "-f [email protected]");

 

where [email protected] is your actual information.

 

Once you edit both the email.php files, it worked perfectly for me.

  • 4 weeks later...
Posted
I have researched this problem and sadly the support in Oscommerce is far from excellent. I had to get with my host in order figure this email sending problem out.

 

the current build 2.2 has issues with servers because of the way they handle spam. I wasn't able to send any email nor did the system send any when you sign up for an new account. Tried the smtp, sendmail, LF CRLF, etc. nothing worked because I had to modify some code in the email.php files (both in catalog and admin).

<snip>

Once you edit both the email.php files, it worked perfectly for me.

 

I don't know who you are but you are my hero. Thanks. I was going crazy and got no help from my hosting company other than to google it which is a common answer to everything. I knew that the customers weren't getting the emails but I didn't let on to my clients. They got their order emails because I found a workaround. I will leave it in because it works. Now they will never have to know it wasn't working. :)

Thanks.

Posted

My hosting service, Linksky Value Hosting, has just piled on the straw that broke

the camel's back. They decided to implement new anti-spam measures

that broke my mail functions, and did so without notice or

forewarning of any kind.

 

It appears that this new anti-spam checker requires a valid

reply-to email address or it will fail. As far as I can tell, and I have

been searching non-stop for the last two hours, OsCommerce does

not have a reply-to setting, and I am unsure how to go about

correcting this. I would hate to go mucking around and make things

even worse than they already are. I've looked at tep_mail and everything else

but can't figure it out.

 

Can anyone help me with the changes that need to be made

to add this in?

 

BTW, I tried the code suggested here but that did not

fix my problem.

 

Any help will be greatly appreciated.

 

Thanks

Archived

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

×
×
  • Create New...