Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 01:54 am EDT

Geeklog Forums

mail errors


Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Hi,

I'm struggling to resolve my mail sending errors.

I'm running geeklog-1.3.10cvs.

with backend=>smtp, I get this error:

pear_error: message="unable to set sender to [@]
" code=0 mode=return level=notice prefix="" info=""

with backend=>mail and have_pear=false I get:

Fatal error: Call to undefined function: mail() in /var/www/robinbowes.com/geeklog/main-CVS/system/pear/Mail/mail.php on line 109

with backend=>mail and have_pear=true I get:

Fatal error: Call to undefined function: mail() in /usr/share/pear/Mail/mail.php on line 109

Sendmail works but the return-path header doesn't get set.

Any idea how to fix this?

R.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by robinbowes: Fatal error: Call to undefined function: mail() in /usr/share/pear/Mail/mail.php on line 109

This seems to indicate that the PHP version that is running on your server does not have the 'mail' function. Probably some restriction set up by your hosting service.

bye, Dirk
 Quote

Robin Bowes

Anonymous
Quote by Dirk:
Quote by robinbowes: Fatal error: Call to undefined function: mail() in /usr/share/pear/Mail/mail.php on line 109

This seems to indicate that the PHP version that is running on your server does not have the 'mail' function. Probably some restriction set up by your hosting service.


Dirk,

I host the server myself.

It's a Fedora Core 1 box with php installed "out-of-the-box" from the standard Fedora RPM.

What do I need to install/configure to get the "mail" function to work?

R.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Robin Bowes: What do I need to install/configure to get the "mail" function to work?

'mail' is activated on a standard build of PHP. I wouldn't even know off-hand how to not include it.

There's an option in the php.ini that lets you disable functions - see if it is listed there:
Text Formatted Code
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_functions =
 

If that wasn't it, then it may not be built into PHP, in which case you may have to compile your own version ...

bye, Dirk
 Quote

All times are EDT. The time is now 01:54 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content