Last modified: 2014-06-13 12:16:23 UTC
I spend a lot of hours while trying to see why my MediaWiki installation is not able to send email via Gmail. I am using 1.18. However, the source of the problem (at least, the source which I detected) didn't change inside of the latest revision. In short, I replaced: $headers['Return-Path'] = $from->toString(); ($headers['Return-Path'] = $from->address; in current version); with: $headers['Reply-To'] = $from->toString(); -- and sending emails via Gmail is working now for me. Please, check if it's still an issue.
Milos: Were there any specific error messages when trying to send via Gmail? Replacing $headers['Return-Path'] by $headers['Reply-To'] in includes/UserMailer.php looks wrong as there is no check whether ( $replyto ) is even set. See the lines after...
Milos: Were there any specific error messages when trying to send via Gmail? Is this still a problem?
Oh, I finally realized that this is a bug which I reported, not the one which I am following... At the moment, a year later, I am not able to remember the message, but I do remember that some message existed. Huh... I'll try to check it in the next couple of days, as I am still using the same version of MW on that site.
(In reply to comment #3 by Milos Rancic) > At the moment, a year later, I am not able to remember the > message, but I do remember that some message existed. > > Huh... I'll try to check it in the next couple of days, as I am still using > the same version of MW on that site. Milos: Any news? Which MW version do you run nowadays? If this is not a problem anymore, can this ticket be closed as RESOLVED WORKSFORME?
Unfortunately closing this report as no further information has been provided. Milos: Please feel free to reopen this report if you can provide the information asked for and if this still happens. Thanks!