Send subscription via new Thread to stop slow posts?
I use google for my SMTP server and they seem to have an artificial "slow down" built in -- probably to prevent spamming. However, this makes it so if I have lots of people subscribed, it takes a REALLY long time to complete the post.
Could you change the logic so that when the even triggers to send email on a new post that it sends that email from a new PHP thread? That way the user will immediately be returned to the page while PHP happily sends the email in a background thread somewhere.
0 · ·