Throttled Emails

This question was once asked by someone else a year ago and no one answered and it makes total sense to people that do not have dedicated servers or can’t afford to pay $120 a month starting up so…

Where is the php file that physically sends the email> “$email->send…” Because above that line of code, I’d like to add an 8 second sleep timer to send 1 email per 8 seconds according to our servers so we will not get hit with spam. Perse, to WAIT 8 seconds before sending the next one that is. We are doing this with our other StoreCore system and works flawless for over 2 years even if we are sending 700.

Please someone answer this question as I cannot seem to find it and others are seeking this too.

I would say (from a quick search) it is here

https://github.com/salesagility/SuiteCRM/blob/master/modules/Emails/Email.php#L1146

but I might be wrong… good luck. Please share your results if successful.