Script send email of a list every 20min

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
mfred9
New user
New user
Posts: 1
Joined: 2020-03-30 12:15

Script send email of a list every 20min

Post by mfred9 » 2020-03-30 12:22

Hi

I have a big list to send.
And i want to send 20 emails every 20 minutes.

Who can help?

User avatar
mattg
Moderator
Moderator
Posts: 21268
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Script send email of a list every 20min

Post by mattg » 2020-03-30 15:03

breaking it up and using a scheduled task

What are you hoping will be achieved by splitting it every 20 minutes
How many messages?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Andre_Berger
New user
New user
Posts: 2
Joined: 2020-07-13 15:34

Re: Script send email of a list every 20min

Post by Andre_Berger » 2020-07-13 15:38

Hello all,

we have the same problem. We'd like to send about 400 mails every 15 minutes. Can you please explain how we can scirpt this and schedule it as a task ?

Thanks a lot in advance

Andre_Berger

User avatar
mattg
Moderator
Moderator
Posts: 21268
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Script send email of a list every 20min

Post by mattg » 2020-07-14 01:23

How is the mail generated?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Andre_Berger
New user
New user
Posts: 2
Joined: 2020-07-13 15:34

Re: Script send email of a list every 20min

Post by Andre_Berger » 2020-07-27 12:44

Hello,

sorry for my late answer. I was in vacation. The e-mails are generated by a website in php and handed over via smtp to the mailserver. Around 6400 mails will be generated at once (All Recipients) but we want it to send it in batches of 400 mails every 15 Minutes.

User avatar
mattg
Moderator
Moderator
Posts: 21268
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Script send email of a list every 20min

Post by mattg » 2020-07-28 04:00

Then change your PHP to limit how many messages it creates at a time
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply