473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Best way to send mailing list email

I'm writing a simple mailing list program, and I would like to know
what the suggested method of sending a large number of emails to a list
of addresses. (sounds like spam, no?)

It's perfectly legit, it's just an opt-in mailing.

I have a feeling that using a 'while' loop with repeated calls to
mail() is not the best practice. Is there something better I should be
doing?

--
- Thom McGrath
Head of the ZeeTox Project and lead programmer for The ZAZ
Contact me with iChat or AOL Instant Messenger: zazTekcor

Jul 17 '05 #1
4 4789
Hi Thom!

On Thu, 12 Feb 2004 10:00:59 -0500, Thom McGrath <th**@thezaz.com>
wrote:
I'm writing a simple mailing list program, and I would like to know
what the suggested method of sending a large number of emails to a list
of addresses. (sounds like spam, no?)

It's perfectly legit, it's just an opt-in mailing.

I have a feeling that using a 'while' loop with repeated calls to
mail() is not the best practice. Is there something better I should be
doing?


I think its perfectly fine, if you run it from a cron process and you
do not run it longer than until the next one starts. Also, you should
built in in a way that it can be stopped at nearly any time ,without
loosing recipients sendouts.

HTH, Jochen

--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2
"Thom McGrath" <th**@thezaz.com> wrote in message
news:2004021210005965722%thom@thezazcom...
I'm writing a simple mailing list program, and I would like to know
what the suggested method of sending a large number of emails to a list
of addresses. (sounds like spam, no?)

It's perfectly legit, it's just an opt-in mailing.

I have a feeling that using a 'while' loop with repeated calls to
mail() is not the best practice. Is there something better I should be
doing?

--
- Thom McGrath
Head of the ZeeTox Project and lead programmer for The ZAZ
Contact me with iChat or AOL Instant Messenger: zazTekcor


what is a large number to you? 10 - 20 million or 10 - 20 hunder thousand or
just a few thousand?
diff aproach for diff number of emails

--
Mike Bradley
http://www.gzentools.com -- free online php tools
Jul 17 '05 #3
On 2004-02-12 14:41:23 -0500, "CountScubula" <me@scantek.hotmail.com> said:
what is a large number to you? 10 - 20 million or 10 - 20 hunder thousand or
just a few thousand?
diff aproach for diff number of emails


Could vary. This could become an excessively large project. I think a
couple hundred thousand would be a reasonable limit... though millions
are a possibility. But by the time we ever hit that, there will be
newer technologies.

So built around a 300k user-base. How would you approch it?

--
- Thom McGrath
Head of the ZeeTox Project and lead programmer for The ZAZ
Contact me with iChat or AOL Instant Messenger: zazTekcor

Jul 17 '05 #4
with that size of a list, your could install a list mailing software, such
as majordomo (i think thats what its called)

or write a mailing script, take chunks of emails, say 2000, sort them, and
batch them via MX

For same domain such as : jo*@hotmail.com, ja**@hotmail.com
make 1 connection to MX server, send email, send RSET command, send next
email.
This way you do not have to reconnect after each email.

Generaly I will send about 500 emails per connection. ( i am not talking
about cc, or bcc, but individual emails)

You could take your list, split into 10 files, and sort each file, then
launch 10 proccess to mail each list.

you should finish in an hour to 4 hours, depending on the number of domains
in list. I can generaly send about 100 thousand/hour into aol, but hotmail
is a little slower, fewer incomming MX server. When it comes to emails from
everyone and anyone, I can generaly run about 50-70 thousand an hour. This
is per mailing machine, one company I set up had 24 mailing machines, we
could get out about 50 million per day. (dont ask, I just get paid to
develope stuff)

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Thom McGrath" <th**@thezaz.com> wrote in message
news:2004021217254316807%thom@thezazcom...
On 2004-02-12 14:41:23 -0500, "CountScubula" <me@scantek.hotmail.com> said:
what is a large number to you? 10 - 20 million or 10 - 20 hunder thousand or just a few thousand?
diff aproach for diff number of emails


Could vary. This could become an excessively large project. I think a
couple hundred thousand would be a reasonable limit... though millions
are a possibility. But by the time we ever hit that, there will be
newer technologies.

So built around a 300k user-base. How would you approch it?

--
- Thom McGrath
Head of the ZeeTox Project and lead programmer for The ZAZ
Contact me with iChat or AOL Instant Messenger: zazTekcor

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bob Bedford | last post by:
I must integrate an existing mailing list manager. We must send newsletters to registered users on our site and we are looking for various features: - send text and html emails - send in "to."...
4
by: I'llGetItRightSoonerOrLater | last post by:
X-No-Archive: yes I need some help using Access to send a pre-formated e-mail message from my Outlook Drafts folder to a mailing list. At work I'm frequently asked to forward someone else's...
20
by: Keith G. Murphy | last post by:
I'm trying to get a feel for what most people are doing or consider best practice. Given a mod_perl application talking to a PostgreSQL database on the same host, where different users are...
4
by: Collin Peters | last post by:
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the...
4
by: Andy M | last post by:
ALERT There is a person by the name of Mike Cox who's trying to turn this mailing list into a Big-8 newsgroup. Many of you know that this and most of the other postresql mailing lists are...
14
by: Mattia | last post by:
I have a very big problem. I must send a single mail to multiple receivers. The number of receivers are very big: approximately 6000 users, but this number increase each year. I find a lot of...
1
by: johnny | last post by:
hi all, I would like to understand which are the best ways to send bulk mailings like for newsletters and so on ( not spamming, always to receivers who opt-in ). I am not looking for code for...
2
by: rn5a | last post by:
A Form has a select list which is populated from a MS-Access database table. The DB table from where the select list is populated has 2 columns - CountryID & CountryName. When the Form is posted,...
4
by: chris | last post by:
I need to maintain a list of subscribers to an email list for a "newsletter" that will be sent via a web form probably once a month. I anticipate low numbers--tens to maybe one hundred subscribers...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.