Wednesday, May 14 2003 @ 09:23 AM EDT
Contributed by: anonymous
Views: 1,420
I am playing with Geeklog, and I want it sends me notifications. OK, I set up the config.php file, but tere are some problems! I use slovenian charaters, and if i use character codes (for example: #&382;), I get this codes in my e-mail and not appropriate characters.
So I switched to HTML mail (changed headers). It works fine, but now antispam program is activated. Why? Because I receive only HTML mail - but according to RFC rules Geeklog should send plain text AND HTML mail. So... how to solve this problem?
The following comments are owned by whomever posted them. This site is not responsible for what they say.
HTML mail
Authored by: anonymous on
Thursday, May 15 2003 @ 04:47 AM EDT
OK, I found a solution... everything must be translated into unicode... I insert this into users.php, moderation.php, and other scripts that send mail. In should be nice to have sometning like that built-in future versions of Geeklog:
OK, I found a solution... everything must be translated into unicode... I insert this into users.php, moderation.php, and other scripts that send mail. In should be nice to have sometning like that built-in future versions of Geeklog:
$mailtext = str_replace("Š", "\xA9", $mailtext);
$mailtext = str_replace("Ž", "\xAE", $mailtext);
$mailtext = str_replace("Č", "\xC8", $mailtext);
$mailtext = str_replace("š", "\xB9", $mailtext);
$mailtext = str_replace("ž", "\xBE", $mailtext);
$mailtext = str_replace("č", "\xE8", $mailtext);