Sentora Support Forums

Full Version: new reseller not receiving welcome email
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

i have sentora 1.0.3

everything works well, except new reseller not receiving welcome email and Zgod report not sent, also Certificate requst..

no emails from the Sentora..

roundcube works perfect..

please HELP....
(01-05-2019, 06:48 PM)itzik53 Wrote: [ -> ]Hi

i have sentora 1.0.3

everything works well, except new reseller not receiving welcome email and Zgod report not sent, also Certificate requst..

no emails from the Sentora..

roundcube works perfect..

please HELP....

OK

found the problem... 
adding

 if (!spl_autoload_functions() OR (!in_array('PHPMailerAutoload', spl_autoload_functions()))) {
  require_once('PHPMailerAutoload.php');
}


to file /etc/sentora/panel/etc/lib/PHPMailer/class.phpmailer.php

That fixed the problem....
(01-06-2019, 04:11 AM)itzik53 Wrote: [ -> ]OK

found the problem... 
adding

 if (!spl_autoload_functions() OR (!in_array('PHPMailerAutoload', spl_autoload_functions()))) {
  require_once('PHPMailerAutoload.php');
}


to file /etc/sentora/panel/etc/lib/PHPMailer/class.phpmailer.php

That fixed the problem....

That file should already contain:

if (!in_array('PHPMailerAutoload', spl_autoload_functions())) {
    require 'PHPMailerAutoload.php';
}

so my questions would be:

- was your class.phpmailer.php file missing these lines for some reason?
- is your server/PHP config set to not allow use of the "require" function?
- is your server/PHP config set to not allow spl_autoload_functions()?

I can't see that this would be a problem for anyone with a vanilla Sentora installation, but I could be wrong Wink

Keith