Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Send email to select customers


FSUddin

Recommended Posts

Posted

Hi,

My oscommerce store hosting company limits the amount of emails I can send per day. I would like to contact all my customers, but I can only either email "all", "subscribers" or each customer individually. If select "all", for instance, I am over my per day limit and cannot send any more emails. Is there any way I can configure oscommerce to send out say, 100 emails at a time from my customer list instead of having to choose between all or one at a time? Thanks in advance.

 

FSUddin

Posted

For the newsletter to send to the first 10 customers open catalog\admin\includes\modules\newsletter.php locate this code:

 

	  while ($mail = tep_db_fetch_array($mail_query)) {
	$mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title);
  }

 

change it to this:

$counter = 0;
  while ($mail = tep_db_fetch_array($mail_query)) {
	$mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title);
	if($counter >= 10 ) break;
	$counter++;
  }

 

The problem is you cannot differentiate what customers will get the email so it will be the first 10 of the query according to the way they ordered. But it shows you where the code is and how you could limit it.

Posted

take my advice, either set up the smtp and send the emails via your ISP...

 

.... or basically download the whole of your site with database backed up and take your site elsewhere........

 

what kind of a stupid host would put that restriction on a fee paying customer (in other words you)?

 

there are a zillion hosts out there, you should move your site without compromising the html/php code!

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Posted
what kind of a stupid host would put that restriction on a fee paying customer (in other words you)?

 

Well - most of them actually. ISP's have had to put strict limits on the amount of email they let applications on their servers send due to huge financial penalties the spam police hit them with if their servers are guilty of being used to send spam.

 

A limit of 300 emails a day is typical in my experience. To the OP - the best thing to do is go to a company that provides a service for legitimate business owners who need to email large databases of customers. Try these guys:

 

http://www.intellicontact.com

Posted
Well - most of them actually. ISP's have had to put strict limits on the amount of email they let applications on their servers send due to huge financial penalties the spam police hit them with if their servers are guilty of being used to send spam.

 

A limit of 300 emails a day is typical in my experience. To the OP - the best thing to do is go to a company that provides a service for legitimate business owners who need to email large databases of customers. Try these guys:

 

http://www.intellicontact.com

 

you can also install Email Queue and set it to send x emails per hour or so.

Treasurer MFC

  • 1 month later...
Posted
you can also install Email Queue and set it to send x emails per hour or so.

 

Thanks to everyone who responded.

 

 

FSUddin

Archived

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

×
×
  • Create New...