Post by Email Problems with Category and HTML (2 posts)

  1. ultimate88
    Posted 10 years ago #


    I'm trying out WP 1.2.2 post by email feature.

    I set up a special email in the admin panel, and I can email to make it post on my blog:


    the first post was made by email.

    Howerver, if you click on the title:


    you'll see error message at the very top:

    Warning: Invalid argument supplied for foreach() in /home/cbclicks/public_html/wp-blog-header.php on line 478

    I believe it's because of the invalid category of which that post belongs.

    I only have one category, "Marketing", which is seleted in the admin panel email portion.

    When I log in the admin panel and edit that post, I see this error in the "Categories" column:

    Warning: Invalid argument supplied for foreach() in /home/cbclicks/public_html/wp-includes/template-functions-category.php on line 90

    This leads me to believe that the wp-mail.php can't pick up the correct category to make the post.

    So here are my request, if some one can fix them, i won't mind paying a nominal fee for your time:

    1. How to make wp-mail.php pick up the cateogry I specify in the admin "Post by mail" section?

    2. How to avoid posting duplicate post, e.g. compare the first X number of words of email subject, if they are identical to existing post title, skip this email, just delete it without posting.

    3. How to preserve HTML tags in the email and post them as is.

    I've tried http://blade.lansmash.com email hack, but still getting category problem.

    Please post your solutions here, or email me at: ultimate88@gawab.com

    Thank you!

  2. canbebesi
    Posted 10 years ago #

    Yeah I'm having very similar problems.

    Help pls.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.