Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2281
  • Last Modified:

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 ...
0
vedant0500
Asked:
vedant0500
  • 8
  • 5
  • 4
  • +1
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
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.

0
 
Ray PaseurCommented:
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.
0
 
Rok-KraljCommented:
You need approximately 27 mails per second, and this is quite possible.

Do not use any fancy frameworks like phpmailer(), use pure mail() function.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
vedant0500Author Commented:
is it working with phplist or php ?
0
 
vedant0500Author Commented:
i have set set_time_limit(0) but still is not working ..
0
 
Rok-KraljCommented:
Do i have to spell my answer for you?
0
 
vedant0500Author Commented:
i am not getting you can you explain briefly ?
0
 
Rok-KraljCommented:
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

0
 
vedant0500Author Commented:
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.
0
 
Rok-KraljCommented:
Great, then you can use bash and http://unixhelp.ed.ac.uk/CGI/man-cgi?mail.
0
 
vedant0500Author Commented:
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
0
 
Richard QuadlingSenior Software DeverloperCommented:
1,00,000 ???
100000 (one hundred thousand)
1K (one thousand)

Assuming the 100K, then, as already said by Rok-Kralj, this is around 27 messages a second.

Did you look at phplist's config file?

http://docs.phplist.com/PhpListConfiguration

Look on that page for the throttles. What values do you have?

0
 
vedant0500Author Commented:
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

0
 
Richard QuadlingSenior Software DeverloperCommented:
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.

0
 
Rok-KraljCommented:
Yes, If you are sending HTML mails, you could skip plain text for older mail clients...
0
 
vedant0500Author Commented:
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 ?
0
 
Richard QuadlingSenior Software DeverloperCommented:
What is the rest of the error? Or is that it?
0
 
vedant0500Author Commented:
done
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 8
  • 5
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now