[geeklog-devel] SPAM-X Plugin and the SLV module
Tom
websitemaster at cogeco.net
Mon May 12 21:18:12 EDT 2014
After some tests it looks like that the pear library doesn't like the
Japanese subject for some reason when the email gets sent to her in her
native language about a new forum post.
The subject is encoded like so:
["subject"]=>
string(116)
"=?utf-8?Q?Geeklog=20-=20=E6=8E=B2=E7=A4=BA=E6=9D=BF?==?utf-8?Q?=E6=8A=95?=
=?utf-8?Q?=E7=A8=BF=E9=80=9A=E7=9F=A5?="
If I blank out the subject in the code the email will go through if I don't
it errors out like so:
E_WARNING(2) - mail() [function.mail]: Bad parameters to mail() function,
mail not sent. @ /usr/home/geeklog/geeklog/system/pear/Mail/mail.php line
153
Call Stack
# Function File
Line
1 mail
/usr/home/geeklog/geeklog/system/pear/Mail/mail.php 153
2 send /usr/www/users/geeklog/lib-common.php
4246
3 COM_mail /usr/www/users/geeklog/forum/createtopic.php
1127
4 gf_chknotifications /usr/www/users/geeklog/forum/createtopic.php
364
-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Tom
Sent: May-11-14 7:50 PM
To: 'Geeklog Development'
Subject: [geeklog-devel] SPAM-X Plugin and the SLV module
I also have run into a problem of replying to Ivy's forum post:
https://www.geeklog.net/forum/createtopic.php?method=postreply&forum=17&id=9
5647
The error message is from mail.php in the pear library :
E_WARNING(2) - mail() [function.mail]: Bad parameters to mail() function,
mail not sent. ....
Which is called from COM_mail which is called from createtopic.php
I have a feeling it is a multi-language issue but I will have to check into
it further.
Tom
More information about the geeklog-devel
mailing list