class-phpmailer.php default configuration
|Reported by:||lotabi||Owned by:|
In file class-phpmailer.php some "PUBLIC VARIABLES" are defined but these VARIABLES should be defined in main WP configuration file for these reasons:
1- WP admin want use main config file (wp-config.php)
2- define VARIABLE in class-phpmailer.php will be overwrite in SVN update
class-phpmailer.php provide 5th params in mail() function, but are not usable if VAR $Sender is not set. I suggest set default value to $Sender = $_SERVERSERVER_ADMIN?
In some situation (suphp and virtual user) WP are not be able to send email and local mail server report this error:
Apr 28 10:00:50 smtp postfix/sendmail: fatal: no login name found for user ID 3334