faqts : Computers : Programming : Languages : PHP : Common Problems : Errors

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 12 people (33%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

I am using php mail() function to send a mail. but get a error message "undefined mail() function".

Nov 22nd, 2004 21:39
Michael Phipps, bijay sinha, Knud van Eeden,


The most likely reason for this is that PHP has been compiled without 
the mail function, possibly for security reasons.
Best bet is to ask your network administrator if it has been switched 
off.  If you are the network admin, try recompiling PHP.