Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Online Contact Form Sometimes Takes Several Hours To Arrive Via Email

Posted on 2014-03-03
8
Medium Priority
?
296 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 111

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 53

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 111

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 84

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 84

Expert Comment

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

721 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