in reply to Re^5: Net::SMTP newsletter
in thread Net::SMTP newsletter

I am just a noob in perl Corion...so please give me further details,an +d NO I am not asking for the full code just some hints to work on...I + never worked with simple threads and neighter with threads::queue I +just had some fun with Parallel::Forkmanager...Anyway i'm really a no +ob sorry for any headacke I may cause but I really need help...

Replies are listed 'Best First'.
Re^7: Net::SMTP newsletter
by Corion (Patriarch) on Dec 22, 2008 at 16:15 UTC

    What part of the code do you have problems with? My code is a self-contained example of how to easily do things in parallel by using threads. I'm sure you could basically do the same using Parallel::ForkManager. So maybe you want to do that.

      Fast answer...anyway with Parallel::ForkManager I can only send to 1 e +mail at a time...I just can't make it take the first 10 emails in 1 f +ork and the next 10 in the second fork...This is what I want to do

        Just do it just like I did in my example. I partitioned the addresses into batch jobs of size 10, just like my comments say. That happens even before I start the parallel processing. So just use the code I showed to feed each Parallel::ForkManager run with 10 addresses instead of just with one.