Solved

Online Contact Form Sometimes Takes Several Hours To Arrive Via Email

Posted on 2014-03-03
8
293 Views
Last Modified: 2014-03-18
I'm using send.php to grab input from our website from customers and then it sends the message to our exchange server.  Sometimes emails arrive right away and sometimes they take several hours.  I'm wondering what I can do to ensure they are delivered quickly.  Thank you.  

I've attached my send.php file and removed our email address for security purposes.  I can also attach the original html contact page which calls this send.php if you need it.
send.php
0
Comment
Question by:tholdren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39901794
Likely there is nothing you can do.  If you're on shared hosting and your email is being sent at the same time a 1000 others are being sent, it will just take a while.  I've had it take up to 4 hours to receive an email from one of my web sites although it is normally 'instantaneous'.  It can also depend on how busy your Exchange Server is at that time.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39901828
Agree with DaveBaldwin.  If you're on a shared hosting server, there are some things that don't mesh well with professional online applications.  Timely email is one.  You might consider using this successor in interest to SliceHost.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39901830
Are you sending TO your exchange server or THROUGH your exchange server?  I am not well versed in php yet, but from my asp experience, if you are sending via your webserver there is a chance the ISP is throttling. 4hrs does sound like a long time.  If you can open relay through your exchange server, that should speed things up.  I use a 3rd party mail service either mandrill.com or sendgrid.com for my transactional email.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:tholdren
ID: 39901859
Ahh, makes sense guys.  So maybe I could just run in an house webserver just for the contact form, and have the link on our website (hosted through Go Daddy) link back to our internal webserver.  I'll try that.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39901867
That would be a good thing to try -- easy and likely to show good or bad results very quickly!
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39902022
If you still send thru the Godaddy mail server, you haven't changed a thing.  Godaddy has over a million active web sites and sometimes they all seem to want to send mail at the same time.
0
 

Author Closing Comment

by:tholdren
ID: 39936948
I moved the form based PHP documents to our inhouse linux server and now the sending is happening immediately.  It must have been something to do with running it on GoDaddy's servers.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39937329
Thanks for the points.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question