Skip to content

Commit

Permalink
add method to access PHPMailer object
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic authored Dec 26, 2022
1 parent 306464c commit 2fa90ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/lib/Helpers/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,12 @@ public function getCFGDef($param, $default = null)
{
return \APIhelpers::getkey($this->config, $param, $default);
}

/**
* @return MODxMailer
*/
public function getMailProcessor()
{
return $this->mail;
}
}

0 comments on commit 2fa90ba

Please sign in to comment.