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.
Installation errors on Bluehost

I am unable to install OpenCATS on Bluehost. I am […]

custom fields

You are going to have to put some logic in the Sho[…]

Google for Jobs

Thanks for the quick answer. The jobs can be foun[…]

Admin Login Page

Failed to load resource: the server responded with[…]

http error 500

While trying to open opencats/index.php? the page […]

What host? Did you use the documentation? What i[…]

new version check

Thanks for the explanation.

ä / ü / ö in emails

Thank you. Thank you. I've inserted it. I'll get b[…]

Hi, sorry not heard of any Kubernetes deployment[…]

Candidate edit page date

Hi, we've just closed out the php 7.x feature bran[…]

For both your questions there's really a single an[…]