Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email not working


pinkicelemontea

Recommended Posts

I have just set up a new oscommerce but somehow the customers does not receive confirmation email upon registering or placing an order. I also does not receive additional email for order (as in admin). I have set true and sendmail etc... in the admin and it is still not working...

 

anyone has any advice...appreciate that please.

Thank You.

Link to comment
Share on other sites

Did you try changing the:

E-Mail Transport Method

??

this setting depends on type of server..

 

Plus make sure under configuration/my store - send extra order emails to - is formatted correct:

Name <email@address>

Lloyd

Link to comment
Share on other sites

Did you try changing the:

E-Mail Transport Method

??

this setting depends on type of server..

 

Plus make sure under configuration/my store - send extra order emails to - is formatted correct:

Name <email@address>

 

but how come the customer is also not receiving any email when signing up a new a/c

Link to comment
Share on other sites

I'd suggest taking OSC out of the equation by running the script below to see if PHP e-mail in general is working for you. I can't take credit for the script I think got it from the online PHP manual. Make sure to replace the "yourname" and "yourdomain" in the code before running it.

 

If the script returns, "Cannot Send Email" I'd suggest verifying your settings in the PHP.ini and checking the PHP log file for any helpful error messages.

 

 

<?php
// The message
$message = "Line 1\nLine 2\nLine 3";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);

// Send
$result = mail([email protected]', 'Test Subject1', $message);

if($result){
echo "Email Has Been Sent .";
}
else {
echo "Cannot Send Email ";
}
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...