Hi All,
I'm running a bulleting board in PHP and everytime a new user
registers s/he is supposed to receive an email confirmation. After
filling out the registration form and clicking on submit I get the
following error message:
Fatal error: Call to undefined function: mail() in
/usr/local/apache2/htdocs/ubbthreads/ubbt.inc.php on line 212
From what I've read I needed to have sendmail running, and it is. and
I needed to add my sendmail path to the php.ini file, which I also
did:
; For Unix only. You may supply arguments as well (default: sendmail
-t -i).
sendmail_path =/usr/bin/sendmail
Also, I tried to add my mail server IP address for SMTP, even though
it says Fro win32 only....but I wanted to use my mailserver to send
emails
I'm running on RedHat 8, PHP 4.3.4 and sendmail default installation
from RedHat.
Originally I had unninstalled the sendmail package b/c it was hanging
when I started my machine. I then installed PHP 4.3.4 and then when I
realized I needed sendmail to use the feature from the bulletin board
I reinstalled it.
Any thoughts/suggestions? I appreciate any help.
sincerely,
CoralineSage
I'm running a bulleting board in PHP and everytime a new user
registers s/he is supposed to receive an email confirmation. After
filling out the registration form and clicking on submit I get the
following error message:
Fatal error: Call to undefined function: mail() in
/usr/local/apache2/htdocs/ubbthreads/ubbt.inc.php on line 212
From what I've read I needed to have sendmail running, and it is. and
I needed to add my sendmail path to the php.ini file, which I also
did:
; For Unix only. You may supply arguments as well (default: sendmail
-t -i).
sendmail_path =/usr/bin/sendmail
Also, I tried to add my mail server IP address for SMTP, even though
it says Fro win32 only....but I wanted to use my mailserver to send
emails
I'm running on RedHat 8, PHP 4.3.4 and sendmail default installation
from RedHat.
Originally I had unninstalled the sendmail package b/c it was hanging
when I started my machine. I then installed PHP 4.3.4 and then when I
realized I needed sendmail to use the feature from the bulletin board
I reinstalled it.
Any thoughts/suggestions? I appreciate any help.
sincerely,
CoralineSage
Comment