src/Service/Emailer.php
public function resend($mEmailIdRef)
    {
        if (is_numeric($mEmailIdRef)) {
            $oEmail = $this->getById($mEmailIdRef);
        } else {
            $oEmail = $this->getByRef($mEmailIdRef);
        }

        if (empty($oEmail)) {
            $this->setError('"' . $mEmailIdRef . '" is not a valid Email ID or reference.');
            return false;
        }

        return $this->doSend($oEmail);
    }
public function resend($mEmailIdRef)
    {
        if (is_numeric($mEmailIdRef)) {
            $oEmail = $this->getById($mEmailIdRef);
        } else {
            $oEmail = $this->getByRef($mEmailIdRef);
        }

        if (empty($oEmail)) {
            $this->setError('"' . $mEmailIdRef . '" is not a valid Email ID or reference.');
            return false;
        }

        return $this->doSend($oEmail);
    }
public function resend ( $ mEmailIdRef ) { if ( is_numeric ( $ mEmailIdRef ) ) { $ oEmail = $ this -> getById ( $ mEmailIdRef ) ; } else { $ oEmail = $ this -> getByRef ( $ mEmailIdRef ) ; } if ( empty ( $ oEmail ) ) { $ this -> setError ( '"' . $ mEmailIdRef . '" is not a valid Email ID or reference.' ) ; return false ; } return $ this -> doSend ( $ oEmail ) ; }
Sends an email again

@todo This should probably create a new row

@param  mixed $mEmailIdRef The email's ID or ref

@return boolean
@throws EmailerException
Sends an email again