Re: How can I remove the php delay when users are emailed
I think I found the answer to my question with a bit of sendmail/exim research.
Apparently adding “-odq” to the end of the mail() options will force it to queue only, which means instant response back to the user. However that delays mail of course until the next exim run. “-odb” is supposed to be the default, running the delivery in the background and not while mail() waits, but I seem to get the best of both worlds, instant delivery and no wait on mail() when I force it, so forced it is.
Recommended for other plugins that use mail: