up vote 0 down vote favorite
share [g+] share [fb]

I have a simple Wordpress site with the Contact Form 7 plugin. When submitting a form via the site it can takes in excess of 30 seconds to process.

Contact 7 uses Sendmail to deliver the emails (to an external address). Form submission never fails (but is very slow), the rest of the site is fine speed-wise.

Is there a way to profile Sendmail to find out what is taking so long?

The address it its sending to is a Google Mail account and always gets through.

link|improve this question

50% accept rate
First question is - are you 100% sure that it's sendmail that's being slow? Can/have you perform some debugging on the plugin script to see that it's not hanging on a DB reference or something? – Mark Henderson Aug 24 '09 at 21:27
feedback

2 Answers

if you can watch the mail logs in real time, you will see the time between the mail gets into queue and it is actually sent and be sure it is a MTA problem or not

link|improve this answer
feedback
up vote 0 down vote accepted

Please see this answer, it was a FQDN problem.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.