Mail sending takes too long

Avatar
  • Answered
I've been using a VPS from inmotion for many years now and It's been a long standing problem with inmotion that the emails sent from PHP (eg, from a contact form on website) takes over 25 seconds to go through. Its damn too long and we're losing business because of it. I've talked to the support executives many many times but they could not provide a solution. I also asked a friend who has a shared account here and he also has this problem so my guess is this something across the whole servers.

I was wondering if anyone else also face this issue and what are you doing about it?
Avatar
-4
Arn
Hello, I'm sorry to hear that you're having issues with sending emails from your VPS using PHP. When you use PHP to respond and send an email, you're basically still running mail through the outbound process that is used on the server. The main difference is that you're not using the mail server to process the outgoing mail request. Yes, it's possible that the VPS is the cause of the delay, but you have to remember that all emails leaving a server go through the same process of being checked and verified for delivery. This does add to the process time. Have you tried using SMTP in place of using PHP for outgoing mail processing? This is not an issue isolated to our servers as you can see from this forum post. If you can pinpoint the issue to the server, then I would recommend submitting a verified support ticket to our support system pointing out the issue so that they can review it again. If you have any further questions, please let us know. Kindest regards, Arnel C.