Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Most efficient way to send mass email?

by shenme (Priest)
on Jan 05, 2005 at 03:58 UTC ( [id://419512]=note: print w/replies, xml ) Need Help??


in reply to Re: Most efficient way to send mass email?
in thread Most efficient way to send mass email?

@addr_slice = @addresses[$cnt..$cnt+20]; . . . . To => join(', ',@addr_slice),
I assume that one of the things that the package you are advocating makes real easy is *not* exposing one person's email address to another person. Do *not* use anything like the above code and expect to be thanked for it. One of the good side-effects of the original code was that no recipient would discover anyone elses email address.

While it does make a lot of sense to try to send to more than one recipient at a time, at least _try_ to use the Bcc: field to do so, not the To: or Cc: fields.

BTW: the efficiency best comes into play if you can sort your addresses by destination host name (the "right-hand side" of the email address). This way it is possible to send one copy from your side to the remote SMTP server, where it is then the remote side that make and distributes copies to the several local recipients.

Replies are listed 'Best First'.
Re^3: Most efficient way to send mass email?
by legato (Monk) on Jan 05, 2005 at 14:32 UTC

    Yet another excellent point. I guess the point of my code example was to show how quickly approaching this type task can get very messy, and to strongly suggest using something that has already been written and tested ad nauseum instead of reinventing a wheel.

    Your privacy point just reinforces my general point; thank you.

    Anima Legato
    .oO all things connect through the motion of the mind

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://419512]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-24 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found