CDONTS best pratices for a mailing (with cf_cdonts_mail)?
Posted on 2004-03-29
Due to our recent migration to a new host, I had (was recomended) to use, as many of the cf developers there, CDONTS (thru the well-known custom tag).
It works perfectly so far for single mail sending at once but I haven't adapted yet some of my code related to my newsletters process i.e. mailing at once to many recipients, customizing on the fly every message with data related to some queries recordsets.
CFMail was fine with that, tks to the 'query' field.
So I'm wondering what would be the best coding when using cf_cdonts_mail instead of cfmail, to preserve SMTP server performance and queueing matters.
Will I really need to loop through my query recordset and doing a cf_cdonts_mail in *each* record? Seems that the CF server will be more under pressure if we assume there'd be some 3000+ recipients (loops).
Is there another way to make it lighter?
Besides, and if you replied that at least I have to split my outgoing mails by successive smaller chunks, what would be the best coding to do the whole sending by chunks and by chunks of how many? Using scheduling pages? How long between each 'shot'?
Tks in advance.