Hi, I installed the latest version of CKEditor with the add ons that best matched my requirements, Templates, Tables as examples.
Then I had to modify SendEmail.tpl under the modules/candidates directory and also Mailer.php file under lib directory.
SendEmail.tpl - line 122 I changed to:-
Code: Select allvar tags = ['p', 'ol', 'ul', 'li', 'tr', 'td', 'table', 'tbody']; // etc.
Here you can add other tags that you are looking to send in your email that are causing issues.
Mailer.php - from line 211 I changed to (which matched the style I was looking for):
Code: Select all$this->_mailer->Body = '<div style="font: normal normal 11px Calibri, sans-serif;"><style> @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} p {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-GB;}</style>'
. str_replace('<br>', "<br />\n", str_replace('<br />', '<br>', str_replace("\n", "<br>", $body))) . '</p></div>';
$this->_mailer->AltBody = strip_tags($body);
}
Can't remember if I edited any other files but should be it!?