Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Problem: Php And Sendmail - Sendmail Times Out, Problems with PHP and sendmail
ivobrett
post Jul 5 2005, 09:33 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 3
Joined: 5-July 05
Member No.: 6,843



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.


This post has been edited by microscopic^earthling: Jul 5 2005, 10:02 AM
Go to the top of the page
 
+Quote Post
guntaka
post Jul 7 2005, 09:52 PM
Post #2


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 7-July 05
Member No.: 6,901



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,
www.qinf.org
Go to the top of the page
 
+Quote Post
Hercco
post Jul 8 2005, 01:19 PM
Post #3


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Problem With PHP Scripts Without MySQL(1)
  2. Simple PHP News System Problems(1)
  3. User Authentication Session Handling Problems(14)
  4. Making My Album(3)
  5. Htaccess/gd Problems.(0)
  6. I'm Having Problems With Sessions(2)
  7. Five Common Php Database Problems(0)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 11:55 PM