OpenCATS icon indicating copy to clipboard operation
OpenCATS copied to clipboard

Career portal applicants receive 'candidate ownership change' email in error

Open RussH opened this issue 8 years ago • 2 comments

reported in the forums; http://forums.opencats.org/viewtopic.php?f=4&t=977 Issue: Even when no emails are checked to send, the applicant still gets an email message:

From: [email protected] Subject:CATS Notification: Candidate Ownership Change Body: [email protected] Powered by CATS (Free ATS)

Workaround: commented out the following in lib/Candidates.php

if (!empty($emailAddress))
        {
            /* Send e-mail notification. */
            //FIXME: Make subject configurable.
            // $mailer = new Mailer($this->_siteID);
            // $mailerStatus = $mailer->sendToOne(
            //    array($emailAddress, ''),
            //    'CATS Notification: Candidate Ownership Change',
            //    $email,
            //    true
            //);
        }

RussH avatar Dec 11 '17 10:12 RussH

@RussH Why is this labelled as NotAnIssue? seems like a very easy fix. Can I submit a PR?

evank28 avatar Apr 10 '19 15:04 evank28

HI @evank28 this is flagged as not an issue as it's only been reported once, may be down to user misconfiguration and there's a simple workaround posted above. If this is reported by multiple users then a PR to change default behaviour would be accepted

RussH avatar Apr 11 '19 10:04 RussH