I have a script processes a bunch of forms that are filled in by email addresses. Usually the script processes them instantly. But the odd time - outside of the testing environment - when live users are entering other email addresses (different domains...) I see them having to wait up to 1 minute or or more for the script to process. In times like that when I try to send the email it is even slow for me.
I am using the mail() with sendmail on redhat 6.2
The only thing i can think is i have to somehow send them to a queue so the php script doesn't have to let the user "hang" while slow sendmail is trying to send out the email.
Any ideas would be extremely EXTREMELY appreciated!!!
-Carl