Hi, I posted this to [[ https://www.mediawiki.org/wiki/Project:Support_desk | support desk]] but didn't get any feedback yet. Perhaps this is some unwantetd behaviour of the email funktion. Tested with
PHP 5.4.12 (cgi-fcgi)
I use $wgUserEmailUseReply Manual:$wgUserEmailUseReplyTo in my configuration and it works for user to user emails.
There is $wgPasswordSender in the from: field and the users Email-Adress in the reply-to as should be.
When the user activates
Email me a copy of my message
this mail has the users email-Adress in the from: field instead of $wgPasswordSender as expected.
I'd like to have the $wgPasswordSender the from: field in both cases. How to do this?
By the way:
There is Text on the email user page that does not fit when $wgUserEmailUseReplyTo is set:
**The email address you entered in your user preferences will appear as the "From" address of the email,** so the recipient will be able to reply directly to you.