eMail Bug – WordPress

September 12, 2009 | Posted by Wolf

  • Share/Bookmark

We received the first comment…a short comment from obosor.

We realized it because we have received an email that warns us that someone had just commented on one of our posts.

But something went wrong because this was the email’s subject:

[JennCria's Blog] Comment: “phpLD – SEO Categories”

The first thing I thought is that wordpress sends html encoded text in a plain/text email… maybe there is an email bug… I was right!

I started to examine the source code and after few minutes I realized that emails of any kind were sent through the function named wp_mail.

I have examined the function but everything seemed fine but there is an email bug, and that’s a fact.

I was left nothing to do but check the database. Examining the table named options I realized that the name of the blog was HTML encoded. Bingo!

At this point I had found the solution and to implement the patch took me less than 5 minutes.

Comments

No Comments Yet.

Got something to say?





JennCria Quality Directory

The best way to get your One Way link with only $1. All links are permanent! If you wish you can add up to 5 deeplinks with only $5 or, if you want the first page you can bid for position. Take a look at JennCria

Recommended Sites