Link to home
Start Free TrialLog in
Avatar of vedant0500
vedant0500

asked on

PhpList send 1,00,000 in 1 hour

Hi friends !,

i have installed phplist version 2.10.10 and now when i going to sent one mail to 100000 subscriber user list, getting too much time to send mail.. can anybody help me,
how to increase mail sending speed by phplist with postfix ...
Avatar of Richard Quadling
Richard Quadling
Flag of United Kingdom of Great Britain and Northern Ireland image

Are you sending 1 email to each subscriber separately?

Is the email the same one every time?

How about sending 1 email to 1,000 people at the same time?



If you are spamming, we _WILL_ hunt you down and feed you to the fishes.



What does your config.php file look like? http://docs.phplist.com/PhpListConfiguration is the documentation for the config file.

The various throttling options may be of use here.

Quit trying to do it yourself and sign up for the services of Constant Contact.  They are safe, accurate and almost embarrassingly inexpensive.

How much time is "too much?"  If you have 10 emails per second, you will need 10,000 seconds.  There are 3,600 seconds in an hour.  So you need your script to run for 3 hours.  Maybe the set_time_limit() function can help.
http://us.php.net/manual/en/function.set-time-limit.php

Please do not send unsolicited email messages.  Spamming is unwelcome anti-social behavior.  In the USA it is punishable by prison time.
You need approximately 27 mails per second, and this is quite possible.

Do not use any fancy frameworks like phpmailer(), use pure mail() function.
Avatar of vedant0500
vedant0500

ASKER

is it working with phplist or php ?
i have set set_time_limit(0) but still is not working ..
Do i have to spell my answer for you?
i am not getting you can you explain briefly ?
I can, don't worry.

You are using phplist, which has some overhead that contributes to slow mailing.

If you have the effort to change, thing like this will be the most efficient:
$mails=array('a@google.com', 'asd@fdsf.com');

$size=count($mails);
for ($i=0; $i<$size; ++$i) {
mail($mails[$i], 'Subject', 'Body');
}

Open in new window

first of all i want to tell you i am not php developer , i am linux admin . i am not getting you that what to you want say and above php code also. do you know about phplist hows it working, can you tell me where i have to do changes.
Great, then you can use bash and http://unixhelp.ed.ac.uk/CGI/man-cgi?mail.
please help me i want to send 1k emails in 1 hour. i have installed phplist-2.10.10 on cento os but application not sending Emails even more then 5000 in hour. please tell me what to do ?

here is my server configuration   :

OS : Centos
PHPlist 2.10.10
dedicated server 8GB RAM
I have PHP CGI
Cronjob possible/ SSH access
ASKER CERTIFIED SOLUTION
Avatar of Richard Quadling
Richard Quadling
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i know very well about this configuration and kind your information its possible to send Emails 1 k users in one hour.

please check this ..
http://forums.phplist.com/viewtopic.php?t=13421

Do you know where you limitations are coming from? Something as simple as your lan speed could limit you. The size of the message is another. If you are trying to send a plain text with a full HTML alternative with embedded images / attachments, etc. then this will be an issue.

If phplist isn't restricting you, then you need to find where the bottleneck is.

If the mail is a complex large HTML email, I'd recommend creating a web page for the message and sending a small "New mailing available at ....".

That way, you could give a small/simpler message (plain text or limited HTML) and link to the full page.

Yes, If you are sending HTML mails, you could skip plain text for older mail clients...
thanks, i have almost solved this problem by changing configuration file but i am getting  Error during the Email sending (Mailer Error: SMTP Error: The following recipients ). my email server is working fine there no any problem in Email server then why i am getting this Error ?
What is the rest of the error? Or is that it?
done