by Nullsig » Mon Jun 06, 2011 8:00 am
Do you write to the database? Or, do you just send out the mail?
Usually the mail server doesn't really slow down the system as the message is just thrown into a queue to be handled by the server, only checking that the message is actually queued.
If you are doing reads and writes to a database before (or even after) sending the message, your queries are probably unoptimized and slowing down the processing of the page.