diff --git a/class/Email/CancelInternshipNotice.php b/class/Email/CancelInternshipNotice.php index 7715db0d..137b0d97 100644 --- a/class/Email/CancelInternshipNotice.php +++ b/class/Email/CancelInternshipNotice.php @@ -52,7 +52,7 @@ protected function buildMessage() // CC the graduate school (for grad level) or the registrar's office (for undergrad level) if($this->internship->isGraduate()){ - $this->cc[] = $this->emailSettings->getGraduateRegEmail(); + $this->cc[] = explode(',', $this->emailSettings->getGraduateRegEmail()); // NB: Setting is a comma separated array } else { $this->cc[] = $this->emailSettings->getRegistrarEmail(); } diff --git a/class/Email/GradSchoolNotificationEmail.php b/class/Email/GradSchoolNotificationEmail.php index 22284493..4c38d79e 100644 --- a/class/Email/GradSchoolNotificationEmail.php +++ b/class/Email/GradSchoolNotificationEmail.php @@ -117,8 +117,7 @@ protected function buildMessage() $intlSubject = ''; } - $emails = $this->emailSettings->getGradSchoolEmail(); - $this->to = explode(',', $emails); + $this->to = explode(',', $this->emailSettings->getGradSchoolEmail()); // NB: Setting is a comma separated array $this->subject = 'Internship Approval Needed: ' . $intlSubject . '[' . $this->internship->getBannerId() . '] ' . $this->internship->getFullName(); }