Jump to content
xisto Community
Sign in to follow this  
ivobrett

Problem: Php And Sendmail - Sendmail Times Out Problems with PHP and sendmail

Recommended Posts

Hi Guys,On other hosting service I have had major problems using the sendmail function (i.e. mail()) from php. Basically the script times out waiting for sednmail to return from the function call. Anyone else had this problem and is there a solution?

Notice from m^e:
Make your topic titles as descriptive as possible. Topic title to message body relevance is counted as a big factor on this board, and is the key to elicitation of good replies from other members.
Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

Hai, The problem you are facing is not in PHP, but in your hosting provider. One reason is that you have no permission to use sendmail, second is that IP address si not in the list of allowed domains for the receiver.Check out with your host and check your script with other hostings.Then you will know what the real probelm is?hope it will help!!!!!!!!Sincerely yours,guntaka,http://www.qinf.org/

Share this post


Link to post
Share on other sites

My guess is that sendmail has been disabled but somehow mail() is allowed in PHP. So php tries to call sendmail but there's no reply (hence the timeout). If this is the case your host could disable mail() in PHP aswell. Other option is that sendmail isn't just working, because of heavy spamming or something.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.