Cartweaver.com

 facebook Facebook
 twitter Twitter

Blog Calendar

S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
<<  September  >>
2010

Blog search

Cartweaver.com ColdFusion and PHP
Shopping Carts For Adobe Dreamweaver.

Adobe Community Pro

Bookmark and Share

 

Tom MuckTom Muck's blog

Customer Contact plugin hints

Thursday, June 25, 2009 7:10:46 PM

Our new Customer Contact eNewsletter plugin allows you to send emails to customers and other contacts in your Cartweaver database. Sending email through a browser is a little different than using a service, if you have not done it before -- the execution time will vary depending on the speed of your server and number of emails you are creating. A list of 1000 emails might take 1-3 minutes to complete, and bigger lists can take proportionally longer. I used to send to lists of 50,000-100,000 for a large company, and the browser would be open for up to an hour. Sending personalized email can be a slow process.

As with anything, it's probably a good idea to test with smaller lists first, or lists consisting of your own email address, however there are a few things you can do if you are timing out or having other difficulties with larger lists:

For PHP:

1. make sure you have a valid file and/or email address in the CWError.php file. This can help track down problems
 
2. make sure that your php.ini setting for max_execution_time is set high enough for the large list. By default the maximum is 30 seconds, which can get you through a small list, but to send 1000 messages your maximum might need to be 100-200 seconds or more. Your page will take the full time to complete.
 
3. Make sure web server timeouts are large enough. Consult your web server documentation about page request timeouts.
 
For ColdFusion:

1. Make sure the ColdFusion setting for page execution is large enough, if it is enabled, or put a <cfsetting> tag in your cwcc_SendEmails.cfm file. This article talks about ColdFusion timeouts:
http://kb2.adobe.com/cps/194/tn_19438.html

2. Make sure web server timeouts are large enough. Consult your web server documentation about page request timeouts.

Category tags: Cartweaver, ColdFusion, FAQ, PHP, Plug-ins

Before posting comments or trackbacks, please read the posting policy.

Full Blog Calendar