Reply
best way to send ALOT of emails (25000+)
Old 05-06-2005, 10:54 PM best way to send ALOT of emails (25000+)
TyR
TyR's Avatar
Super Talker

Posts: 136
Location: Frei - Norway
Ive been thinking about making a so called "Paid to Read Emails" script, and i was just wondering wot would be the best way to send as much as 25000 emails at once :S
i guess this wouldnt work 2 well:
PHP Code:
for($i=0$i<=25000$i++){
stuff and such here...
mail(stuff);

:P

try to split it up more or something maybe
TyR is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-06-2005, 11:05 PM
Republikin's Avatar
Super Moderator

Posts: 3,191
the mail function is definatly not the way to go with that many emails. What your going to want to do is make a socket connection to your SMTP server and wrap all the emails in an env and use RCPT TO:. This will send all the emails in one fell swoop and won't make 25,000 connections to the server.

Here is the SMTP RFC for your reading pleasure.

P.S. Remember that socket programming can be fun but challenging.
Republikin is offline
Reply With Quote
View Public Profile
 
Old 05-06-2005, 11:13 PM
TyR
TyR's Avatar
Super Talker

Posts: 136
Location: Frei - Norway
oh yeh, thanks

shouldnt be that hard, i made a ircbot once with sockets... and IRC RFC as my only manual :P

and ive tried to send emails through telnet so i guess i kinda know how it works
TyR is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 05:10 AM
leavethisplace's Avatar
Ultra Talker

Posts: 297
awesome, i need to know that actually!
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites: www.festerband.com | www.thegourmetpatisserie.co.uk
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 05-11-2005, 09:41 AM
Novice Talker

Posts: 7
I can sell you a class for sending emails compliat to rfc and supporting authentication .
Get back to me .
__________________
Kind advice : GatorHost Excellent Hosting - PR:7
Coder-X is offline
Reply With Quote
View Public Profile Visit Coder-X's homepage!
 
Old 05-11-2005, 10:00 AM
Average Talker

Posts: 15
Location: New Jersey
Just to add a note. You may want to limit the number of emails sent simultaneously. You might even want to limit the number to as little as 50 every 30 seconds. We use the "drip email campaign" for registered users and have had a lot of luck with sending 200 "compliant emails" every minute with <10% being bounced back as spam. When sending 50 I would have at most 2 email bounced back. Good luck
wbarrett26 is offline
Reply With Quote
View Public Profile Visit wbarrett26's homepage!
 
Old 05-11-2005, 09:56 PM
Logical Program's Avatar
Super Talker

Posts: 130
Location: Atlanta, Georgia
Hrmm, I just wrote an "email bomber" just to play around with PHP classes and javascript w/ DOM...

It can send as many emails as you specify without any problems... Just, the once you start sending over 2,000 emails, you have to set a sleep time between each send, or the server can't keep up with the script.
__________________
Logical Programming - For all of your website programming and design needs, make the logical choice. Logical Assistance For Real-World Clients.
Logical Program is offline
Reply With Quote
View Public Profile Visit Logical Program's homepage!
 
Reply     « Reply to best way to send ALOT of emails (25000+)
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13519 seconds with 12 queries