Topic: Problem
Fatal error: Call to undefined function: mail() in /home/nilzzon/public_html/punbb/include/email.php on line 72
when someone is subscribing to a topic, this error occurs.
elajten.mine.nu
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 bug reports → Problem
Fatal error: Call to undefined function: mail() in /home/nilzzon/public_html/punbb/include/email.php on line 72
when someone is subscribing to a topic, this error occurs.
You dont have SMTP mail (or something like that) so turn off:
Subscriptions
Leave these blank:
SMTP server address
SMTP username
SMTP password
And put this to no:
Validate registrations
Then you shouldnt have a problem
(Thats what i have done anyway )
in some cases you can still use SMTP if mail() doesnt work. i think
oh... havent tried it... cant you get the SMTP information from phpinfo() page??
On my server the phpinfo() mentions "SMTP - Localhost; SMTP port - 25" Thats all.
Ill just check mine...
johni: What operating system are you using? On the server side that is.
Dont PUNBB give you a page??? I cant access my FTP stupid library computers....
What?
Edit: Ah, now I understand. You mean phpinfo? No, there's no page in PunBB where you can display that. Sorry :)
oh... i thought there was in a seperate folder... oh well must have been something else... cant view anything else at the moment cuz of the stupid f***ing IE @ the library dont allow me to access my FTP grrrrrr....
Stupid Lottery Funded things....
Kennel wrote:
johni: What operating system are you using? On the server side that is.
im using linux with apache. and all the smtp options are disabled.
It seems as if you don't have mail support compiled into your PHP module. Do you have an SMTP server installed? In that case which one? Also, did you have it installed when you configured PHP?
Kennel wrote:
It seems as if you don't have mail support compiled into your PHP module. Do you have an SMTP server installed? In that case which one? Also, did you have it installed when you configured PHP?
I dont have any smtp server installad. But I think i have mail support installed.
Well, the PHP configure script checks to see if you have an SMTP server installed and if not, it disables mail(). So, to be able to send e-mail, you have to options:
1. Install an SMTP server (i.e. Postfix) and reconfigure/compile PHP.
2. Setup an external SMTP server in admin/options.
PunBB Forums → PunBB 1.2 bug reports → Problem
Powered by PunBB, supported by Informer Technologies, Inc.