i have a website i created for someone and i created a contact form and the emails are not coming today…they come in tomorrow or just take too long.
and that is not good because he plans on holding an even where he needs to get feedback right away.
why is the mail going slow and how can I fix it now and fast!
Most of the time I get server generated email pretty much on time. There is no doubt however that from time to time the dreamhost mail queues do get backed up.
The only two solutions are
-find a more reliable external SMTP server that will allow you to send mail and reconfiguring your contact form accordingly.
-bypass using email (or add a backkup).
The second option is probably the quick fix. Replacing or right after the mail() statement in your contact form just open a file on the server in append mode and write the same information as was contained in the email. Have the path to that file be somewhere in it’s own folder so that you can add an .htaccess file to secure it (setting it up so the client can “log in” via credentials or the clients IP address is recognized. The caveat is that you have to figure out how to keep the file from getting really really big-- one option might be to use date based filenames, giving a new file for each day (or month). Then you could write a few lines of PHP that made a nice pretty looking front door index.php to those files, and just give the client the URL to the .htaccess controlled folder.
i have dream host configured with gmail
and im a bit confused with how to go about opening a file. you mean creating one on the server and having it append the messages?
my client wants them to reach his email.
and yes of course i have a from field
basically my client will kill me in a few days when he holds his huge meeting and no one can get through to him.
this was suppose to be simple and fast.[hr]
here is a header that can perhaps give some help
Bottom line: I acknowledged and confirmed your complaint in my first line… yes, dreamhost mail queue’s do get backed up from time to time, and Yes it is a problem. There is nothing you can do to fix it, other than what I mentioned, reconfigure your shell user to use some other SMTP server (there are so many issues, pro’s, and cons with that one that I actually wouldn’t attempt it). On the other hand you can bypass email and deliver the results to your customer in some other more reliable form.