Hi @marksu2017,
Looks like you have a huge list of Subscribers. How many subscribers you have currently?
With respect to prevent slow sending of emails, you should use Cron method and target Cron url to send emails only once a day.
Also, we have noted down your suggestions to send emails faster and we might consider the same in later versions of Email Subscribers.
How many subscribers you have currently?
Erm, about that would be 47 active subscriptions. As I said, hosting is a bit slow. I don’t know how you compose the mail, but perhaps there’s a bottleneck there also. It used to work much faster when I only had like 20 subscribers.
With respect to prevent slow sending of emails, you should use Cron method and target Cron url to send emails only once a day.
I tried that, unfortunately to no avail. The cron system is equally slow. Moreover, it seems to not mark subscribers as already sent, when the connection closes mid-sending. Thus, some subscribers would receive the email twice.
Unfortunately, as this is a paid hosting, I cannot profile or switch on debugging or similar.
Hi @marksu2017,
As your subscribers count will increase, your hosting will be unable to handle the requests.
So maybe you can consider either switching your hosting OR use some freely available online webcron services.
external cron
that wouldn’t do any good, since this would only trigger the local sending of mails. You still use wp_mail() for sending, even for cron jobs.
But I found something: there is a sleep(60) in email-subscribers/classes/es-sendmail.php after every 25 emails sent. This could definitely hinder sending mails when sending directly. I’ve commented that out, much better now.
But still, AJAX sending with progress bar would be a nice option.
-
This reply was modified 9 years, 5 months ago by
marksu2017.
Hi @marksu2017,
sleep(60) is used to re-establish connection. Commenting it is not a good idea, but if it works for you, than it’s ok.
We’ll consider AJAX sending method for later versions.