mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixes #2887 added missing "sent()" method
This commit is contained in:
@@ -369,7 +369,22 @@ class user_mailout
|
||||
return $var;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Manage Sent.
|
||||
*/
|
||||
public function sent($data) // trigerred when email sent from queue.
|
||||
{
|
||||
if($data['status'] == 1) // Successfully sent
|
||||
{
|
||||
// e107::getLog()->add($this->mailerSource . ' email sent', $data, E_LOG_INFORMATIVE, 'SENT');
|
||||
return true;
|
||||
}
|
||||
else // Failed
|
||||
{
|
||||
// e107::getLog()->add($this->mailerSource . ' email not sent', $data, E_LOG_FATAL, 'SENT');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user