Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

emails being filter due to osc not setting headers


jmurch

Recommended Posts

After a bunch of troubleshooting I resoved my emails being blocked by ISPs by adding info in the headers position for PHP mail. If this arg is empty apache sets them to apache and they were getting filtered.

 

I added a 6th arg to the mail in /functions/general.php around line 1021:

 

 

OLD:

// Send message

$message->build_message();

$message->send($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject);

 

 

NEW:

// Send message

$message->build_message();

$message->send($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject, $from_email_address);

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...