Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oscommerce no sending emails ?


Acknowledeged74

Recommended Posts

Hi

 

Basically when you purchase, set up an account etc no email is actually sent to the customer. This is not the end of the world with purchases as Paypal sends a confirmation but say to confirm account and to get password reminders etc this is a problem.

 

Our host only supports phpmail so I would imagine this is the related issue.

 

Is there somewhere that I'm missing in the admin to set this up?

 

I appreciate any advice.

 

Regards

 

Ashley

Link to comment
Share on other sites

OK so I've followed the instructions from a tutorial I found http://www.inmotionhosting.com/support/website/oscommerce/setting-up-smtp-with-oscommerce but something is still wrong.

 

I've used:

 

require_once(DIR_WS_CLASSES . "class.phpmailer.php");

$pMail = new PHPMailer(); >$pMail->From = $from_addr;

$pMail->FromName = $from_name;

$pMail->IsSMTP();

$pMail->Host = "mail.yourdomain.com"; // replace with your smtp server

$pMail->Username = "[email protected]"; // replace with your smtp username (if SMTPAuth is true)

$pMail->Password = "password"; // replace with your smtp password (if SMTPAuth is true)

$pMail->SMTPAuth = true; // true/false - turn on/off smtp authentication

$pMail->Subject = $subject;

$pMail->Body = $this->output;

$pMail->AddAddress($to_addr, $to_name);

$pMail->IsHTML(false);

return $pMail->Send();

$pMail->ClearAddresses();

$pMail->ClearAttachments();

}

}

 

but it says there is an error in $pMail = new PHPMailer(); >$pMail->From = $from_addr;

so I removed the >$pMail->From = $from_addr; part and the error has gone but no emails are being sent, really need some advice on this one guys, thought I'd found the answer but still having issues, so annoying, maybe having a blond day but would really appreciate a couple of tips, or ideas where I've gone wrong here.

 

Here's a screen shot from my Email options, I think this is right?

 

screenshotemail.gif

Got everything else on the site working great just this bloody email issue, please lend a hand if you can.

 

Ash x

Link to comment
Share on other sites

  • 2 weeks later...

I found http://www.oscommerce.com/forums/topic/24963-email-not-emailing/page__st__60 and I've tried literally every suggestion that I can find through Google and the Forum.

 

How can the OSC software have such a common problem, and apparently there isn't a fix.

 

What I mean to say is how can there not be a solutions to this. We have taken the time to use and setup this and this little elements is a nightmare a no doubt losing us money.

 

Please any advice would be massively appreciated.

Link to comment
Share on other sites

Try moving your site to hostgator, 24/7 support, and proper mailserver set up. No additional settings neccesary with a out of the box install of oscommerce

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Try setting up a virtual webhosting environment using Xampp for windows, This way you can't screw up an online store [live shop] no mater what you do :lol: . It is a safe and easy way to test out your shop without damaging the live site that your customer sees.

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...