Unexpected output: Affected paths: relative - resubmit patch.
⚙ D60 INP-1419 - Show manually added recipients in Email Log
Page MenuHomeIn-Portal Phabricator

INP-1419 - Show manually added recipients in Email Log
ClosedPublic

Authored by alex on Apr 22 2015, 2:46 PM.

Details

Test Plan
  1. 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)
  2. before the e-mail is sent (call to $this->Application->emailUser or $this->Application->emailAdmin) add the following code:
/** @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');
  1. edit e-mail template and add some custom recipients for each of above headers too
  2. send e-mail event
  3. confirm, that recipients are sorted like this:
    • direct to recipient
    • recipients from e-mail template record
    • recipients from manual ->Add* calls
  4. confirm, that all recipients are listed in e-mail log (detail view shown when editing e-mail log record)

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint ErrorsExcuse: Will be fixing in In-Portal 5.3.x
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 154.Apr 22 2015, 2:46 PM
alex retitled this revision from to INP-1419 - Manually added e-mail recipients not shown in log.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1419.
alex edited the test plan for this revision. (Show Details)Apr 22 2015, 2:47 PM
alex edited edge metadata.
glebs accepted this revision.May 22 2015, 2:12 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.May 22 2015, 2:12 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 6:13 AM
alex added a project: Restricted Project.
alex retitled this revision from INP-1419 - Manually added e-mail recipients not shown in log to INP-1419 - Show manually added recipients in Email Log.Mar 27 2016, 5:44 AM