PHP and mail() function issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
krsm1980
Forum Commoner
Posts: 25
Joined: Sat Jan 09, 2010 12:33 am
Location: IN
Contact:

PHP and mail() function issue

Post by krsm1980 »

Hi

My website is customised in php, and at the contact us pages i've been using the mail() function to get the emails from this form to my email ids.

I have places everything in place, and working fine as well.

But the major problem is i receive the email in more than 4 hours+.

So if a customer sends us any query from our website it's taking 4+ hours.

I dont know what to do in such case, i have reviwed the code twice and dint find any problem with that.

All i looking forward to use any other method, is there any other method, where i dont have to use this mail() function, and receive the email in pretty fast manner.

I am also open to use any email server, which i can use to send and receive email from.

plz help. thanks in advance. KRST
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: PHP and mail() function issue

Post by social_experiment »

This reads more like a delivery problem as opposed to mail() issue. Have you consulted with your hosting provider?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply