The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
PHPMailer Settings - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: PHPMailer Settings (/showthread.php?tid=876)



PHPMailer Settings - MHALL1 - 12-05-2017

Added to my Helpers file in the email function as I was unable to use hyphens in the subject line (or at least have them display as intended) maybe one to include:

$mail->CharSet = "UTF-8";


PHPMailer Settings - mudmin - 12-05-2017

Hmm. Thanks for that. Have you tried this solution? Does it work for you?


PHPMailer Settings - MHALL1 - 12-05-2017

Yeah, have added to mine and working as expected now.


RE: PHPMailer Settings - Elliot - 04-30-2019

Thanks, this solved my problem as well. Maybe you can implement it in the next update.

You can see the codechanges attached.


RE: PHPMailer Settings - Brandin - 04-30-2019

What was happening to the hypens? Was the email breaking or coming out in an encoded format? html_entities_decode may work if the latter.


RE: PHPMailer Settings - Elliot - 05-03-2019

(04-30-2019, 11:19 AM)Brandin Wrote: What was happening to the hypens? Was the email breaking or coming out in an encoded format? html_entities_decode may work if the latter.

We didn't use hyphens but weren't able to display german umlauts properly, cause of the encoding.
It would be great if you could release an "official" solution, so that no one needs to copy the file to usersc.
There probably are a few users which are affected by this, cause they can use multilanguages thanks to the nice recent update Smile