Last modified: 2014-06-13 12:16:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39155, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37155 - Sending email via Gmail bug (and solution): includes/UserMailer.php
Sending email via Gmail bug (and solution): includes/UserMailer.php
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-28 06:40 UTC by Milos Rancic
Modified: 2014-06-13 12:16 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Milos Rancic 2012-05-28 06:40:36 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.
Comment 1 Andre Klapper 2012-12-16 19:42:49 UTC
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...
Comment 2 Andre Klapper 2013-05-30 12:00:57 UTC
Milos: Were there any specific error messages when trying to send via Gmail?
Is this still a problem?
Comment 3 Milos Rancic 2013-05-30 13:34:50 UTC
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.
Comment 4 Andre Klapper 2014-02-12 18:05:04 UTC
(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?
Comment 5 Andre Klapper 2014-06-13 12:16:23 UTC
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!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links