Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 01:53 pm EDT

Geeklog Forums

Cannot get mail to work


Status: offline

mfuggle

Forum User
Newbie
Registered: 09/30/04
Posts: 11
worried
I have a fresh install of Geeklog 1.3.9sr1 on Windows XP using Apache2, PHP5 and MySQL.

I have set the config.php to use amil and get the following error message

Fatal error: Class 'Mail' not found in e:servergeeklogsystempearMailMail.php on line 30

The mail.php shows the following:

class Mail_mail extends Mail
{
/**
* Any arguments to pass to the mail() function.
* @var string
*/
var $_params = '';

/**
* Constructor.
*
* Instantiates a new Mail_mail:: object based on the parameters
* passed in.
*
* @param string $params Extra arguments for the mail() function.
*
* @access public
*/
function Mail_mail($params = ''Wink
{
/*
* The other mail implementations accept parameters as arrays. In the
* interest of being consistent, explode an array into a string of
* parameter arguments.
*/
if (is_array($params)) {
$this->_params = join(' ', $params);
} else {
$this->_params = $params;
}

/*
* Because the mail() function may pass headers as command line
* arguments, we can't guarantee the use of the standard "rn"
* separator. Instead, we use the system's native line separator.
*/
$this->sep = (strstr(PHP_OS, 'WIN'Wink) ? "rn" : "n";
}

Can anyone assist me in resolving this problem?

Regards
Martin
 Quote

Status: offline

mfuggle

Forum User
Newbie
Registered: 09/30/04
Posts: 11
OK - I finally resolved the problem.

I had an incorrect path name in the lib-common.php

Sorry for the trouble

Regards
Martin
 Quote

All times are EDT. The time is now 01:53 pm.

  • 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