# select any e-mail template to perform tests upon (e.g. `USER.APPROVE` or `USER.DENY`, because it's easy to send them by approving/denying the user)
# before the e-mail is sent (call to `$this->Application->emailUser` or `$this->Application->emailAdmin`) add the following code:
```
lang=php
/** @var kEmailSendingHelper $email_sender */
$email_sender = $this->Application->recallObject('EmailSender');
$email_sender->AddTo('e-mail', 'first', 'last');
$email_sender->AddCc('e-mail', 'first', 'last');
$email_sender->AddBcc('e-mail', 'first', 'last');
```
# edit e-mail template and add some custom recipients for each of above headers too
# send e-mail event
# confirm, that recipients are sorted like this: "direct to recipient", "recipients from e-mail template record", "recipients from manual `->Add*` calls"
# confirm, that all recipients are listed in e-mail log