Forum Moderators: coopster

Message Too Old, No Replies

mail() not working?

do some servers stop the mail() function

         

ryan_b83

10:52 pm on Jan 16, 2007 (gmt 0)

10+ Year Member



Hello, I am trying to get a script to send mail. I have used the mail() function sevral times in the past. I currently use it on my own server so i know how to use it. The problem is I am trying to get the mail() function to work on someone else's server and it just wont work? Could the mail() function be disabled? is there any way to test this? I dont think its a junkmail filter problem, since i turned it off to test.

Any ideas?
thanks,
ryan

Steerpike

11:52 pm on Jan 16, 2007 (gmt 0)

10+ Year Member




Yes, ISP's can restrict or block use of the PHP mail function. The often do because mail scripts are notorious for being abused by spammers and bots.

orlando

6:12 am on Jan 17, 2007 (gmt 0)



Is that server Windows Nt or Linux. Firstly, you should know NT has not PHP mail(). If that server is running under Linux, it's better to contact ISP to ensure they have opened it.