[wp-trac] [WordPress Trac] #6861: class-phpmailer.php default
configuration
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 28 08:51:12 GMT 2008
#6861: class-phpmailer.php default configuration
--------------------------+-------------------------------------------------
Reporter: lotabi | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.7
Component: Optimization | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
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 =
$_SERVER["SERVER_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[2220]: fatal: no login name found
for user ID 3334
--
Ticket URL: <http://trac.wordpress.org/ticket/6861>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list