Re: Email History
Posted: 27 Feb 2018, 10:35
Hi Dveos.. which issue does this address and I'll look to add it to the codebase!
opencats - the community supported applicant tracking system
dveos wrote: ↑10 Nov 2017, 12:38 The following change in lib/pipelines.php from line 369 solves the activity issue:-
Code: Select all
/* Send e-mail notification. */ //FIXME: Make subject configurable. $mailer = new Mailer($this->_siteID); $mailerStatus = $mailer->sendToOne( array($emailAddress, '', 'candidate->'.$candidateID), CANDIDATE_STATUSCHANGE_SUBJECT, $emailText, true ); } }
dveos wrote: ↑09 Nov 2017, 19:03 Hi Russ,
It's a start!
Please find instructions below, it's not 100% perfect yet as I noticed an issue with emails being sent through the "Activity" pop up. But seems to work perfectly when you email candidates through the standard procedure.
1, Firstly need to create two columns in the email_history table entitled for_id and for_module.
2, I have attached amended files for upload, don't think I'm missing anything.. then job done!
Basically what should happen is when an email goes out it logs the Candidate ID in the for_id column, and also module (i.e. Candidates). Then returns each email in the data grid.
Any issues let me know, or similarly if you can solve the activity email issue please do let me know!