Hi,
I am using 2.0.1
the log reports
[Thu Oct 18 09:55:02 2007] An error was found on line '240'
of script
'/var/www/eventum/include/class.mail_queue.php'.
The error message passed to us was:
'No From: address has been provided'
A more detailed error message follows:
''
A backtrace is available:
Array
(
[0] => Array
(
[file] =>
/var/www/eventum/misc/process_mail_queue.php
[line] => 70
[function] => send
[class] => Mail_Queue
[type] => ::
[args] => Array
(
[0] => error
[1] => 50
)
)
)
My smpt settings are entered correctly, and triple tested on
the config,
proof is, that when users are creating issues I am getting
the
notifications.
This problem is only happening when I, the assigned replier,
am
sending email from the "send mail" inside the
issue
I followed the wire
line 240 on class.mail_queue.php
relates to a call in line 235 where it says
$mail =& Mail::factory('smtp',
Mail_API::getSMTPSettings());
now, getSMTPSettings is declared in class.mail.php line 323
and shows
323 function getSMTPSettings()
324 {
325 $settings = Setup::load();
326 settype($settings['smtp']['auth'], 'boolean');
327 return $settings["smtp"];
328 }
Setup::load
is declared in class.setup.php
47 function load($force = false)
48 {
49 static $setup;
50 if ((empty($setup)) || ($force == true)) {
51 require(APP_SETUP_FILE);
52 $setup = unserialize(base64_decode
($eventum_setup_string));
53 }
54 return $setup;
55 }
APP_SETUP_FILE is the constant for setup.php which is a
serialized file
other users can send email without problems from the
interface
Andres Paglayan
--"Harmony is more important than being right"
Bapak
|