Project

General

Profile

Bug #2979

The mail with the temporary key to reset password is not sent

Added by Goulwen Reboux over 10 years ago. Updated about 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Anthony Hurst
Start date:
02/03/2011
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

The problem is in the way the Mail::factory method (in common/libraries/php/mail) works : if from is not set, the default is set to array and passed to the constructor. This is the case in UserManagerResetPasswordComponent::send_reset_link().

Then in PhpmailerMail::send that extends Mail and is located in common/libraries/php/mail/phpmailer, the mail uses the PhpmailerMail::get_reply() is it not null, which is the case, at least with PHP5.3.5, an empty array doesn't seems to be evaluated as null.

History

#1

Updated by Hans De Bisschop about 10 years ago

  • Project changed from Chamilo LCMS Connect to User
  • Category deleted (7)
#2

Updated by Stefaan Vanbillemont about 10 years ago

  • Target version set to 2.1.0
#3

Updated by Stefaan Vanbillemont about 10 years ago

  • Status changed from New to Needs more info
  • Assignee set to Goulwen Reboux

I retested and this seems to work! Goulwen? Can you retry please?

#4

Updated by Stefaan Vanbillemont over 9 years ago

  • Target version changed from 2.1.0 to Backlog (default)
#5

Updated by Stefaan Vanbillemont about 9 years ago

  • Status changed from Needs more info to Bug resolved
  • Assignee changed from Goulwen Reboux to Anthony Hurst
  • Target version changed from Backlog (default) to LCMS 3

Is fixed in C3 Connect

Also available in: Atom PDF