usign the cron to send emails

I have a couple of mods that allows you to send out things immediately via email.  It tends to interrupt the flow of the module.

My thought was to toss them into the CRON and have that dole them out.

My question is, does the CRON email service spawn child services to send these out, or does it do them 1 at a time.

If it's 1 at a time, then my bright idea just fizzled. 

I can see having a couple 100 emails at a time to send as these mods are pretty hot and people use them all the time.

Thanks for any insight!

http://www.mytikibar.com
Quote · 30 Jun 2012

its uses the sendMail function to send mails and if there are many it uses loops.

so much to do....
Quote · 30 Jun 2012

I have figured out how to modify sendmail() to go into the mail que and be sent out by the cron.

Its not too ba of a mod to Perform and even has a control panel entry to turn it off and on.

If anyone is interested let me know!

http://www.mytikibar.com
Quote · 1 Jul 2012

You inserted the mails in sys_sbs_queue table? 

so much to do....
Quote · 2 Jul 2012

 

You inserted the mails in sys_sbs_queue table? 

 Well, yes, but understand, CRON uses sendmail as well, so I had to add a flag in CRON to NOT insert into the sys_sbs_queue table when it's ready to send out.

Also, a couple other tricks when inserting HTML into a database record.  lol

Also, it obeys if you have SMTP mailer installed as well.

It used to be when I sent out 40 drinks to my 40 closest friends it would take up to 2 minutes to return to the page (depending on how busy the destination mail server was).

Now, I can drop 40 emails into the que in under 5 seconds and it gets sent out as a cron!

 

http://www.mytikibar.com
Quote · 3 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.