No value for sendmail_from, user registration email not sent
|Reported by:||shacker||Owned by:|
|Component:||Administration||Keywords:||sendmail mail user registration|
WP installed in cPanel add-on domains do not send welcome messages to new WP users.
Watching the exim_reject_log shows:
F=<> rejected after DATA: there is no valid sender in any header line
phpinfo(); confirms that the sendmail_from property has "no value."
Adding this to .htaccess :
php_value sendmail_from user@…
causes phpinfo() to show a valid value, but attempting to register a new user still shows exim refusing to send the message because there is "no valid sender."
A simple PHP mail test script in the same dir works fine.