Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: Just can sent only ONE mail every time.

by WalkingZero (Sexton)
on Aug 28, 2007 at 04:19 UTC ( #635490=note: print w/replies, xml ) Need Help??

in reply to Re^4: Just can sent only ONE mail every time.
in thread Just can sent only ONE mail every time.

As an afterthought, since you already fixed it. Here's a peice of advice that may or may not work for you. I am currently working with SMTP for work with a postfix mta system. you may want to consider using threads and Thread::Queue. then you queue up your messages, create a pre-defined number of threads and just have them pull from the queue then join when they are done. Very fast very efficient.

"One future, two choices. Oppose them or let them destroy us" - Propaghandi
  • Comment on Re^5: Just can sent only ONE mail every time.

Replies are listed 'Best First'.
Re^6: Just can sent only ONE mail every time.
by pysome (Scribe) on Aug 29, 2007 at 07:37 UTC
    Thank your reminder.I will try it in the future.Can you show some snippet of code how to finish the idea by Thread::Queue.

    BTW,I am also manage our Postfix MTA,just a jackaroo:)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://635490]
[Corion]: We-ird - I hadn't known this, but Ingress and Pokemon Go (both AR games in the real world where you run around) switched from using Google Maps to OpenStreetMaps, which is great. But I wonder why, as Ingress is (was?) owned by Google/Alphabet. But ...
[Corion]: ... maybe not wholly owned, or the load on Google Maps was too high?!

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2018-03-19 09:12 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.