OpenCATS 0.9.4-3

Free, Open-Source Applicant Tracking System including job-board. Entirely customisable!

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
User avatar
By PersonalAgentin
#4495
How can we correct the handling of umlauts (ä, ö, ü) in e-mails?

===
25-09-19 10:34 AM

Dear Dieter Linner,

This e-mail is a notification that a candidate has applied to your job order through the online candidate portal.

Job Order: Installateur Heizung-Sanitär-Lüftung (m/w/)
Candidate Name: Dieter Linner
Candidate URL: http://www.personal247.de/index.php?m=c ... didateID=3
Job Order URL: http://www.personal247.de/index.php?m=j ... bOrderID=8

--
CATS
neuerjob24



Powered by CATS (Free ATS)
===
By dveos
#4510
Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php

So would become:-
Code: Select all
if (!empty($replyTo))
            {
                $this->_mailer->AddReplyTo($replyTo[0], $replyTo[1]);
            }
            $this->_mailer->CharSet = 'UTF-8';
            if (!$this->_mailer->Send())
            {
                $failedRecipients[] = array(
                    'recipient'    => $recipients[$key],
                    'errorMessage' => $this->_mailer->ErrorInfo
                );
            }
User avatar
By RussH
#4509
Hi!

sorry haven't had a chance to look through the code yet but this will be a characterset problem. We use the phpmailer package for email generation. It should be set to UTF-8 everywhere. Take a look here for a similar issue/resolution https://stackoverflow.com/questions/320 ... ith-umlaut
By dveos
#4510
Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php

So would become:-
Code: Select all
if (!empty($replyTo))
            {
                $this->_mailer->AddReplyTo($replyTo[0], $replyTo[1]);
            }
            $this->_mailer->CharSet = 'UTF-8';
            if (!$this->_mailer->Send())
            {
                $failedRecipients[] = array(
                    'recipient'    => $recipients[$key],
                    'errorMessage' => $this->_mailer->ErrorInfo
                );
            }
User avatar
By RussH
#4511
dveos wrote: 02 Oct 2019, 10:42 Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php
Thanks @dveos , on the ball as always!

I'll add this as a fix.
How to install OpenCats on hostinger?

I have PHP 5.6 and I uploaded the OpenCats folder […]

how to "delete" a user

Thanks for the reply The thread op asked about de[…]

Email Integration

Hey CFM, all, this is the code I had created to […]

Job Order Export

Hi Russ, I have OpenCATS setup on shared hosting,[…]

Yes it is possible. But you have to dug into the s[…]

It need to be exceptionally truthful to export the[…]

hey plz reply fast

Hi All, would like to ask the following: We have[…]