Page 1 of 1

CATS Notification: Candidate Ownership Change

Posted: 26 Oct 2017, 17:05
by kevinharper
New applicants continue to get the following email, even thought we've turned off every email notification we can find in the backend of OpenCATS:

From:
admin@account.com
Subject:
CATS Notification: Candidate Ownership Change
Body:
email@ofapplicant.com
Powered by CATS (Free ATS)

I've turned off all default email alerts for status changes (in Email Template Configuration), and all but one default email alerts in General Email Configuration. The one I left on is "Candidate Application Received (Sent to Candidate using Career Portal)."

But with this selected, the applicant gets TWO emails:

1) Thank you for your application (we want this one)
2) CATS Notification: Candidate Ownership Change (we don't want this one)

HELP!

Re: CATS Notification: Candidate Ownership Change

Posted: 27 Oct 2017, 15:40
by kevinharper
I confirmed through multiple tests what I think is a bug.

The checkbox "Candidate Application Received (Sent to Candidate using Career Portal)" under Settings > Administration > General E-Mail Configuration toggles the sending of (2) alerts to the end user: The thank you message, which is expected and desired, and a cryptic message that the applicant won't understand that says "CATS Notification: Candidate Ownership Change." We have to find a way to shut this second one off, it is confusing to applicants and very unprofessional.

Any suggestion what line of code controls this?

Re: CATS Notification: Candidate Ownership Change

Posted: 03 Nov 2017, 16:14
by kevinharper
With further testing, I see that even when no emails are checked to send, the applicant still gets an email message:

From: email@ofadmin.com
Subject:CATS Notification: Candidate Ownership Change
Body: email@ofapplicant.com
Powered by CATS (Free ATS)

Please help, I really need to figure out how to turn this off.

Re: CATS Notification: Candidate Ownership Change

Posted: 04 Nov 2017, 01:24
by dveos
Could it have something to do with line 343 onwards in lib/Candidates.php

Or

259 onwards in lib/JobOrders.php ?

Re: CATS Notification: Candidate Ownership Change

Posted: 04 Nov 2017, 21:04
by kevinharper
I fixed this. @deveos, that was it. I commented out these lines in /lib/Candidates.php
Code: Select all
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
            //);
        }

Re: CATS Notification: Candidate Ownership Change

Posted: 11 Dec 2017, 11:48
by RussH
Hi Kevin, I've raised this as issue 343 against the project; https://github.com/opencats/OpenCATS/issues/343

Can you confirm you're running version 0.9.4 ?

Thanks!