public function mailConfirmation(AnCommandContext $context)
    {
        if ($this->person) {
            $settings = $this->getService('com:settings.setting');
            $mails[] = array(
                'to' => $this->person->email,
                'subject' => sprintf(AnTranslator::_('COM-PEOPLE-MAIL-SUBJECT-PASSWORD-RESET'), $settings->sitename),
                'template' => 'password_reset',
            );
            $this->mail($mails);
        }
    }
public function mailConfirmation(AnCommandContext $context)
    {
        if ($this->person) {
            $settings = $this->getService('com:settings.setting');
            $mails[] = array(
                'to' => $this->person->email,
                'subject' => sprintf(AnTranslator::_('COM-PEOPLE-MAIL-SUBJECT-PASSWORD-RESET'), $settings->sitename),
                'template' => 'password_reset',
            );
            $this->mail($mails);
        }
    }
public function mailConfirmation ( AnCommandContext $ context ) { if ( $ this -> person ) { $ settings = $ this -> getService ( 'com:settings.setting' ) ; $ mails [ ] = array ( 'to' => $ this -> person -> email , 'subject' => sprintf ( AnTranslator :: _ ( 'COM-PEOPLE-MAIL-SUBJECT-PASSWORD-RESET' ) , $ settings -> sitename ) , 'template' => 'password_reset' , ) ; $ this -> mail ( $ mails ) ; } }
Send an email confirmation after reset.

@param AnCommandContext $context
Send an email confirmation after reset .