I am creating a script for sending bulk email with different-different subject and dynamic message. I am using for loop and php mail function for seding mail. when i am running script it will take long time to send all emails and also consume high CPU usage. Do you any suggestion or any script which run fast and sending 500 emails email at once without high CPU load.
Thanks