1
niktarin
phpmailer charset bug
  • 2004/4/6 5:51

  • niktarin

  • Just popping in

  • Posts: 28

  • Since: 2003/9/21


Hello,
I found this when I started getting mail on my machine:

phpmailer does not follow the charset of the site. Eg. in a non english site (in my case with iso-8859-7) phpmailer keeps sending messeges in iso-8859-1 charset.
Normally it should read the charset of the theme. So when changing a themes with a different encoding phpmailer should also change his encoding. Or when having a theme in none iso-8859-1 charset it should follow the charset of the theme and not keep the iso-8859-1 charset.
There is a file called class.phpmailer.php (or someting like that) where a variable of the charset is set. I guess it should change according to the charset of the site.
But although I changed it manully XOOPS keeps sending messeges in iso8859-1 charset. Maybe I dont know how to update XOOPS after editing class.phpmailer.php

Anyway my 2 cents

Nick

2
meme
Re: phpmailer charset bug
  • 2004/4/6 8:18

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10



3
niktarin
Re: phpmailer charset bug
  • 2004/4/6 8:34

  • niktarin

  • Just popping in

  • Posts: 28

  • Since: 2003/9/21


Thank you,

And this gets me to my second problem...
I changed that string but XOOPS keeps sending the mails with iso-8859-1 charset.

And I have edited my global.php file too.
So If anyone can tell me how I can tell XOOPS to use the new string I would be thankfull

Nick

4
Lycan
Re: phpmailer charset bug
  • 2004/8/11 4:09

  • Lycan

  • Just popping in

  • Posts: 1

  • Since: 2004/8/11


I had the same trouble. (XOOPS 2.0.7)

it's not the file class.phpmailer.php, don't push it at all!
Go to /class/xoopsmailer.php
line 126 "var $charSet =..."

Buy me a beer

Login

Who's Online

317 user(s) are online (257 user(s) are browsing Support Forums)


Members: 0


Guests: 317


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits