Page 1 of 1
Email notifications are messed up
Posted: Sun Feb 19, 2006 8:30 pm
by Brian1969
Hi,
I just upgraded this morning to the new beta version of Serendipity. Everything seems to be working fine, except one thing: whenever I get an email notification of a submitted comment or a trackback, the links are all messed up.
For example:
A new comment has been posted on your blog, to the entry entit=
led "Game Of The Day".
Link to entry:
http://www.mydomainname.com/index.php?=
/archives/1507-Game-Of-The-Day.html
Requires review: No
User IP-addr=
ess: 12.217.155.40
User Name:
User Email:
U=
ser Homepage:
www.domainname.com
Notice all the "=" signs. It's not a huge deal, it's just a little bit of a hassle in that you can't click the link and get where you're trying to go.
My question is, what's causing this, and what file do I have to edit, and how.
Thanks!
Brian
Re: Email notifications are messed up
Posted: Mon Feb 20, 2006 11:27 am
by garvinhicking
Can you please paste the full email with all of its headers here?
It seems that something is causing linewrapping there, but the s9y code does not contain any wrapping for that...
Regards,
Garvin
Posted: Mon Feb 20, 2006 11:32 am
by Brian1969
Yes, here is a notification I received when I did a "test" comment:
Posted: Mon Feb 20, 2006 11:58 am
by garvinhicking
No, I need the complete email with all Email headers! With Thunderbird you can do "Message > View Source".
Regards,
Garvin
Posted: Mon Feb 20, 2006 12:03 pm
by Brian1969
Return-Path:
Delivered-To: brian
Received: (qmail 2514 invoked by uid 398); 20 Feb 2006 10:28:51 -0000
Date: 20 Feb 2006 10:28:51 -0000
To: brian
Subject: [Iowa Voice] New comment posted to Site Update
X-PHP-Script: iowavoice.com/comment.php for 12.217.155.40
From: "Brian"
Reply-To: "Brian"
X-Mailer: Serendipity/1.0-beta1
X-Engine: PHP/4.4.1
Message-ID: <
33e8b2e27239e2d3275787d1a77fdd0a@www.iowavoice.com>
Precedence: bulk
X-Antivirus: AVG for E-mail 7.1.375 [267.15.11/264]
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
A new comment has been posted on your blog "Iowa Voice", to the entry entit=
led "Site Update".=0ALink to entry:
http://www.iowavoice.com/index.php?/arc=
hives/1548-Site-Update.html=0A=0ARequires review: No=0AUser IP-address: 12.=
217.155.40=0AUser Name: Brian=0AUser Email: brian=0AUser Home=
page: www.iowavoice.com=0A=0AComments: =0Atest=0A=0A----=0AYou have the fol=
lowing options available:=0A View comment --
http://www.iowavoice.com/=
index.php?/archives/1548-Site-Update.html#c2937=0A Delete comment -- htt=
p://
www.iowavoice.com/index.php?/delete/com ... date.html=
=0A=0A-- =0AIowa Voice is powered by Serendipity.=0AThe best blog around, y=
ou can use it too.=0ACheck out <
http://s9y.org> to find out how.
Posted: Mon Feb 20, 2006 12:04 pm
by Brian1969
Hope that's what you wanted.
It worked just fine before I upgraded to the beta version, if that helps any.
Posted: Mon Feb 20, 2006 12:11 pm
by garvinhicking
Okay, I think I got it.
Please open your include/functions.inc.php file. Search for this line:
and change it to:
Code: Select all
$maildata['message'] = imap_8bit($maildata['message']);
Code: Select all
$maildata['message'] = str_replace("=\r\n", "", imap_8bit($maildata['message']));
Then please tell me if it works, so I can commit the cahgen.
Best regards,
Garvin
Posted: Mon Feb 20, 2006 12:17 pm
by Brian1969
Yup! That did the trick! Thanks!