Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting the SMTP server?


janetgot

Recommended Posts

Posted

Hi,

 

My orders have stopped being emailed from the store. >_< My ISP (Crystaltech) sent the following email, which is likely the problem.

 

This email is to inform you of a change that will affect customers utilizing PHP email scripts.

 

You will need to specify your mail server and list a valid email address as your 'Send Mail From' address.

 

So in your PHP email script:

 

/* Specify your SMTP Server, Port and Valid From Address */

ini_set("SMTP","mail.yourdomain.com");

ini_set("smtp_port","25");

ini_set("sendmail_from","[email protected]");

 

Can somebody tell me where I might be able to change the email script for the store?

 

Thanks bunches,

Janet

Posted

As a followup, I have tried adding this code to my checkout_success.php page and my checkout_confirmation.php page, but still no email is being sent. Is there another page I should be putting this code on? :blink:

 

I guess my question on what page does the email script actually reside for orders?

 

Thanks,

Janet

Posted

I found it! In case somebody is looking for this... the code should be added to the catalog/checkout_process.php page to send the email order confirmation. I'm still looking for the other places that use email forms.

 

Janet

:P

Archived

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

×
×
  • Create New...