In reply to:
Does that mean I am not using sendmail correctly? I am using simply mail($email, $subj, $text, $headers); .
Across the past two weeks I've been testing this service, emails have been regularly delayed following the form submission.
If this is a sendmail issue -- then the same question applies -- how do I work around the sendmail delays?
The service being sold is one that would be ideally /completed/ within 15 minutes of purchase. That means a delay of even 10 minutes is the upper limit of acceptibility. I realize there are a huge number of factors which can delay email -- but these delays appear to be somewhere between php and dreamhost.
You are definitely using mail() correctly (see this wiki article for confirmation). The problem is definitely within the mail server, and it is intermittent. I just tested four of my forms, and I received all four emails immediately. I don't know of any way to get around the problem, I'm afraid, but it normally works just fine.
--------
Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code SCJESSEY97