Postie |

New Place To Go

I’ve been pretty busy – for the last – I don’t know three years and haven’t been able to keep up work on Postie. It looks like someone has taken it over and is giving it new life!!!


Go there for what seems to be the new official version!

Old Page

This page is dedicated to the Postie (a WordPress Plugin). It was orginally developed by John Blade. At some point he sort of stopped updating the code. I needed some features so I just hacked them in. I’ve been taking feedback ever since to help improve the program.

You can come here for the latest information about the Postie.

Please link to this page when you post about the software so people can find the current version.

Current Version is : 1.1.1
Google Maps

This version only works with WordPress 2.1 and above!

Where do I get It


Last Version Supported for WordPress 2.0 is : 1.0.1

This version only works with WordPress 2.0.x

Where do I get It


Unpack it in your wp-content/plugins/postie directory. Postie requires it’s own directory.

What do I do if it doesn’t work?

Follow the directions below. I try to be responsive – but please be patient I still have a day job :)

Install Problems?

  • Make sure you are running the current version of the plugin
  • Post a comment with:
    1. Version of Word Press
    2. A description of the problem

Mail Not Showing Up Correctly

  • Make sure you are running the current version of the plugin
  • Send yourself a message directly that causes the problem
  • Put the Raw version (Content of the message with all headers and mime boundaries included ) of the mail up online – XXXXX out any email address in the mail
  • If you would prefer to send me a message instead – please make sure the subject contains POSTIE – also please send at least one message from the device you are having problems with.
  • Post a comment with:
    1. Version of Word Press
    2. Mail Client that you are sending with
    3. A link to the raw email
    4. A description of the problem

Features List

  • If you put in :start – the message processing won’t start until it sees that string
  • If you put in :end – the message processing will stop when it sees that string on its own line.
  • Postie has a filter to make it easy to show full images on individual pages.
  • Rotation – if you include the text


    or any other # – all images in the message will be rotated for you.
  • POP3,POP3-SSL,IMAP,IMAP-SSL now supported – last three require php-imap support
  • If you put a category name in the subject with a : it will be used as the category for the post
  • If you put a category id number in the subject with a : it will be used as the category for the post
  • If you put the first part of a category name it will be posted in the first category that the system finds that matches – so if you put

    Subject: Gen: New News

    The system will post that in General.
  • All of the above also applies if you put the category in brackets []
  • Using [] or you can post to multiple categories at once

    Subject: [1] [Mo] [Br] My Subject

    On my blog it would post to General (Id 1), Moblog, and Brewing all at one time
  • Using — or you can post to multiple categories at once

    Subject: -1- -Mo- -Br- My Subject

    On my blog it would post to General (Id 1), Moblog, and Brewing all at one time
  • By putting comments:X in your message you can control if comments are allowed

    comments:0 – means closed
    comments:1 – means open
    comments:2 – means registered only

  • Allows you to attach images to your email and automatically post them to your blog
  • Large images are automatically thumbnailed and linked to the larger image (Requires GD)
  • You can publish images in the text of your message by using #img1# #img2# – each one will be replaced with the HTML for the image you attached
  • You can set the starting characters for you signature so that it is removed from the posting message
  • The program understands enough about mime to not duplicate post if you send an HTML and plain text message
  • Posts can be delayed by adding a line with delayXdXhXm where X is a number.

    delay:1d – 1 day
    delay:1h – 1 hour
    delay:1m – 1 minute
    delay:1d2h4m – 1 day 2 hours 4m

  • Images are renamed in a way that makes it impossible to accidentally overwrite images you have already posted
  • You can set a list of banned file names so if you provider adds images to your post they don’t show up in the blog
  • If you post from an email address that is not a valid author the email post will be forwarded to the admin
  • If your mail client doesn’t support setting the subject (nokia) you can do so by putting #your title here# at the begining of your message
  • You can control if you want HTML allowed in the body or subject of your post
  • Automatically confirms that you are installed correctly
  • Tells you if you have GD installed for resizing
  • Lets you set a default subject when you don’t set one
  • Defaults to posting to the default category you set in Word Press

1,037 Responses to 'Postie'
  1. Aaron:

    dorian – I had just gotten things working myself and got the same problem. I switched to POP3-SSL and have had no problems. If your server supports it, I recommend it. I figured I should be using SSL anyway.

    HeadGeek – On the same subject, on your “Mailserver Settings” in Options, you list the “Standard Ports” in a different order than how it’s listed in the menu to the left of it. Just a cosmetic problem.

    I want to pause and say THANKS for all the work you’ve done on this. This is a very, very major improvement to the original work John Blade did which I used a modified version of on WordPress 1.2. Special thanks especially for recognizing HTML code and for the improved support of Japanese and Bulgarian (for instance) characters. The intelligent file naming of photos is also worth the price of the upgrade. The ability to “test” the configuration rocks as well. I could go on and on… either way, THANKS.

    I have a small issue that I think you may be interested in that was not happening when I was using the old script in my old version of WordPress. Postie seems to be creating (or not removing?) line breaks where there should not be line breaks. I am sending from my hiptop aka T-Mobile Sidekick. I sent a test to my blog as well as a different mail account to view the source of the message. Here’s the pertinent portion of the source of the email:

    Content-Type: text/plain; charset=”us-ascii”; format=”flowed”
    Content-Description: message body text
    Content-Transfer-Encoding: 7bit

    This is a test with a long and quite boring statement to test how things
    get wrapped strangely in my blog. I wonder how Postie handles it.

    Note that I did not put a return after the word “things.” For some reason, this doesn’t get fixed when it gets put into my blog and it shows up exactly like it does above. I have to manually go in and fix all the hard returns. As a result, it also breaks all the HTML I put into it if a break occurs in the middle of it.


    Thanks again,

  2. Andres Espineira:

    One more thing…

    Are you planning to add default category by user? So different users could have different default categories in the event that they do not specify it in the subject line?

  3. Jani Tarvainen:

    I’m having some character set problems… Seems like I’ve now got the header set ok, but the body is still wrong. I’m running UTF8, but the post body insists on being ISO8859-1.

  4. beat:

    thank you for that great plugin! i just have one question. when i send a picture its aligned to the left side in my blog but i would like to have it in the middle (centered). is there a possibility to change this in the code?

  5. Kenny:

    Thanks for this plugin! This is an excellent contribution! No more textamerica!

    I’ve found that if you copy & paste the text that Verizon attaches to the pics…for example:

    This message was sent using PIX-FLIX Messaging service from Verizon Wireless!
    To learn how you can snap pictures with your wireless phone visit
    http://www.verizonwireless.com/getitnow/getpix. Bla Bla Bla

    ..into the Configure Postie Options page in the Signature Patterns box it removes that garbage that Verizon puts on there! So it works great!

    Hope this helps people out.

    The only thing I need to figure out is how to center the image. Any takers?

  6. BJ Cameron:

    I am desperately trying to get Postie ( working with the various email notifcation plugins (em-not 2.2 or subscribe2) . When I email the blog entry in(using postie plugin), it posts to the site, but it does not email users. If I post to the site from the blog, the notification plugins work great.

    I understand this is because of a bug within WordPress (the xml-rpc hook), but according to wordpress this has been “fixed”, http://trac.wordpress.org/ticket/967

    From what I have read it seems to be a problem with the publish_post, pinging, or $notify ???


  7. Nora:

    Since I couldn’t get wp-mail.php to work correctly, I gave postie a try – works like a charm, thanks! One thing I noticed, it doesn’t seem to work correctly with “WordPress Email Notification Plugin v2.2″ – visitors who signed up to receive a note whenever a new post is made just don’t seem to get an email if the post is made via email/postie. This makes the whole automation process more or less, hm, useless ;) Anything you can do about this?

  8. HeadGeek:

    My service provider doesn’t offer Cron. I can’t/don’t want to get Cronless Postie to work. What else can I do?
    There is a monitoring server called EasyMonitor

    They are a FREE monitoring service. They will fetch a url on a regular basis and confirm that the site is up and working. Basically just put in the url to your Postie get_mail.php script and this site will automatically fetch it on an on going basis. Plus if for some reason your site goes down – you’ll get an update letting you know.

    I haven’t had a chance to test this – please post a comment if you have any problems.

  9. kookiemonster:

    Hi HeadGeek,
    I sent you an email, I think it was the right email addy :-/
    If you don’t get it let me know.

    Thanks for your help

  10. kookiemonster:

    Reis: I don’t have the settings yet but I’m sure HeadGeek will post the solution when he has time to look at it. Trust 02 to be awkward!!

    HeadGeek: Is it possible to get postie to ignore the email message body if the from address contains @mediamessaging.o2.co.uk ?

  11. Ed Husar:

    is it possible to get Sprint cell photos to work with Postie? If anyone has done this let me know. All I can get it to do is post the following:

    You have new Picture Mail!
    Click Go/View to see now.

    It stinks not being able to post right to the blog. To top it off the URL is not active.

    If anyone can help please let me know.


  12. Tomkun:

    Hi. I installed this plug-in a few days ago and I must say it’s awesome. But, I have a couple of questions.

    1) Is it possible to make the images move to the top of the post by default? At the moment, they always appear at the bottom unless I use the #img$# tag.

    2) Is it possible to add a class to an emailed 3gp video by default?

    3) Is it possible to add support for additional users posting under their own username? It kind of suggests that this is possible, but I haven’t figured out a way of doing it yet.

    Anyway, thanks again for a great plugin. It’s very useful and MUCH more user-friendly than any of the other e-mail blogging plugins that I have tried. Hats off to you.


  13. Psykotik:

    I’ve never had any problem with the “cronless postie”. But for people having some issues, I’ll give you three links about webcron’s :

    http://www.webcron.org , in many languages;
    http://www.cronjob4you.at , in english;
    http://www.cronjob.de , in german.

    For french speaker, you could have a look on a how-to I just wrote about webcron.org : http://www.ikiru.ch/blog/computering/automatiser-ses-taches-webcron-un-cron-pour-tous/

  14. Jeff Barclay:

    Hi, love postie…
    Question: I have posted via email with the subject line containing the category I want to post to ([cat1] or cat1: or 01:) this works fine if I manually run postie from configure page.

    If I let cron with wp-cron do it’s job, all emails post to the default category, not the one specified in the subject line?

    Any thoughts?

  15. Michael Goughnour:

    Messages not uploading…

    my current Version of Word Press is 1.5.2

    the current version of Postie I am running is


    Every now and then, when I send an e-mail to the e-mail address I set up for posting, the e-mail gets lost. When I click on “Run Postie” under the Configure Postie menu I receive the following message:

    Connecting to mail.yoursite.com:110 (pop3))
    Mission complete, message 1 deleted.
    mike@yoursite.com is authorized to post as the administrator
    Email has following attachments:text plain
    image jpeg

    the image gets copied/placed in the wp-photos directory, but the post does not show up at all.

    every step I take shows me that the e-mail gets delivered, but not posted.

    my php.ini has a memory limit of 80MB.

    I have 2 different images of the same size (around 750 KB) and same naming convention (name001.JPG). One got posted, and one did not. Both images were copied to the wp-photos directory.

    Any clue what would be causing this issue?

  16. Daniele F.:

    Sorry, another little thing: an email signature does not begin with
    but with
    – \n

    There is a space after the dashes at the end of the line!


  17. Michael Goguhnour:


    Thanks for your post above.

    As I have done more research, it appears that it is a pixel issue and not an actual size issue.

    I have one image that is 522KB but has dimentions of 1075×806. That image uploads just fine.

    My original image is 506KB and has a dimention of 2560×1920. This image and message does not post.

    Anyone have any idea how to fix this one? I am setting up the posting for a family member who is not very computer savy. I don’t want them to have to try to re-size thier images, just so they can e-mail them.

    Thanks in advance.

  18. Doug:

    Just wanted to confirm Aaron’s comment: that the config screen (Options/Configure Postie) is a little whacked out with version, using WP 1.5.2. Updates seem to work fine, but the layout and dropdown values are all messed up.

    FWIW – I applied a ~10 line hack to Postie that handles SprintPCS Picture Mail emails by parsing them, finding the reference to the unique Picture Mail webpage, querying that page, and retrieving the correct URL for the image. It does NOT retrieve the image and store it locally on your WP site, it just refers to the image in the post with an tag. Does NOT handle audio clips. If anyone is interested in it, contact me via my blog and let me know.

    Thanks for Postie!


  19. Ratatosk:

    I would be happy to translate Postie in French, just tell me what ist the best way not to do mistakes please…

  20. Louis:

    i am running version 1.5.2 of wordpress, and the latest version of postie.
    I have problems with clicking on a thumbnail to enlarge it
    It works fine in Opera and WindowsCE but not in Internet Explorer CE
    Any idea?

    Thanks Louis

  21. Ratatosk:

    For information I was able to post a 2400*1800 jpeg of 987kB but not a 2300*1725 of 1,87 MB… There must be a balance between pixels size and file size to be accepted… I always succesfully posted files under 1,42 MB, or under 2000 pixels width.

  22. Aaron:

    I’m not very familiar with PHP, but these urls may give some insight to the problem that I am having with this plugin (but was not with John Blade’s hack):



    Thanks again for your time and effort on this plugin.

  23. Sim:

    thanks for your work.

    As someone else already stated here, the config page show up some strange values on drop down menus.

    I would apreciate a duplicate posting check feature. Since I will use an automated email flow of info, I would like it could skip postings if subject is already present.

  24. Marius:

    Trying to post a 3GPP and/or MP4 file via Postie and are experiencing som problems. As metioned i a earlier comment there are problems regarding the filename. The link in the Quicktime object only referes to the wp-files folder and not to the filename of the 3GPP/MP4 file.

    I am posting from a Nokia N70 phone.


  25. ken:

    Is there a way of setting it up so the thumbnails are centred in posts?

    By the way, this is a fantastic plugin. My work supplied Blackberry has found its proper use :)

  26. Jens:

    Great plugin, works like a charm. A couple of thing, though:
    1.Would it be possible to have a user-definable keyword that, if used in a subject, would allow posting from ANY email account? There are times when you want to post but don´t have access to your own email. Maybe an option to set a default user/cat for this case would be useful, too.
    2. I would really love to be able to set a time offset in the options. For some strange reason my host´s server is 6 hours behind and whenever I post by email I get the wrong time with the post.
    That´s about it, keep up the great work!

  27. visionquest:

    If mod_security were installed on an apache server could it prevent Postie from connecting to an external POP account?

    Postie works fine on some servers I have installed it on but one is giving me the same problem as bambit reported above:

    fsockopen(): unable to connect to mail.example.com:110 in /home/path/to/wp-includes/class-pop3.php on line 87

    Am I on the right track here?

    WP v 1.5.2

  28. XB90:

    Great plugin – I love it! One thing I sure wish I could do with it is add technorati tags. Any way to mod the plugin to allow me to tag my posts?


  29. Brian:

    Postie is working fine when I email from my mail client program. However when i MMS email from my nokia mobile no text content appears. If I send an image that gets posted correctly, but no text is posted in the blog. If I run postie manually it says there is a ‘text html’ file in the email. This file contains the text i typed on the mobile. Is it possible to get postie to treat the contents of this file as the ‘email’ and action it?

  30. Carsten Due:

    Postie ver. has solved my problem with nordic charsets. Thanks :) But line breaks are not removed from the emails and I still have problems with this character “. Could this perhaps be solved by changing function HTML2HTML and if, then how?

  31. Gtaeme:


    I am loking for some help.

    I am posting html rss feeds through email using postie. Postie is placing them on the page inside an iframe which is great as it gives it scrollbars etc. The problem I have is they are very small frames and I cant work out what file or whereabouts I can increase the size of the post???? Can someone help me with this. If you look on http://graeme.hopto.org and look at the news alerts you will see what I mean.



  32. Graeme:

    Can anyone help me with this ? It has got me stumped?


    I am loking for some help.

    I am posting html rss feeds through email using postie. Postie is placing them on the page inside an iframe which is great as it gives it scrollbars etc. The problem I have is they are very small frames and I cant work out what file or whereabouts I can increase the size of the post???? Can someone help me with this. If you look on http://graeme.hopto.org and look at the news alerts you will see what I mean.



  33. Björn Smellström:

    I’m also interested in a fixed version which properly converts ISO-8859-1 subject lines to utf-8 (body text works). I don’t understand the hacks mentioned above, especially because I don’t see [i]where[/i] to add code… Please help!

  34. steve:

    Hi thanks for the plugin,

    i have the same problem as brian had, with posting an email via mms. the picture comes up but the text is not displayed in the post. it is visible in the HTML though. i have a nokia 6230. also i read about some problems with 3gp postings, i haven’t tried this yet but is there anything i should know before i do?


  35. Mark:

    GREAT Plugin .. my html posts put large gaps between lines where there are carriage returns .. doesnt happen in plain text or rich text .. any way to remedy this? Much appreciated. Mark

  36. Tony:

    Hi Justis,

    Thanks for your reply I sincerely appreciate it.

    Justis, when you say “Thats the address that you send your posts to.” do you mean it’s the address where all my posts are on my autoresponder, ie “autoresponder address”? Or is this something else? Sorry for my naievity.

    And when you say:

    (There shoud be a chart on the config page of what port to use for what type of email account – 110 is for POP3)
    Mail Userid: youremail@yourdomain.com
    Mail Password: ******

    Where am I looking for the config page, userid and password?

    Sorry about this.

    Any help would dbe greatly appreciated.



  37. Björn Smellström:

    Guys, why don’t you read the instructions on the config page first? First of all: anybody who want’s to post something on your blogs has to be a registered user within WP. If you want different users to post via postie, just promote them to whatever level you set on the postie config page (“Minimum Access Level Required To Post”), e.g. Level 9. Finito!

  38. Simone:

    just a quick question. First of all thatks for developing Postie. By using my MMS with a finnish operator the email it’s like this. The body is not relevant at all, you just get operator news (or spam). You got 3 attached messages. 1 Text file where inside you can find your text message (the real body). The picture (if you posted it) and one file call press.smil that is nothing. So I banned the third one with wordpress but actually postie doesn’t open the text file in order to publish it’s content. How can I cope with this? So far I can publish just the picture… Thanks a lot for your help!!!

  39. HeadGeek:

    Since so many people have asked – currently you CANNOT change the userid in the mail you send. You can however post as differnet people and have it show up as the correct person. Check out the FAQ to find out how.

  40. Chris:

    Is there a way to specify something in the subject field so that a category will be created if it doesn\’t already exist in the database? This would be perfect for a project I\’m working on. Any ideas?

  41. NeedHelp:

    everything was going well until i received this error when i was testing config

    Connect to Mail Host Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.

    i have alredy tried putting full email address as userid. please advise

  42. Richard:

    Firstly, many thanks for the plugin. Works a treat at the website I’ve installed it on.

    A feature request I wanted to enquire about: The website I’ve installed postie on is the public face of a mailing list. We want the main posts to be displayed for a wider audience, hence postie. However, a reply on the mailing list gets posted as a new entry.

    I’d love to know if you’re considering a feature whereby replies could be posted as comments to the original post, rather than as a new post? It’s perhaps not something that would be useful unless a mailing list was involved as with us, but would make a big difference.

    Thanks again.

  43. HeadGeek:

    NeedHelp are you running the latest version of the plugin? If not check the faq and see if that helps

  44. Roel:

    Headgeek: when I hit the “Run Postie” button to check if it is working (after a clean install on wp2.0) it says: “#!/usr/bin/php -q Sorry but / is not a valid directory.” Can you assist?

  45. Roel:

    Found out what the error was. You have to create the wp-filez and wp-photos directory in the root folder of where the wp2.0 installation is, NOT in the plugin directory. You also have to set the rights to 777 for it to be writeable.

    HeadGeek: isn’t this a considerable security issue (setting directories to 777)?

  46. HeadGeek:

    Yes that could be considered a security issue. In a proper environment you would chown the directory to the web server user and then make sure that it is writable by that user. The plugin doesn’t actually expect that it will be 777 just that it can write to the directory.

    I left it the 777 route in because it is the easiest to get set up.

    That part of the documentation could be improved :)

  47. Roel:

    HeadGeek: I put the directory to 775 but even that was not enough to satisfy the script. I have some other software (perl) that even writes to 755 directories, so they must be approaching it differently. Can you add this on the feauture request list (ie. only 755 needed on directories)? Thanks!

  48. HeadGeek:

    Who owned the directory? in order for 775 or 755 to work the directory has to be owned (or in the group) by the same user that runs your web server – on debian this is www-data. On other linuxes it is often apache.

  49. bprhusky:

    I have set up the postie plugin in my blog but whenever I press the “run postie” button I always get an error message that says: Connecting to
    mail.phfcc.org:110 (pop3)) Mail Connection Time Out…The Server Said POP3 connect: Error [110] [Connection timed out]. I was never able to get it to work with the regular wordpress blog settings either. It always said the same message. Even Gmail doesn’t work with pop3-ssl. Does anyone have any ideas? Thanks.

  50. Tom:

    This looks like a great plugin. For the legality, I was wondering what kind of license came with John Blade’s original program. Thanks.

  51. AA:

    I am trying to figure out what is going on with the “options/ configure postie” It won’t appear no matter how many times I try to make it work. I have win2k3 server with IIS 6.0 and have allowed executables and everything. It won’t work, I can activate Postie, but the configure postie option doesn’t appear. Any suggesions?

  52. HeadGeek:

    Tom – the original version of Blade’s code was released under the GPL. Postie is released as GPL for that reason.

  53. AA:

    Nevermind, I figured it out… problem was with not being able to activate the plugin. Once I settled that, it works out awesome. One comment: Are we able to show the author on posts? Is there an option to do that?

  54. MJ:

    Having much drama trying to get mails from a cell phone to post in Japanese correctly on a utf-8 encoded blog.

    The mails are encoded ISO-2202-JP. If I do a postie test, it retrieves the mail fine. However in between retrieval and posting to the blog it does not get deciphered correctly.

    I have changed the conversion code in the postie-functions.php file but unfortunately that didn’t resolve the issue.

    Any suggestions or links to answers would be much appreciated!

    (Wonderful plugin regardless of my drama)

  55. Rich:

    Am I just missing it, or does the DELETE_MAIL_AFTER_PROCESSING setting that used to be in the non-plugin version no longer exist?

  56. Rich:

    Hi, i’m trying to get the Postie working on my website. I have installed and set up all the settings correctly. The test works and i can connect to the mailbox. However, when i manually Run Postie it comes up with this error:

    #!/usr/bin/php -q

    Connecting to mail.formfollowsfunction.co.uk:110 (pop3))
    Mission complete, message 1 deleted.
    “EMAIL” is authorized to post as the administrator
    Invalid sender: “EMAIL”! Not adding email!
    A copy of the message has been forwarded to the administrator.

    Ignoring email – not authorized.

    I have removed the actual email address used (from this post), but it is the email address of the administrator!!! I don’t understand why the post isn’t working. I have also set it so any email address is allowed to post. Any help would be much appreciated! Thanks!

  57. Markus:

    well, some people have the same problem: no links from thumb to full size image. i find out, this problem is only when i use an cronjob. when i press the “run postie” button, then everything is ok.

    why is the different?


  58. jack:

    I’m having the same issue as Markus and others have reported. The javascript stuff after the “#” in the link is getting stripped out unless I use the manual ‘Run Postie’ button/form on the config page. I’ve tried calling the get_mail script directly from a browser and also via curl (I don’t have lynx installed.)

    Posting text via email seems to work fine regardless of the method used to invoke the get_mail script.

    I’ve tried this with WP 2.0 and 2.0.1 alpha and Postie I *am* running on a Mac server with PHP 5, if that helps. (I notice that a note in the postie.php file mentions ‘problems’ with PHP 5. Could this be related?)

    BTW, the wp-mail.php script seems to work fine when called via curl, either via terminal or cron.

  59. Markus:

    hi again,

    it is not only a problem with the link. when i post text wiht & use the run postie – button, it works! but when i use a crontab, it don´t works – postie ignore the tag. i don´t know why…


  60. Psykotik:

    I didn’t saw this malfunction before, but I can confirm it… I run a cronjob too. Maybe related to some informations passed by a “post” instead a “get” ?

  61. Karpa-Diem (Jake Garrison):

    This plug in looks really promising. One request though, how hard would it be to have to plug-in add an extra profile field, like mobile email address. That way all my phone post can show up under the same user.

  62. lipilee:

    here is the solution for the “javascript part is stripped” problem. (if you read Hungarian, you can read it on my site too: http://lipilee.hu/2006/01/26/moblog-solution-mobile-video-blog/ )
    the cause of the problem is that you need to be logged in in order to be able to post with the javascript and class part. you either do this in your browser or you go mobile big time and do it with curl and cron. here I will explain the latter.
    on your server (or the computer you are pinging your postie from), run the following curl command:
    curl -c [cookie file] -d log=[username] -d pwd=[password] http://your blog’s address]/wp-login.php
    now you stored the cookie WP gives you upon login. let’s use it:
    curl -s -b [cookie file] http://your blog’s address]/wp-content/plugins/postie/get_mail.php >>/dev/null
    curl will use the cookie from the file and it will run the get_mail.php script just as if you logged in before.
    the one line above is the line you need to put in your crontab and run it, say, every 5 minutes.
    2 things to consider:
    1. you should consider protecting the postie directory on the server e.g. via .htaccess (make it accessible only from your server or the computer you are pinging postie from) to prevent some jerk ruining your moblog by unauth’edly pinging get_mail.php.
    2. for testing, you should remove ‘-s’ and ‘>>/dev/null’ from the curl command line so you see possible errror messages.

    have fun moblogging!

  63. lipilee:

    I had the same problem with multiple emails and I made an ugly hack to work it around: using procmail I only let in emails from my ‘moblog’ addresses (address of my mobile phone, my blackberry, etc.) and sent anything else to /dev/null. then I set Postie to accept all email which is a security risk normally but hey, I’m only allowing in 3 addresses :)
    also I edited the code so the ‘default’ user ID to post thru is not ’1′ but ’2′ – not my WP admin user, but my ‘normal’ blog user. (this might be something for Dirk to consider putting in as an option too.)

  64. asleif:

    hi there!

    well, i have a question about using postie inside a modified version of wordpress (the joomla/wordpress-bridge JD-WordPress 2.0-1.0 RC 2, based on wordpress 2.0) inside joomla 1.0.7 – well, i could understand, if you reject my question, but nevertheless, maybe anyone could help me…

    my problem:

    when i try to save the options, i get the message “Direct Access to this location is not allowed.”

    i am logged in as admin both frontend and backend.

    does anyone have some suggestions or hints for me? i also posted this problem in the support-forum of the developer of the joomla/wordpress-bridge, but until now, i didn’t got a solution.


  65. Andre:

    Hi there! I upgraded to WP 2.0 and now the darn thing isn’t working…

    I sent a test email to the specified account… if i click ‘run postie’ it says no mail is available ( i know there is because I check aferwards via outlook and it downloads fine) second, when I click ‘test postie’ this is the error i receive

    “Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.”

    I have already entered the full email addy but it’s still not able to retrieve the msg.

    Any advice on what I might be doing wrong? I checked and double checked everything!!

    cheers and thanks for any help!!!

  66. Andre:

    Okay, I figured out the problem. needed to add ‘!’ to line 107. Now the real problem… It checks for email (via cron job) and instead of downloading the photo, all this ASCII garbage comes up. If I manually run postie, it’s fine, but somehow the cron jon (in this case wp-mail) somehow downloads the photo in ASCII instead of the photo itself…

    I searched, and researched to no avail. Any help I’d greatly appreciate it!


  67. jack:

    Andre, the wp-mail script is the default post by mail script that comes with the WP distro. The Postie script is in the Postie directory; it\\\’s called get_mail.php.

  68. Andre:

    Jack, you are right, that is what i meant…

    when the cron job runs the get_mail.php somehow everything is stripped… for eg:

    this is what is left after the cron job runs it: (in html)

    Body of email

    Whereas if I run it manually via configure postie this is what I get:


    I don’t get why the data is stripped… This all happened after I uprgraded to WP 2.0…

    Anyone have any ideas?

    Thank you! ~Andre’

  69. Andre:

    Okie, the HTML didn’t show… in my previous post.. but in essence, the entire data is stripped and the only thing that shows is the filename (not the photo) the body of the text and subject line are in order but not the photo itself…

    re: the ASCII txt, I had the same email for wp-mail.php ad get_mail.php… wp_mail.php was the cause of my previous mishap…


  70. Karpa-Diem (Jake Garrison):

    I thought I commented yesterday, but i guess something went wrong.

    lipilee: If i understand correctly, that would only work best for a blog with one poster. This blog will have 4 posters with 4 phones.

    So I guess you can consider this a feature request. If the ability to add extra email addresses for each user.

  71. Karpa-Diem (Jake Garrison):

    ok, so my last comment seems almost incoherent. Let me try that again.

    The ability to assign a special (extra) email address for each user to use for mobile post would really be the icing on the cake.

    I have an other issue i meant to ask about in my last comment. My cell phone provider is altell, and I am having a hard time removing the extra content from the bottom of the each message. Adding the “:start” tag at the beginning of each message works for the extra top content, but I can not cut off the bottom. I added “:end” to the list of signatures, and put it in a message, but that still added all of the extra email content to the bottom. What do i need to do to get this to work correctly?
    (Editing disabled while spellchecking)
    Stop spell checking

  72. jim:

    Connecting to mail.paddlersview.com:110 (pop3))
    Mission complete, message 1 deleted.
    is authorized to post as the administrator

    Message Id is :

    Email has following attachments:

    Post Author: 1
    Date: 2006-01-28 19:45:58
    Date GMT: 2006-01-29 01:45:58
    Ping Status: open
    Comment Status: open
    Subject: Hang ‘em High!
    Postname: hang-em-high
    Posted content:
    This just in about the sick jackal that raped a 2 year old girl while the mother helps. What kind of a sicko gets off on 2 year old girls. These sick animals should be hung high in the town square and let the dogs have em. Death is to good for them. That would be to easy a way out. Hang em up and let their vermin cousins get to them, the crow, dogs and another animal that wants a piece of them. The native american had it right, tie them over an ant hole with honey smeared around their more sensitive private parts.

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'em High!', '', 'publish', 'open', 'open', '', 'hang-em-high', '', '', '2006-01-2' at line 4]
    INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type) VALUES (’1′, ’2006-01-28 19:45:58′, ’2006-01-29 01:45:58′, ‘ This just in about the sick jackal that raped a 2 year old girl while the mother helps. What kind of a sicko gets off on 2 year old girls. These sick animals should be hung high in the town square and let the dogs have em. Death is to good for them. That would be to easy a way out. Hang em up and let their vermin cousins get to them, the crow, dogs and another animal that wants a piece of them. The native american had it right, tie them over an ant hole with honey smeared around their more sensitive private parts. ‘, ”, ‘Hang ‘em High!’, ”, ‘publish’, ‘open’, ‘open’, ”, ‘hang-em-high’, ”, ”, ’2006-01-28 19:45:58′, ’2006-01-29 01:45:58′, ’0′, ’0′, ”)

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT category_id FROM wp_post2cat WHERE post_id =

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 6)' at line 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 6)

    I am not a programmer and could not find the solution. Thanks for taking the time.

  73. Mark:

    Hello there! I can’t seem to fix this very small issue.

    Everytime I force a manual run postie, the email attachment comes in fine. But if the crob job downloads it automatically, all I see is the file name. I have the same problem as the above mentioned person ‘Andre’.

    I too have upgraded to WP 2.0 and prior to the u/g, everything worked like a charm.

    Any ideas?

    Kind Regards,

  74. Kaleo Silva:

    Hello, and thanks for the plugin!

    I couldn’t get it to work here yet, but you may want to change the get_settings(‘home’) to get_settings(‘siteurl’) inside config_handler.php, otherwise it will give a 404 if the blog and WP install are in different directories.

  75. Kaleo Silva:

    After hit the submit button I got a page with lots of red error messages about garbage errors. My comment was posted.

    Did a search for your contact page, but where is it?

    Even in the post page, after the comment textarea there’s a message about a garbage error:

    A GARBAGE ERROR has occured!
    Go to the Contact section and notify to me!

    Oh, and if you type wrong the captcha you are returned to the post page with a blank textarea… Fortunately I did a Ctrl-C before submit.

  76. Peter Luxford:

    How does cronless postie work. I have configured postie and it will post my posts when I run the manual check.

    However my server doesn’t allow cronjobs so I need to get cronless postie working – I’ve activated it but nothing seems to be happening. HOw often does cronless check?

  77. Kasper:


    I have the same error as Andre above.

    “Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.”

    I have already entered the full email addy but it’s still not able to retrieve the msg.

    He gave the suggestion to ad a ! to line 107. But line 107 of what ? I checked all the php files in the postie directory but I couldn’t find a logical place to ad a !

    Hope you can help. ( I’m using WP2.0 also ).

  78. Ravan:

    For anyone who’s interested: I made a little alteration to have the post date set to the date the email was sent (or otherwise set in header) rather than the date of import…

    Replace in postie-functions.php on line 46:
    list($post_date,$post_date_gmt) = DeterminePostDate($content);
    list($post_date,$post_date_gmt) = DeterminePostDate($mimeDecodedEmail,$content);

    Also replace the whole function DeterminePostDate (starting around line 1125) with:

    function DeterminePostDate(&$mimeDecodedEmail,&$content) {
    $config = GetConfig();
    $delay = 0;
    if (eregi(“delay:([0-9dhm]+)”,$content,$matches)
    && trim($matches[1])) {
    if (eregi(“([0-9]+)d”,$matches[1],$dayMatches)) {
    $days = $dayMatches[1];
    if (eregi(“([0-9]+)h”,$matches[1],$hourMatches)) {
    $hours = $hourMatches[1];
    if (eregi(“([0-9]+)m”,$matches[1],$minuteMatches)) {
    $minutes = $minuteMatches[1];
    $delay = (($days * 24 + $hours) * 60 + $minutes) * 60;
    $content = ereg_replace(“delay:$matches[1]“,”",$content);

    // finding and setting the date defined in msg header
    if ( $mimeDecodedEmail->headers['date'] == NULL ) {
    $date_time = time();
    } else {
    $date = $mimeDecodedEmail->headers['date'];
    $date_time = strtotime($date);

    $dateInSeconds = $date_time + $delay;
    $post_date = gmdate(‘Y-m-d H:i:s’,$dateInSeconds + ($config["TIME_OFFSET"] * 3600));
    $post_date_gmt = gmdate(‘Y-m-d H:i:s’,$dateInSeconds);


    Now you can do post by date and time of sending or set your own date in the email header. It might also be interesting to have a flag like :date to override post date in the body?

  79. Ravan:

    Forgot in my previous comment: excelent plugin!

    I have a question though: It seems with whatever setting I use (HTML or PLAIN, letting WP rewite unvalit XHTML or not) that \n new lines in the email body get replaced by breaks in the post… The results displayed by get-mail.php are fine but the post itself (in the DB and front-end) has these messing everything up :(

    It seems like this is something WP is doing… What can I do about it?

  80. david:

    i want to change how postie’s posts look, where in the code could i add a css class or somthing like that.

  81. Clifton:

    Is it possible to set up the ‘sender’ information as the ‘author’?

    I’m having multiple addreses publishing, and it would be really helpful if the ‘author’ information was just set to the ‘sender’ field instead of the admin.

    Let me know if this is an easy enough tweak…


  82. Björn Smellström:

    “This is pretty easy actually. Just create a user for the person you want to allow to post. Then give them a role that is allowed to post to Postie. That’s it.” (from: FAQ)

  83. Shaun:

    I have the same setup, a public blog but I wanna be able to link a post to the person’s FROM email address so I know who’s is who’s.

    However, I don’t wanna create user accounts because I’d have to make hundreds possibly.

    There’s no way to grab the sender’s email addy and put it as the author?

  84. Boogie:

    I installed postie as decribed in the readme but i get a blank configuration page.
    Help ?!

  85. Charles:

    I am having issues with the Postie plugin with my wordpress install. When I try to click the “Run Postie” button I get

    “#!/usr/bin/php -q The web server cannot write to / please correct the permissions”

  86. Rich:

    Hey Dirk,

    I just moved my WordPress install into a subdirectory of my main site (WordPress Address), but still use the main domain name (no subdirectory) as the Blog address. With this configuration, when I click the Update Options >> button on the Postie config page, instead of being returned to the config page I’m presented with a 404. The options are updated, I’m just not returned to the proper URL.

    This seems to happen because the config_handler.php file uses get_settings(‘home’) to preface the URL to the config page. This results in a URL off of the Blog address, without taking the subdirectory of the WordPress address into account. Changing the config_handler.php to use get_settings(‘siteurl’) seems to correct this issue.

    I updated lines 20 and 35, changing this:


    to this:


  87. Jeffrey:

    I get this error when submitting the configuration for postie:
    Not Acceptable

    An appropriate representation of the requested resource /wp-content/plugins/postie/config_handler.php could not be found on this server.

  88. Karthik:

    Hi, How can images in the e-mail to be with the text by default without it being in the end or the beggining.

  89. valerie:

    like the others, when postie is run manually with the “run postie” button, everything is fine. cron strips subject and inserts ascii for pictures if a category is designated in the subject line. if no category, then the text goes through but pics are still in ascii.

    please help! do i need to go back to wp 1.5?

  90. Kees!:

    Same problem as Andre overhere, and the problem wasn’t there in WP1.5. I know the was a special mail.php file available, but that one got lost… Is there any sufficient solution yet?

  91. James Stephens:

    Cronless postie seems broken for me too.

    I am using WordPress 2.0.

    The plugins for Postie + Cronless Postie + Wp-Cron + Wp-Cron Reminder are all activated. I am receving reminder crons every 15 mins, Postie works fine by hand on my imap+ssl account.

    I setup a bloglines account and added my blog .. is there something more special I have to do?

    Any ideas?



  92. Tom:

    Plug in installed perfect. It checks my email and pulls the picture back but then I look at my site and all the posts are gone… I think the html in the email that the tmobile phone sends screws up the postings… If I go in and edit the msg. and take out all the code prior to the picture it works. Any way around this?


  93. Martin:

    How many extra lines would be needed to make WP postie read a local file containing the raw email instead of checking email with IMAP?

    I haven’t checked the code, and I am not a php guru, but it would be a very nice feature, because then I could just set up my .procmailrc to filter “username+moblog@myhost.com” (or more generally username+label@myhost.com), and save it to a file, and then call the postie script to check that file and post it.

    Thanks for a great plugin!

  94. gary:

    Cronless postie appears to be broken for me as well. Also, I’ve created users who’s email addresses are included in the Postie authorized user list, but all incoming emails are published as being authored by “admin” and not the user who sent it. Any ideas?

  95. Martin:

    I did a first attempt today, and hacked just a tiny bit of the postie code, and it turned out to be fairly easy to make postie accept local files so it can be used with .procmailrc. I might wrap it up and post some details if anyone is interested.


  96. Slim:

    cronless-postie, what do I need to do in my Bloglines account to work with cronless-postie? wp-cron and cronless-postie are activated, but I don’t know what to do with RSS or a feed.

  97. donutello:

    Hi, thank you for developing this plugin. It’s great.

    There are two problems I am running into:
    1. IE doesn’t like the links that postie creates: I’m not sure whether this is because my host (godaddy.com) is sticking some non-XHTML-compliant stuff into my page or because IE just sucks – however, I need to make IE work. I was able to achieve what I wanted by changing the lines:
    ” if ($thumbImage) {
    $attachments["html"][] .= $mimeTag.’ctype_parameters['name'] . “‘,’”
    . “toolbar=0,scrollbar=0,location=0,statusbar=0,menubar=0,resizable=1″ . “‘);”
    . ‘”>ctype_parameters['name'] . ‘” style=”‘.$config["IMAGESTYLE"].’” class=”‘.$config["IMAGECLASS"].’” />
    ‘ . “\n”;
    ” in postie-functions.php to
    if ($thumbImage) {
    $attachments["html"][] .= $mimeTag.’ctype_parameters['name'] . ‘” style=”‘.$config["IMAGESTYLE"].’” class=”‘.$config["IMAGECLASS"].’” />‘ . “\n”;

    I looked around in the documentation as best as I could for an alternate way to do this but couldn’t find any. The above modification makes postie do what I’d like it to. I know nothing about PHP and web programming in general. Does the modification I made make sense or am I barking up the wrong tree and is there a simpler or more correct way to solve my problem?

    2. I like the image resize feature but only being able to constrain the width results in images in portrait mode ending up much bigger than those in landscape mode. I was able to achieve a more balanced sizing of images by treating the maximum width as both a maximum width and a maximum height.

    Line 854 (in ResizeImage) becomes: if (($sizeInfo[0] > $config["MAX_IMAGE_WIDTH"]) || ($sizeInfo[1] > $config["MAX_IMAGE_WIDTH"])){

    and the lines:
    if ($sizeInfo[0] > $config["MAX_IMAGE_WIDTH"]
    && file_exists($config["IMAGEMAGICK_CONVERT"])) {
    $scale = $config["MAX_IMAGE_WIDTH"]/$sizeInfo[0];
    in ResizeImageWithImageMagick become:
    if (($sizeInfo[0] > $config["MAX_IMAGE_WIDTH"] || ($sizeInfo[1] > $config["MAX_IMAGE_WIDTH"]))
    && file_exists($config["IMAGEMAGICK_CONVERT"])) {
    $xscale = $config["MAX_IMAGE_WIDTH"]/$sizeInfo[0];
    $yscale = $config["MAX_IMAGE_WIDTH"]/$sizeInfo[1];
    if($xscale > $yscale)
    $scale = $yscale;
    $scale = $xscale;

    Also, the corresponding lines in ResizeImageWithGD($file,$type) become:
    if (($sizeInfo[0] > $config["MAX_IMAGE_WIDTH"]) || ($sizeInfo[1] > $config["MAX_IMAGE_WIDTH"])) {
    $xscale = $config["MAX_IMAGE_WIDTH"]/$sizeInfo[0];
    $yscale = $config["MAX_IMAGE_WIDTH"]/$sizeInfo[1];
    if($xscale > $yscale)
    $scale = $yscale;
    $scale = $xscale;

    I’ve never done any PHP programming before. I’d appreciate any feedback. Also, let me know if you’d like me to post my changes in a different way.

  98. thad judkins:

    Charles, about your error:
    #!/usr/bin/php -q The web server cannot write to / please correct the permissions

    I got this after upgrading WP from 2.0 to 2.0.1 because I accidentally deleted my wp-filez folder. Check to make sure its there and permissioned correctly and see if that helps.


  99. Furious Yellow:

    Great plugin..

    I just have one problem.

    The thumbnailing of images works fine, but the link to the larger images only work when I manually run Postie.

    When it’s done automaticly, when I click the picture it just jumps to the top of the page..

    Hope someone can help, as postie does all that I want it to otherwise..

  100. Furious Yellow:

    you can check it out here http://www.381.dk/blog

    The middle post is posted by manually running Postie, The other two is cron..

  101. Shaun:

    to fix the jumping to the top of the page problem:

    on line 386 Change:



    href=’ . $config["URLPHOTOSDIR"] . $fullImage . ‘

    This will at least open the full sisze image in the same window. Still can’t figure out the sctripping of the javascript.

    WTH is the developer??

  102. Furious Yellow:

    Ok I’ve tried chaniging the code but now i get an error:

    Not Found

    The requested URL /blog/’ was not found on this server

  103. donutello:

    Furious Yellow, I had the same problem as you.

    Send me an email at donutello AT thejoshis DOT org and I will email you the code change I made to get this to work. I tried posting it above but something ate most of the code I posted.

  104. Furious Yellow:

    Donutello – sent you a mail

  105. Nik:

    Nice simple newbie question for you – Author refers to (GD) must be installed when talking about automatically creating thumbnail links to large pictures …. whats GD? – and where can i find it?


  106. Furious Yellow:

    What is GD? Why would I want it?

    GD is a library that allows PHP to manipulate images. If you would like to have automatic thumbnails made then GD is required.

    More Info at : PHP.net

    From the FAQ on this page ;-)

  107. Nik:

    Ahh – Yes thanks – didnt notice the FAQ link – I had just found i was getting a “1″ response when I ran the postie test showing GD was installed – Think I just need to redude the max size of the image to get it to generate the thumbnail link as in FAQ ;)

  108. donutello:

    Furious, did you get my email? Did it work?

  109. Furious Yellow:

    donutello, I didn’t get the mail..

    try sending it to s_winther AT mail DOT dk

    I think there might be some server problems with the other mail..

  110. donutello:

    Furious, you’ve got mail.

    Check your junk mail folder if you don’t see it after a while.

  111. silfver:


    I’ve tried it all. But I still get this error message:

    Warning: fsockopen(): unable to connect to mail.shellkonto.se:143 in /wp-includes/class-pop3.php on line 87
    Unable to connect. The server said – POP3 connect: Error [13] [Permission denied]
    Try putting in your full email address as a userid and try again.

    Any ideas how to solve this?

  112. Furious Yellow:

    Hmm. I’ve seemed to run in to another problem..

    Postie won’t write the danish characters æøå. It pusts some weird “Æ” stuff instead. I’ve changed the encodin to ISO-8859-1 but that doesn’t help..

    It works in the title of the post but not in the body.

    Check blog.381.dk for example

  113. MJ:

    Finally worked out a solution to my problem:


    The sample code is specific to Japanese – but the method might work for other languages if the charset is changed.

    It converts ISO-2022-JP to utf-8 so it posts correctly via Postie to WordPress.

  114. donutello:

    Ok, so a lot of people have asked me about my fix for the thumbnail image problem. You can find it at: http://thejoshis.org/donutello/?p=4

  115. donutello:

    I don’t like the way Postie resizes images. It only lets you specify the maximum width. What this does is result in images that are in landscape mode ending up a lot smaller than images that are in portrait mode. Aesthetically, it’s not a good look. I’ve posted the changes I made to fix this at: http://thejoshis.org/donutello/?p=6

    I’m a PHP/web authoring novice so I will appreciate any feedback about this.

  116. w3bj3d1:

    I need to e-mail text and pictures to my blog.

    I cannot get cronless postie to work at all. As instructed I modified wp-rss.php, wp-rss2.php, and wp-atom.php:


  117. w3bj3d1:

    Well that’s interesting, apparently the system doesn’t like dashes. I’ll repeat:

    I need to e-mail text and pictures to my blog.

    I cannot get cronless postie to work at all. As instructed I modified wp-rss.php, wp-rss2.php, and wp-atom.php:

  118. w3bj3d1:

    OK, I’ll try again.

    I modified wp-rss.php, wp-rss2.php, and wp-atom.php:

    if (empty($feed)) {
    $blog = 1;
    $feed = ‘rss’;
    $doing_rss = 1;



    What am I doing wrong?

    PS: Sorry to spam your blog., Didn’t guess it couldn’t handle OPEN BRACKET QUESTION MARK PHP

  119. psychophysicist:

    I’m too frustrated to deal w/ this anymore. I’ll pay $100 to anyone who can get my installation of Postie AND Cronless Postie working properly.

    Mail-to-blog already works via wp-mail, but I can’t post pictures to my blog. All I need is for e-mail to blog working properly: including pictures, files, thumbnails, etc. In other words: just get Postie to work as advertised. As a matter of fact I don’t even care if I use postie – all I need is to post pictures and files via e-mail on a real-time basis (I can’t wait 15min. for my post to show up, I need it to show up like normal posts – when I post it). Seems to me this should be a simple task , but not even Postie works out of the box – you still need to get wp-cron to work on even the most basic level (not included – you have to go find it yourself, instal it, configure it, etc., etc., etc. – I’m tearing my hair out right now).

    I can deposit the money in your PayPal acct. Please e-mail me at psychophysicist001@yahoo.com and we can work out the details. Thanks.

  120. Rich:

    “Seems to me this should be a simple task”

    If it’s so simple, feel free to start coding your own plugin.

    “but not even Postie works out of the box”

    Maybe not for you, but there are probably a lot of people that don’t have an issue with it. Remember, you generally only hear about people that have problems. The ones that have it working have no reason to come here and post about it. That makes it seem like the plugin doesn’t work, but I can assure you that it does work “out of the box.” I had it running on my site in about 5 minutes.

  121. psychophysicist:

    Well Rich, if you are the same Rich who posted comment #1422 then Postie didn’t work out of the box for you either (and if not there are a lot of Rich’s out there). Personally I need to work so I can make money for food and rent – the fact is I don’t have time to develop software for free. I very much appreciate people who do, but all the appreciation in the world isn’t going to make the software work.

    There are a lot of people for whom Postie – or open-source freeware in general – does work for w/o any modification but is that 90% or 50% or 30% of all users? I’d venture to guess it is a much smaller number than it should be. And by that I mean judging the code against what a commercial software company would produce.

    You see, the problem is that if a commercial company produces innovative software, and blogware is a perfect example, often times open-source developers will come along and co-engineer a replacement, give it away, and destroy the company’s ability to sell their product. Once they are gone the open-source developers don’t have any solution to compete with, so they just stop producing viable code. There are exceptions, of course, but I’m not talking about the exceptions.

    Look, if you are going to write some code and you aren’t going to document it, or you aren’t going to take an extra 5 min. and package it with all the files necessary to make it run (in this case wp-cron) then don’t expect people to bow down at your feet for your valiant effort. You did a certain amount of work – thanks – but you didn’t finish the job. You are going to get complaints, you are going to get all kinds of e-mails and bug reports that could be avoided by simply communicating the basics. If people properly documented their work there wouldn’t be any ‘newbie’ questions (with the notable exception of those who are too lazy to read the documentation – I have no sympathy for them).

    And now that the genie is out of the bottle no commercial vendor is going to touch it b/c they know as soon as they release version 1.0 they are going to be competing with every guy out there with ten fingers and a keyboard – enraged that someone would actually charge for their work. Maybe we should reconsider the evil of capitalism?

    Code, comment, document, package.

    BTW: does any1 have the wp-mail zip file? It is no longer on John Blade’s site (as listed in the “official” plugin directory). If so, could you e-mail a link or even the file (psychophysicist001@yahoo.com)? Thanks!

  122. Rich:

    “if you are the same Rich who posted comment #1422…”

    No, I am not the same Rich who posted comment #1422.

    Although you make a couple of valid points (code, comment, etc.), I don’t agree with most of what you say (i.e. wp-cron is a separate package, therefore it should not be included with Postie). Maybe that’s just the (commercial) software developer in me. I’m just going to ignore your remaining comments and move on. I’m not looking to continue an argument on someone else’s site.

    I had emailed Dirk almost immediately after my earlier comment was made, asking him to remove it (I was mad for other reasons when I posted it). I guess it doesn’t matter now, but he can still remove it (along with this one) if he wishes.

  123. psychophysicist:

    I hope my comments weren’t taken to be argumentative – I’m not upset with anyone, I’m just frustrated with the software. I thought the points you made were valid, and I offered my perspective.

    I’m still offering $100 to get this working on my site.

  124. Nik:

    Has anybody managed to get Ravan’s code running (#comment-1463) for seting post date to same as mail sent date? … I just seem to get Parse errors…

  125. Mikael:

    using postie and wordpress 2.01. The postie .mo file isn’t recognized, should it be renamed or shouldn’t it be in postie/languages/? In postie options i see the header from admin .mo file in /wp-includes/languages/ why? Is it so that postie try to read the admin .mo file=

  126. Karthik:

    Hey i am using subscribe2. i am using postie but it dosen\’t seem to send a notification everytime i post thru postie..

  127. sebastian:


    i love this plugin! the only problem i have is that it doesn’t seem to support hyperlinks? i tryed to integrate links to external pages or files in differnt ways… but i only get the text line… any clue?

  128. TomatoMan:

    Just a quick note to say thanks for Postie. Dropped it into my site and it works like a charm. Very nice work, and thanks for sharing it!

  129. yoav:

    first – Thanks for postie! it works great.

    I need to change the date of what i post, no with a delay, but with a past date. Any easy way to do that?

  130. Fracka Future:

    Thanks for being the Postie Player! It’s works great and was easy to install.

    Thank you, thank you, thank you!!!

  131. Nik:

    Ref: my comment http://www.economysizegeek.com/wp-mail/#comment-1571

    I got Ravans date code running – noticed that single quotes around ['date'] got changed to wrong character when I cut n pasted.. had all ready noticed double quotes were doing this…. but missed the single ones.

  132. Gabi:

    Attaching a PDF file.
    What file type has to specified to Postie for a PDF attachment?
    I tried “pdf” “application pdf” and “application/pdf” but every time the attached PDF just gets stripped away, instead of being uploaded to wp-filez.
    Running Postie manually recognizes the attachment as “application pdf”
    Running WP 2.01 with Postie
    I would appreciate any help!

  133. Ken:

    Try this in cron if you don’t have lynx (or wget):

    */5 * * * * /usr/local/bin/php -q /home/your_account_or_whatever/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

    Thanks for Postie!

    (By the way, the prove-your’e-human ID 3 characters form submission thing for comments is crazy. I had to try 8 times to get one right. Cut n paste saved me the last few times from going insane because my comment disappeared.)

  134. Nik:

    Im trying to attach a .kml (google earth file) file to an email, when I run postie I get the output shown below..

    On the blog i get a link to the file but when i click on it it tries to open it as an XML file

    Anybody know how I can fix this?

    Email has following attachments:multipart alternative
    application vnd.google-earth.kml+xml
    Working on FW

    Post Author: 1
    Date: 2006-03-07 15:51:00
    Date GMT: 2006-03-07 15:51:00
    Ping Status: closed
    Comment Status: open
    Subject: kmltest
    Postname: kmltest
    Posted content:

    kml attach 2 MyTrack2.kml

  135. Gabi:

    Nik, please tell me how do you tell Postie to upload your .kml file?
    That is, what did you put in the “Supported File Types” textbox when you configured postie?
    I am trying to attach a pdf file, but it gets discarded every time.
    Thank you in advance!

  136. Nik:


    I tried making changes to the supported file types for the .kml file but it didnt make a difference…. I just tried mailing a .pdf file without making any changes to postie and it worked fine (uploaded file and created link)… but im manually running postie not using cron.

  137. Gabi:

    Thank you Nik!
    It turns out the attachment manipulating of Postie is not very robust. I tried several times to send a PDF file using mutt under FreeBSD and the attachment was always discarded. I just did the same thing with a Windows client (Groupwise) and the attachment was uploaded and linked to my posts.
    Or, who knows, maybe mutt has some non-standard way of attaching files?
    However, image attachment are dealed with ok, no matter whether I use mutt or Windows.

  138. matthew:

    Anyone know of a Moveable Type plugin that does the same thing…?

  139. Scott:

    No problems here…just wanted to say thanks. I have this working exactly as I wanted to on my new (unreleased) site. I’m using a Nokia 7610 and it’s a breeze. Thanks for providing this code!

  140. Gabi:

    Dirk, I found a small bug in Postie.
    It is about window.open() used to link thumbs with their full-size image.
    As you well know, the syntax is window.open(‘url’,'window_name’[,'window_characteristics']).
    According to my tests, IE requires that window_name to be a single word, without spaces or dots.
    That is, window.open(‘server.com’,'my image.jpg’) will open a window under mozilla, but not under IE.
    window.open(‘server.com’,'my_image_jpg’) will open a window under both mozilla and IE.
    Also, regarding the window_charcteristics string: “statusbar” should be “status”, “scrollbar” should be “scrollbars” for compatibility with IE. This is a minor thing, since a window opens in any case, but IE will simply ignore the window_characteristics string.

  141. Gabi:

    Dirk, I would like to suggest the following changes in postie-functions.php, at the line stating with “if ($thumbImage) {”
    What do they do?
    1. If the javascript is stripped, clicking the thumb will open the image in the same window (thanks donutello).
    2. If the javacript is not stripped, then:
    -it opens a new window with the full-size image in both IE and mozilla;
    -the new window is resized to be just a bit larger than the full-size image;
    -clicking the thumb will NOT take you to the beginning of the post (quite annoying, isn’t it?);
    -the name of the file appears as a popup message while the mouse is hovering over the thumb (in both IE and mozilla)

    if ($thumbImage) {
    //hacked $attachments["html"][] .= $mimeTag.’ctype_parameters['name'] . “‘,’”
    . “full_size_image” . “‘,’”
    //hacked . “toolbar=0,scrollbar=0,location=0,statusbar=0,menubar=0,resizable=1″ . “‘);”
    . “toolbar=0,scrollbar=0,location=0,statusbar=0,menubar=0,resizable=1,height=” . $marimey . “,width=” . $marimex . “‘);” . “return false;”
    . ‘”>ctype_parameters['name'] . ‘” style=”‘.$config["IMAGESTYLE"].’” class=”‘.$config["IMAGECLASS"].’” />
    ‘ . “\n”;
    . $part->ctype_parameters['name'] . ‘” title=”‘ . $part->ctype_parameters['name'] . ‘” style=”‘.$config["IMAGESTYLE"].’” class=”‘.$config["IMAGECLASS"].’” />’ . “\n”;

  142. Gabi:

    Scrath the above code, it is improperly formatted/changed by WordPress. Seems that I cannot post it here :-(

  143. Gabi:

    For anyone interested, the new code is posted at:
    and the results can be seen at:

  144. Chris:

    Hi, and thanks for making this script avail. I’ve installed it on WP 2.0.1 and that side is set up correctly. I can’t get my cron job to run right. My host uses cpanel, so I’m controlling the job through a web interface. I’ve tried your script as well as what my host recommends, and either have worked. I did a web search for cron jobs and didn’t come up with anything helpful. Can you help me figure out what I’m supposed to put in that line?

    Thanks in advance.

  145. Petter:

    Hi! I’m running WP 2.0.2 and have just installed Postie. I have sent an email with a picture in it but the picture is not posting. I have checked the mailbox and the mail is there, but when I test the postie script in options postie says that there is no mail on the server. What gives?

  146. Chris:

    With the help of my webhost support staff I was able to get the cron job to run. Thanks again for making this script avail, it really is cool.

  147. Nik:

    Hey Gabi

    Went to your test page and the popup windows work fine … tried to put your script change into my file and the change dosnt work – I think perhaps i am making some silly mistake – could you write a post showing exactly where to put your code..

    I had already made the donutello change before and so just overwrote that part … perhaps im missing somthing?


  148. Gabi:

    Seems that Postie has just been upgraded to and Donutello’s suggestions as well as mine have been included (and improved!). Just upgrade Postie!
    Good work, Dirk!

  149. Nik:

    I just upgraded to – Popup windows still arnt working … and now mail subjects are being appended with a random number before posting..

    Example: mail with subject image test became

    13th March 2006 image test1142280811

  150. HeadGeek:

    Ok I fixed the subject problem – I accidentally left in debug code from last night.

    Can you explain the problem you are having with the popup code?

  151. Nik:

    “Can you explain the problem you are having with the popup code?” … Yes the images arnt opening popup windows ;)

    If I go to Gabi’s test page http://www.rommb.org/modules/wordpress/?p=39
    Then the images on this page work fine and if i look in sorce for page you see onclick=”window.open(‘http://…….. References for the images … On my page there ant any.

    I know i have the latest version installed….

    Any ideas?

  152. jack:

    I\’ve also not been able to get pop up windows to work. Same problem as before: when running Postie via the admin panel it works fine. That is, an image has a link with the Javascript code to create a pop up window when the image is clicked. Posting the exact same message and invoking Postie via \’curl\’, either via a terminal call or via cron, creates a link that opens the full size image in a regular browser window, not a pop up window.

  153. Gabi:

    Jack, how do you exactly invoke `curl’? What is the command?
    Postie works almost flawlessly for me (except dropping PDF attachments sent with mutt, everything works as advertised).

  154. jack:

    curl is an equivalent to Lynx; on my Macs I can use it from a terminal window to fetch a URL. For example ‘curl -s http://www.whatever.com‘. I’ve used it fine in crontab files, too, with no issues. The ‘-s’ switch merely shuts off the self-reporting features of curl.

    When I call the Postie file via curl in the terminal (‘/path/to/Postie/get_mail.php’) I see the proper Javascript formatting for the popup window echoed in the Terminal but it never makes it into the WP database. But if I call Postie from the admin page all’s well – the Javascript makes it into the database.

  155. Gabi:

    A simple ‘curl -s http://www.whatever.com’ won’t do it because you have to the logged in. If you are not logged in, the javascript is stripped (I don’t know why, it could be some security feature of WP) So you actually have to invoke curl twice: first to log in and store the session cookie in a file, and then again to call the get_mail.php script while using the previously stored session cookie.
    See comment http://www.economysizegeek.com/wp-mail/#comment-1433

  156. Nik:

    I have just been running link to get_mail.php from a browser.

  157. Pietro:

    I too like this plug in very much and would like to use it to take notes from wherever I am. To do thins I would neet to find a way to automatically generate the categories on the fly. Would that be possible?


  158. Aaron:

    I’m still having the problems that are listed at the top comment of this page. Here’s a new one, though. It doesn’t seem to be escaping the apostrophe properly in titles. I had a post called “Joe’s New Cingular 8125 Pocket PC.” Postie said this:

    Thanks again for the plugin.


  159. Marc:

    Is there a way to automaticaly fill in the more-tag after 3 photos so that only the first 3 pictures are shown on the frontpage?
    When I post alot of pictures via email the post is getting to big….

    Regards Marc

  160. Nik:

    …. Since updating to the latest version – Ravans date fix dosnt seem to be working …. dont know if this somthing else that only works if you use the button on the config page .. i never use it…

  161. Gabi:

    I confirm the bug found by Aaron. Single quote in subject yields a SQL error.

  162. Marc:

    Oncemore about the Tag for splitting mails with allot of pictures:
    It works when I write the mail in plaintext and put a htmlf-ormated more-tag in the body (after 3 or 4 picture-tags). But it would be nicer if I could allow htmlformated emails by default.

    Then one more question:
    Would it be easy to manage if the pictures could be copied in an extra folder per email. My wp-photos is full – Its getting very hard to delete the pictures from deleted articles. The photozip plugin works like this – maybe its possible to implement?


  163. Ryan:

    I was wondering if postie would post comments through email? So authorized people could email in comments?

  164. divinity:

    Quick and dirty fix for the “apostrophe in subject” bug:

    in postie-functions.php:

    search for: $subject = GetSubject($mimeDecodedEmail,$content);
    afterwards add: $subject = addslashes($subject);

  165. divinity:

    that’s for btw

  166. alkoselters:

    Hi there, great work on the plug-in :)
    I have a strange tale to tell though, when it comes to 3gp-files.
    When I email a 3gpfile from phone or outlook, it shows up as only a link, UNLESS I use the run postie button from inside the options/admin-page for postie – If I check for new mails there, the video is embeded in the post – if I let the cron-job do it’s business, the 3gpfile is not embedded – anyone else experienced anything similar?
    running WP2.0.1 and the latest postieversion on a bluehostserver.
    any help would be appreciated since this is like the final hurdle for a perforct blog-site ;)

    best regards,

  167. jack:

    @ Gabi and Lipilee: Gabi, thanks for pointing me to Lipilee’s post, Gabi. And Lipilee, thanks for figuring it out. Somehow I must have missed your post. Works like a champ and solved the problem. Emailed photos now pop up as they should. Thanks again, and Dirk, thank you for a terrific plugin.

  168. Alex:

    Hi there, is it possible to get postie to accept any emails from a certain domain, i.e ‘*@gmail.com’?

    Thanks, Alex

  169. Tom:


    I have Posite on my blog. I love it! I have a problem, though. It will not run by itself. I have Cron on my server but do not know how to set it up. Any ideas?


  170. TomatoMan:


    If you’re not using cron yet, make yourself a file called “crontab.txt” to hold your various cron jobs. If you want to have Postie run every five minutes, use a line like this:

    */5 * * * * /usr/bin/lynx –source http://YOURSITE.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

    (remove any CRs the post wrapping puts in, if there are any)

    Then activate it from the shell like this:

    crontab crontab.txt

    Confirm that it “took” by typing:

    crontab -l

    You should see your cron file again.

    Before you automate it, you should make sure it works by running it manually from the command line (the “/usr/bin/lynx –source http://YOURSITE.com/wp-content/plugins/postie/get_mail.php” part) – if there are any errors, go into further troubleshooting until it runs cleanly.

  171. music downloads:

    I just installed postie.

    Works great.

    Thank you for all of your effort.

  172. gmop:

    Tom try http://www.cronjob4you.at/serve/index.php?lang=en

    It makes setting cron a doddle.

    Some of the site is in German so Firefox with the Translate extension would be handy.

  173. Rameez:


    Instead of cron, i wrote a .net windows sevice that does this for me. Simply connects to get_mail.php every 30 secs. If IIS is used with integrated windows authentication then the windows service will take care of everything.

    Also, if a new blog is found, it will send a notification email to a set of specified addresses. Emails and format are completely customisable via an xml file.

    If i get enough of a response to this post i’ll write up some install directions and post the service up with some source code.


  174. TomatoMan:

    I’ve written a fairly large patch for postie-functions in version that fixes a couple of bugs and adds some new directives, mostly oriented around posting code and handling word-wrap correctly, and fixing some issues with URLs being broken and so forth. There’s actually a fair bit of functionality there, so rather than recap it all here, I’ll just link to my own summary with the patch:


    Please use with caution – there may still be bugs, but I’ve been pounding on it pretty hard and it’s working ok so far for me. To install, patch against postie-functions.php; if you’re not comfortable with the process to do this, you might want to wait and see if Dirk approves and integrates it. :)

    Dirk, you’re welcome to include any or all of this code in your next release (of course), and thanks again for Postie.

  175. buzzkill:

    I fall at your feet! Both of you! Postie was awesome.. and now it is even more awesomer! :) So far the patch is working great. I have posted several times now from outlook, and I even use photos taken on my Treo 650 that are sent via versamail through my gmail account. Finally having the links to the full image is very nice. I limit the size to 200px in the post to keep things tidy. I think my only wish-list item at this time would be to have a thumbnail on the front page, a 400-600px on the posting page, and still link to the full size image from either.

  176. TomatoMan:

    Buzzkill, glad you like the patch and that it’s working for you. :)

    If anybody’s interested in procmail for running Postie rather than cron, I just got my setup working and documented it here:


    I use vpopmail and qmail on a Linux server. It took a little trial and error to get it going, but it seems to be working now, and procmail is enough of a pain (but awesome once you get it going) that I thought I should jot down what I did. :) Posting it just in case it helps anybody here.

  177. moyii:

    Well Ware

  178. Garry T:

    Hi guys this seems like a great plugin but i’m getting this error using gmail

    Unable to connect. The server said – POP3 connect: Error [] []

    any ideas? could you please reply to my email if possible :)

  179. Markus:

    @garry t: gmail use pop3-ssl. switch the Mail Protocol to pop3-ssl.


  180. Garry T:

    Just a follow up, here is everything thats printed when i run get_mail.php

    #!/usr/bin/php -q

    Connecting to mail.ihug.com.au:110 (pop3))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server Said POP3 connect: Error [] []

    Thanks :)

  181. Dmitri Von Klein:

    “Images are renamed in a way that makes it impossible to accidentally overwrite images you have already posted”

    May we have an option to disable this?

    Thank you!

  182. WauloK:

    Equals signs.
    When I post from my mobile I almost always get equals signs at the end of each line in my posts:

    The Real Estate agency said the usual sale time is 30 to 60 days so I will =
    be moving out soon.

  183. zeek:

    Line 71 in postieIMAP.php must be changed to:
    $this->_connection = imap_open(“{“.$server.”:”.$port.$option.”}”,$login,$password);
    to work correct.
    Otherwise I got an error.

  184. Daniel:

    I am running the latest version of Postie (great hack) and WP 2.0.2. It’s working my issues are one of formatting.

    I am currently using a free, dedicated POP3 email account via Yahoo international to retrieve my email that I want to post to a blog.

    1st off client wise I’m a Mac user.

    Using the MS Entourage email client (which I am stuck using) I can’t post without special characters turning to garbley gook. Carriage returns seem to be ignored so I end up with one GIANT paragraph. I have turned off HTML in sending my emails in Entourage, so I’m not sure what the issue is. I’ve also played with a number of different Postie settings to no avail. Attachments appear with no problem.

    I also tried sending using Mail.app. This sent out emails that looked good but the attachments didn’t appear. Unfortuantely, I can’t use Mail.app because I am on an Exchange server at work…

    Any help/tips are greatly appreciated. Thanks!!

  185. dolapo:

    Confirming single quote in subject causes SQL error.

  186. buzkill:

    Just an FYI thing for anybody new using Postie. This drove me nuts for about a half a day. If you send an email and attach a picture and only write a subject with no text in the body, Postie will create the post, but drop the image. It won’t recognize the image file unless you write something in the body of the email too.

  187. Daniel:

    I had the same problem as buzkill mentioned using mail.app (but I had text in the body of the message) not sure why the attachment was dropped.

  188. Woody:

    Feature Request:translating wiki formatting elements

    For example, when editing a wiki, I can say:
    and it would produce
    or, especially useful, is

    It would be cool, eh? For the first example, I could think of replacing “\n!!!” with “” using preg_replace(), but the ending tag would involve some trickery.I don’t know php very well, so I’m tempted to write something that, after replacing the above with preg_replace(), searches through and replaces every instance of the tag with it’s closing tag at the next new line, but I bet someone with more php experience could do it using built-in functions (rather than writing all of the search-replace function yourself).Any ideas?

  189. Woody:

    the above took out my html elements. I meant:

    and it would produce
    or, especially useful, is

  190. Woody:

    dang it. I even screwed with the tags. Oh well, you get the idea.

  191. buzzkill:

    One more little thang… if you email a post with an apostrophe in the subject like “Let’s check out the new post” it will kick and SQL error.

  192. Andreas:

    I’m trying to configure postie to work with gmail using pop3 ssl.

    When configuring postie it says under mail protocol that IMAP/IMAP-SSL/POP3-SSL is unavailable.

    How come? What am I doing wrong?

  193. Gabi:

    Resize image bug (Postie
    Dirk, I think you forgot a comparison. Currently, Postie will resize any image if one sets the “Resize large image” to yes. That is, it will resize even an image that is smaller than thumb dimensions!

  194. Greg:

    I have installed and configured postie. It was a breeze and the plugin seems really great. But I’m having a small issue. I sent an email to the correct address. But everytime I click “Run Postie” the script connects to the mail server but says, “There does not seem to be any new mail.” Any ideas on why that might be? I’m using Dreamhost. Does the e-mail need special formatting? Any thoughts would be greatly appreciated.

  195. TomatoMan:

    I’ve made a couple more tweaks to my postie patch and have set up a semi-permanent page for it, since it looks like I might continue to tweak it. It’s now in the format of a replacement for the postie-functions.php file rather than a patch against it; it’s working well in my own use, but use at your own risk.

    It has the same stuff as before (mainly oriented around new directives for protecting line breaks in specially marked sections), but with the addition of a crude hack to allow html to be posted in “code” sections, and a fix for the “upscaling small images” issue.


    Again, use at your own risk and let me know if it breaks anything, but it addresses serveral of the problems people are experiencing here.

  196. Daniel:

    TomatoMan:Nice job. Posts wrap their text much better now (I had to put in two carriage returns before to do the trick and now I don’t). I’m still getting some funky text posting and I suspect it’s a character thing I can control. Help getting to the bottom of this would be greatly appreciated!

    For example: I’m
    Turns into: I=B9m

  197. Gilles:

    I get this error message when I run the check mail script manually :

    #!/usr/bin/php -q

    Connecting to pop.free.fr:110 (pop3))

    There does not seem to be any new mail.

    There is mail on the account. If I give the name for an unexisting account, the message stays the same…

    WP 2.0.2, Apache 1.3, PHP5

  198. takku:

    I have trouble uploading 3gpp videos direct from Nokia 6670 cell phone,
    using the email client builtin to the phone (TeliaSonera network).
    (Images+text work ok, only video parts fail)

    When I run the get-mail manually, it recognizes the content ok,
    but the video file never appears in the directory. Needless to say,
    the video fails to load, and the links point to the directory.
    If I post the same video file from gmail or other, everythng works ok.

    Raw mail that fails: http://mutsis-on.com/mail-fails

    (And yes, Postie, WordPress 2.0.2)

    Any ideas?


  199. takku:

    ..got the video upload to work with Tomatoman’s patch. Great work – now
    this starts rocking!
    (I used Picoblogger; after it failed I turned over to find alternative – this plugin
    is way more attractive: open, reliable, standards-based, no ad-popups,
    wider platform selection, no soul-sucking registration..
    - Hmm, how far do I need to continue this list..)


  200. TomatoMan:

    I fixed a couple of bugs in the postie-functions.php file I’ve been working on – a procmail one that’s actually not connected, but was causing posts to sometimes appear twice, and added a couple of additional minor functions. A changelog and download is at the same place:


    Let me know if anything breaks, as usual.

  201. TomatoMan:

    D\’oh – fixed a stupid bug of mine. See the page for details and download it again if you pulled it last night or this morning. Sorry.

  202. Tre:

    I still get the 404 error. I’ve checked the config_handler.php file, it is there and it is siteurl not home. What else can be causing this problem?

  203. retsreg:

    Wordpress version 2.0.2
    Can’t figure out how to determine postie version? it’s a recent install though

    Problem: Larger 3gp uploads (>1MB) don’t post via email. Smaller ones do just fine.

    I checked with my web host, there’s no file attachment size limit on my email. So that’s not what’s causing it.

    Any ideas?

  204. TomatoMan:

    Try it with an image that’s over 1mb and see if it’s an issue with file size; if very large images work, then there’s probably an issue with the 3gp processing.

  205. falke:

    I would like to have a frame around pictures posted via postie, just as I get when I upload pictures inside of WordPress. I suppose it is a CSS thing but I cant figure it out…. ;o(

    Anybody done this and still remember?

  206. Tre:

    I’m supposing that perhaps I did not include enough information in my post in order for someone to assist me. I will try to provide more information this time. I have installed Postie following the directions in the ReadMe. I go into the plugins section of the Admin page, activate the plugin, then go to Options and choose Configure Postie. Once there, after I fill in the requested information, if I hit Run Postie, Update Options, or Test Config they each return a 404 (Page not found error). I did check the config_handler.php file to ensure it had “siteurl” listed and not home. It is accurate to what I have read on the board.

    Is there another problem or issue that can be creating this error mesage? I have confirmed the file does exist in the path indicated. The URL returned is: http://www.mysite.com/wordpress/wp-content/plugins/postie/config_handler.php

    Any help, information, or suggestions would be appreciated. Thank you.

  207. Nik:

    What gives with the formatting of this site? – all gone to hell in a handbasket on Firefox


    Ps – Just got back from 5 week Holiday in Australia/Thailand – Postie worked great.. 5 of us submitted stuff to a travel blog keeping the folks back home updated (and jelous) – posting both from Std Internet Places and quite a few entries from various mobile phones – Cool!

  208. heo:

    hi @all!
    i’m a newbie, so please be a little bit patient ;-)

    i’ve installed wordpress 2.0.2 yesterday and added the postie-plugin. it work’s realy fine but i don’t know how to configure the features right.
    mailing and posting is ok, but there is imagemagick and ffmpeg, too
    i’m using a windows 2003 server with ii6.
    already installed is a gallery, which already uses ImageMagick and ffmpeg.
    But If I try to use the same path under convert binary location or identify… or location ffmpeg
    anyone who has already such a configuration?

  209. Carsten:


    how can I center the fotos/pix posted with postie.
    Can I simply add something like align: center; into the Image CSS Style-field, so it looks like this?
    Image CSS Style: border: none; align: center;

    Or do I have to add something to my style.css?


  210. Amy:

    Hi, I just installed postie a couple weeks ago (on WP 2.0.2) and have yet to get it to post any mails I send. If I send mail and then click ‘run postie’ it always says there is no new mail even though there are several mails in the account from approved to post addresses. I’ve tried sending the email from my gmail account and also tried from the email account I have setup for my site (for that I tried both from OE and from the webmail client). It doesn’t post any of them. I copied the headers as it says to do so above and put them in a text file: http://www.aahhh.org/temp/mail.txt.

    Any ideas what’s wrong? I really want to get this working so I can post updates while on my trip.

  211. Franky:

    I really like this plugin, use it at wordpress 2.0.2 with Gmail POP3, awesome. But I have a question, this plugin currently support UTF8 font coding, but sometimes I have to post some other font coding, like another chinese encoding: GB 2312, I am thinking to hack the plugin to let it support the code conversion. could you give me some hints where I should check?


  212. Schavuit:

    I just got Postie running on WordPress 2.02. It works great. However strange is that when I manually add the mail to the page (by pressing the ‘run Postie’ button in the Postie options), all the styles are applied. But when the mail is added by a cronjob, the message appears without styles.

    E.G I have styles added to the Postie options in ‘Image CSS Style’ to centre and border the images. But the images are not centred or bordered. In the final page source I see that the style rule is missing.

    How can I resolve this?

  213. Novee:

    I didnt get what is saying/have to do at the last stage of cron part? So d i have to put in action in rss/atom page (well i tried but not working might did it wrong)? I got emaill shows up at test postie (manually) but not the last stage of job (5min automation).
    Can anyone tell me how to set that up? i cant interpret whats asking at last sentence at readme ;(

  214. Novee:

    OK problem solved – since i m too dumb to understand how to make cron works or my server or something, using 3rd party was how i did get away from it.
    Recomment to use this: http://www.cronjob4you.at, which gives you up to 10 mins duration for your fast pacing blogger(s). Other such as webcron.org only provide minimum to 1 hr duration..
    Once reg and put in your link to exe the job, the link page url should be same as the page lauched after submitting “Run Posite” (ie blah../get_mail.php).
    Yep, ignore how to do cron if you dunno how, when you ok to run postie, just get to do what i mentioned. Hope this helps, this plugin is great, look forward more and more people enjoying it!

  215. Matthew McGuire:

    Thanks for the plugin it works great with WordPress 2.0. I love posting from my camera phone.

  216. Michael:

    Hello — I’m working on two things. I cannot get the ‘Default Subject’ to work. I’d like to override every time, so that the title of the blog will be ‘Live from the field’ and not the begining of my message.

    Is there any way to do this? I’d also like the spam filter to remove the text verizon adds to every pix message sent. Any way to force remove huge chuncks of text?

  217. taufik:

    Hi ..
    It is working fine.
    But when I post the link … they change it to txt .. even when I already set it to accept html format.

    url link cannot be clicked ( not clickable ) as it is only a txt

    help please

  218. taufik:

    Can i use subject : [1][2]some subject

    to put the category id=1 and category id=2 ?


  219. taufik:

    got error when the mail subject contain \’ ( apposhtroph)

  220. Was:

    My version of wordpress is the 2.0.2 and i have the same error that Charles:

    The web server cannot write to / please correct the permissions

    Can somebody tell me something about this.

  221. git:

    thx for the plug in, i;m very exciting to try this one. But sadly i’ve similar problem with amy. I hope u can help me out.Thx
    i’m using wordpress 2.02, with the latest postie. Everytime i test postie manualy. it says no new email. :(
    Help, please!

  222. Aaron:

    Recently upgraded to from Two notes:

    The problem with the assorted line breaks that weren’t supposed to be there seems almost fixed. Instead of a hard return it is now just a space. Almost just as annoying though to edit… but coming along. I’m glad that you’re tackling this issue which is very serious for me and other users. I do appreciate it.

    The problem with an apostrophe in the subject line allowing arbitrary SQL commands to be sent is a very nasty bug that’s still there and needs to be squashed. I reported it in March 2006 and IMHO you shouldn’t be releasing this version with this exploit still unresolved. Not only because of the exploit itself but also because there’s apostrophes in my titles sometimes and if I forget, it will upload the jpegs to my server and completely forget about them causing me to FTP back in and prune them out.

    Still enjoying this plugin and you’re getting closer to v1.0. I’ll continue to use and test it. :-)


  223. Gianpiero:


    My version of wordpress is the 2.0.1 and wordpress Post by Email work very well.

    Postie dosen’t work, this error message:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, postmaster@cinemaforum.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Test Config
    GD Library Test

    Iconv Library Test
    Only required if you want to support ISO-2022-JP

    Missing iconv

    Clock Tests
    This shows what time it would be if you posted right now

    GMT:2006-05-13 11:27:28

    Current:2006-05-13 12:27:28

    Mail Tests
    These try to confirm that the email configuration is correct.

    Test Result
    Connect to Mail Host Yes

    File Tests
    Test Result
    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable Yes
    Files Directory Writable Yes

    Image Tests
    Three images should be here – they are the test files

    Plain Images 800 x 600
    800 x 600
    800 x 600

    Scaled & Rotated
    Fatal error: imagecreatefrompng(): gd-png: fatal libpng error: IDAT: CRC error in /web/htdocs/www.cinemaforum.it/home/wp-content/plugins/postie/postie-functions.php on line 1093

    any ideas?

  224. GULLI.ver:

    Hi there!
    Great work. Absolut brilliant! I can post MMS-E-Mails to my Blog now without any Problem! :) Thanx!

    … but: I would love to change the style of the Pictures, but unfortunately the Image CSS Class: and Image Div CSS: are not working. There is only a empty div created.
    So I tried to modify the source of postie-functions.php. At 387 I changed

    attachmentshtml .= mimeTag.div class= . configIMAGEDIX.


    attachmentshtml .= mimeTag.div class=myclass

    but still I got an empty div

    so I changed it to

    attachmentshtml.= mimeTag.diXXXX class=myclass

    just to see if I am editing at the correct line – and now the div was completely gone. I than edited the a-Tag to a rel=lightbox – thistime it worked out. So I am at the correct line, but somehow all div-Tags are post-processed and cleaned. How? Why? Where? Help! :(
    Also the window.open is not in the Page-Source, I fist read about it in the postie-functions.php. Confusing.

    I am running WordPress 2.0.2 and K2 Beta Two r167. Thanks for any hint! :)

  225. GULLI.ver:

    Sorry for the trouble. Thanks to lipilee\’s post (January 26th, 2006 at 7:24 am) I got it working now! :)

  226. GULLI.ver:

    I found a wrong variable in postie-functions.php around line 400. there is $config["IMAGEDIX"] used twice – must be $config["IMAGEDIV"]

  227. TomatoMan:

    Haven’t checked here in a while, but just FYI, that and several other issues are addressed in the patch I did for my own use, which is working well for me.


  228. Phil:

    Hey, would like to say that this appears to be a fantastic plug-in, just having some problems to get it working.

    Previously tried post-by-email, but had troubles getting the system to automatically check for new posts.

    I have postie installed, and Configure Postie is visible under Options.

    All mail settings are correct, as are user settings for those accounts from which I’d like to allow posts.

    On Test Config I get the following:

    GD Library Test

    Iconv Library Test

    Only required if you want to support ISO-2022-JP

    Missing iconv


    * Is “Missing iconv” a big issue?

    On Run Postie I get the following error:

    CCGI encountered an error while attempting to execute this script:

    Error Message: No such file or directory
    Error Number: 2

    This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M’s at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put ‘#!/…/perl –’ instead of ‘#!/…/perl’ on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server.

    If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/.


    Any ideas or suggestions would be greatly appreciated. I’m sorry I am new to PHP and SQL but reasonably quick at learning. I’m hoping I have just missed something blatently obvious.

    For your information WordPress is installed in /blog of my server, but all settings are set accordingly.



  229. Hi:

    how to ignore the sender ? (means everyone can send to the postie mail account)

    Is there anyway to check the to: or cc: part of the email ? rather than the sender name


  230. Jordan:

    Tre: I had the same problem.

    In fact, after figuring out why, I have no idea how anybody else even got the thing working. It looks like config_form tries to use hardcoded links to /wp-content/plugins/postie which won’t work because of the .htaccess file in /plugins/ which restricts all access there.

    I tried changing them to use /wp-admin/options-general.php?page=postie/ but that’s not working either.

    Anybody else have any ideas?

  231. Jordan:

    Well, temporary fix is to rename the .htaccess file in /wp-content/plugins/ to something else, and then name it back when done. Still, this seems odd. I wonder if another plugin I’ve installed added that? I think it would be good security policy to restrict direct access to all the plugins anyway? Either way, got the plugin working now, thanks.

  232. JPF:

    I made this change to PostEmail in postie-functions.php
    ‘post_title’ => $subject,
    ‘post_title’ => preg_replace(“/’/”,”\\’”,$subject),

    Stopped a SQL error I was getting.

  233. Jens Franke:

    Hi Dirk,

    I have some problems to trigger the filter for “publish_post”.

    Even if I changed the line (//do_action(‘publish_post’, $post_ID); – no longer needed) to (do_action(‘publish_post’, $post_ID);) it does not work.

    Any ideas?

    Thanks in advance for your help!

  234. Derrick Young:

    I have an issue where I have isntalled postie but get error when the get_mail.php rns

    Undefined Index: SCRIPT_NAME in d:\path\path\wp-settings.php on line 30

    Undefined Index: SCRIPT_NAME in d:\path\path\wp-settings.php on line 43

  235. Glenn:

    I am also getting the error “There does not seem to be any new mail” when I run the get-mail script from the configuration page. I’ve verified that there actually is mail in that account, and all settings are correct. (The test passes.) As far as I know I have the latest version of the script.

  236. Glenn:

    After some time spent changing various settings, I solved my “no new mail” problem. The docs for WordPress say to fill in the full account name for the “Writing” configuration. Since Postie is based on wp-mail.php, I used the same settings for both pages. Turns out that for some reason, sendmail doesn’t accept the full address blogaddress@domain.com, but apparently doesn’t return a proper error, so the script returns that you have no new mail. When I changed the setting to just use “blogaddress,” both the wp-mail script and Postie worked fine.

    I posted this to the WordPress Support board as well, where I fully expect to be flamed for not just knowing to ignore the documentation to begin with. :)

  237. wellness:

    how can i edit the css that images are align=”right” ?

  238. wellness:

    hey, whan i sende more than one artikel to my postie email and open the get_mail.php there are only one artikel that are postet the other are not postet they are dell ?
    i hope someon can help me

  239. raafman:

    Great plugin. I’m running with TomatoMan’s added functionality on wp 2.0.2.

    Unfortunately, I’m having the same problems with setting the class of a postie image that GULLI.ver, and Schavuit mentioned. As a workaround, I have to log in to WP after every mobile post, and manually set the class of my images and image divs in WP. This can get a bit cumbersome, and means moreover, that I’m not completely untethered, as I would hope moblogging would allow.

    I’ve read that lipilee’s post on January 26th, 2006 at 7:24 am addresses this issue, but I don’t think I have the know-how to pull any of this off. First of all, I have no idea if I have cURL installed, let alone how to run a script from it.

    Is someone willing to talk through how to do this as if I’m a ten-year-old? If not, is this the type of thing that will eventually be incorporated into another dot release? thanks.

  240. shipguy:

    This may be a silly question, but how do you get Postie to automatically process the mail/posting? I’ve got it all setup and working, but have to login and hit “Run Postie” button. I’ve got wp-cron and wp-cron-mail installed, and it happens to work fine with the default WP Mail Post feature. (Which doesn’t work when Postie is setup and configured – it sees and grabs the mail, but unable to post it.) But doesn’t trigger Postie

    So, is there a postie config? Should I tweak cron-mail?? Or, are posts by email always supposed to be manually processed? (Which kind of defeats the whole purpose of post by email functionality, IMO)

  241. raafman:

    you have to have what’s called a ‘cron job’ set up on your server. What this does is chronically runs a command. In this case you want it to ping the file php [your site] /wp-content/plugins/postie/get_mail.php

    I don’t know your server’s admin tool, mine uses cpanel. Click the cpanel button, and if you use the ‘standard’ interface, you can set up the interval. Best to keep it 15 mins and above to avoid server overload. Then enter php -q ~/public_html/blog/wp-content/plugins/postie/get_mail.php in the command line. Beware, I have my blog in the subdirectory ‘blog’, so you may have to get rid of that path.

    The other way is to get some other service to ping the file get_mail.php at the interval you’d like. Either way, this should get postie running automatically. …now if someone could only answer my post…

  242. Hans:

    In my Options -> Writing -> Update Services, we all have the default pinging service http://rpc.pingomatic.com/

    My question is whether this gets automatically executed too, when the cron job does its rounds to run get_mail.php? i.e. does does the pingomatic service still get informed when it retreive a mail and post it? Or do we have to do the pinging do it manually?

  243. Brian:

    I just upgraded to wordpress 2.0.3 and postie When I ran postie manually it said there was no email, but there really was. When I ran test config I got the “POP3: premature NOOP OK, NOT an RFC 1939 Compliant server” error. Following the Postie FAQ I inserted “return();” to line 108 in wp-includes/class-pop3.php. However now I get the error “Parse error: syntax error, unexpected ‘)’ in /wordpress/wp-includes/class-pop3.php on line 108″. It seems I’ve edited something incorrectly but when I’m looking at looks exactly the same as the FAQ. Help!

  244. Brian:

    As per my post above a few hours ago; I’ve got postie to work by putting “return true;” instead of “return();” as indicated by the FAQ. Not sure if I’ve stuffed anything up by doing this but at least postie now collects and process’ the email.
    Unfortunately I’m having the same problem I posted back on Dec 1 with the text in my posts not being posted from my nokia phone (only image is posted). I had hoped this would be resolved with later versions of postie but appears not. Must be a problem with my specific phone which will soon be replaced.

  245. mindamp:

    I have a question. This script seems to be a high comodity in my opinion. Whats sucks, is that it uses wordpress. I loved wordpress some time ago, but since then have moved on to creating my own CMS/blog application.

    I have managed to extract postie into its own directory… and give it the wordpress files it needs in order to execute. everything works fine once i have changed the include paths for wp-config.php etc…

    however, once this is done, and I execute it freely from my postie directory instead of wp-content/plugins/postie, it just shows the images name at the bottom of get-mail.php instead of the actual image, and it never copies it to the folder….

    for now im just going to leave wordpress installed, and change up the insert code for wordpress to use with postie to insert the data into my NEW database.

    any thoughts on making this a standalone application?

    i would prolly even pay money to have this done.

    let me know man.


  246. MB:

    If you have quotes in your mail subject (eg: spectacle de fin d’année ), postie fails to create the post ( the sql query made by postie is broken because of the quotes)

    anyway, thanks for your plugin

  247. rg:

    Also if you have an apostrophe in the subject the post will not post. Actually looking at MB’s example I think thats what he meant.

  248. rg:

    THE FIX for the apostrophe problem was mentioned earlier in these comments. I just tried it and it worked on! Thanks divinity. Here it is..

    Quick and dirty fix for the “apostrophe in subject” bug:

    in postie-functions.php:

    search for: $subject = GetSubject($mimeDecodedEmail,$content);
    in next line add: $subject = addslashes($subject);

  249. dw:

    When i click on configure-postie under option i get a:

    ‘Fatal error: Cannot redeclare write_post() (previously declared in ../wp-admin/admin-functions.php:5) in ..//wp-admin/admin-functions.php on line 4′

    was using 2.0.1, upgraded to 2.0.3 but no change…

  250. Andy:

    I get
    #!/usr/bin/php -q
    Missing Configuration For Mail Server

    Can anyone help with taht one???

  251. phil:

    Excellent plugin. I had a couple of problems getting it to work properly, so I thought I’d list them and their solutions here.

    1. DIV class not showing up. Fix: in postie-function.php, change IMAGEDIX to IMAGEDIV.
    2. Comment line about message mime type was getting formatted as a blank paragraph with line break. I think this is something that WP is doing. Fix: Comment out the variable responsible for including the mime type on the same lines where I changed IMAGEDIX.
    3. The style for the image itself was getting set to style=”border: medium none;” even though I still had the default setting. Fix: In the Postie settings, make the style field blank. My CSS default for images is no border, so that’s covered.

    Oh yeah, this is with WordPress 2.0.3 and Postie

    If anyone is having these problems and my instructions are unclear, drop me a line and I’ll be glad to help.

    And for the one guy, long ago, who was looking for a similar script for MoveableType: I’ve been using something called “mail2entry” for years. It’s nowhere near as robust as Postie, but it gets the job done. The latest version is at http://www.gweep.net/~aron/mail2entry/.


  252. Tim:

    I setup postie and activating the get_mail.php file through the dashboard which works fine. I’ve setup a cron job “lynx -dump http://www.domain.com/wp-content/plugins/postie/wp-mail.php” and I receive an e-mail that says “/bin/sh: /usr/bin/lynx: Permission denied”.

    Does anyone have a suggestion on what to do?


  253. ChrisJ:

    Trying to get the email posting to work with gmail account. Here’s my story and hopefully someone has a tip.

    Thanks in advance,

    Windows 2003, IIS6.

    1st problem fixed:
    IMAP/IMAP-SSL/POP3-SSL is unavailable – in the Postie Configuration page. Went into php.ini and removed the semi-colon from the imap dll file. Then re-started IIS and now the option is available.

    Have configured the following:

    Mail Protocol: POP3-SSL
    Mail Server: pop.gmail.com
    Port: 995
    Mail Userid: mysecret@gmail.com
    Mail Password: ******

    I have opened pop access in the gmail account.

    In spite of this I get this when I run postie:

    Connecting to pop.gmail.com:995 (pop3-ssl))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server said:Can’t open mailbox {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}: invalid remote specification

    When I run the test, everything seems to be OK except the email problem:
    Unable to connect. The server said – Can’t open mailbox {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}: invalid remote specification
    Try putting in your full email address as a userid and try again.

    At the bottom of the test page after the closing /html tag, I see this:
    PHP Warning: imap_open(): Couldn’t open stream {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert} in e:\inetpub\wwwroot\bookclub\wp-content\plugins\postie\postieIMAP.php on line 71

  254. mindamp:

    UGH. Great plugin man, however the POSTIE DIV class is not showing up at all. This problem makes me wanna vomit. Its a fucking great plugin.. yet I am completely disabilitated by this bug. I have tried all suggestions from up top, to no avail, I guess i am going to start having to dig up older versions, and continuing the unbroken code myself. PLEASE HELP.

  255. Blob:

    yes it is

    “Connecting to pop.gmail.com:995 (pop3-ssl)) ”
    This is a correct POP3s address (from gmail help)

    “There does not seem to be any new mail.”
    My account has 3 new e-mails

    I did change the username from “username@gmail.com” to “username” but this did not help at all.
    Password and accountnames are correct.

    WP 2.0.3 and last Postie

  256. David:


    sorry to trouble you, but im at my wits end. the plugin is fantastic,
    everything works.
    unfortunately im in japan and my sysadmin has flat out rejected the
    idea of installing iconv.
    postie cant find the function and doesnt put up the email.]

    is there anything i can do from the userside?
    thank you!!


  257. Brandy:

    I can not use Postie with WP-Cron. WP-Cron makes my site run extremely slow and crash my server. I’ve been blocked from my account once and I have NO IDEA what to do. Please someone help me. I know do not understand what I’m looking at here and need help really badly.

  258. WauloK:

    Hey TomatoMan.. any chance of adding my suggestion to your patched version? I mean I can do it myself but if you are already adding new patches then I may as well use yours if you do it.
    Just probably a preg_match for =^M at the end of the line to wipe it out or something :)
    From posted above:
    Equals signs.
    When I post from my mobile I almost always get equals signs at the end of each line in my posts:

    The Real Estate agency said the usual sale time is 30 to 60 days so I will =
    be moving out soon.

  259. Silicon Falcon:

    I was having the same problem as Andreas with When configuring postie it says under mail protocol that IMAP/IMAP-SSL/POP3-SSL is unavailable. I saw the post from ChrisJ: and how to fix it. It was no help because I am not running a web or mail server to use IIS*. I started buggering around in the config_form.php file and I found where this error was comming from.

    It is the result of an if statement looking for “HasIMAPSupport” then when fails goes to the IMAP unavailable.

    I moved…
    out of this if statement and got an error when testing

    Missing imap_openSorry – you do not have IMAP php module installed – it is required for this mail setting.

    So… I looked up this IMAP php module and found an install for php5 and installed it but found it was wanting the paths to my web and mail servers.

    Am I correct in assuming that this Postie thing will not work if I am just an average computer geek running WordPost wanting to send e-mail to a gmail account and have postie update my Blog?

    If so, something at the top of the page before downloading, telling me that a web server is required would be nice.

    If I assumed wrong please, someone offer some help. :)

  260. Silicon Falcon:

    I know… its not WordPost it\’s WordPress :)

  261. Otto:

    I see that the Cronless Postie plugin attempts to hook WP-Cron automatically and this is good, but it’s doing it incorrectly. The problem is that you cannot guarantee that WP-Cron will load before Cronless Postie does. Thus it may not work for no obvious reason.

    The fix is to edit Cronless Postie and change this:
    if (function_exists(“wp_cron_init”)) {
    add_action(‘wp_cron_15′, ‘check_postie’);

    to this:
    function setup_wp_cron_postie()
    if (function_exists(“wp_cron_init”)) {
    add_action(‘wp_cron_15′, ‘check_postie’);
    add_action(‘plugins_loaded’, ‘setup_wp_cron_postie’);

    This lets all the plugins load before it attempts to hook the wp_cron_15 action. That way, the order of the plugins loading won’t matter. Then all you have to do is to activate Postie, Cronless Postie, and WP-Cron, and voila, it runs at 15 minute intervals (assuming you get site traffic, of course).

  262. Matt:

    I had some problems with running this using cron too. For some reason when the script was run through cron it would post, but wouldn’t set it to publish so it wasn’t visible until the author or admin when in and published it. However, If I just ran the script from the Options page it posted fine.

    Here was my solution, I decided since the script worked correctly when I ran it from the website I would do just that, run it from the website every time. So, I put an iframe in my footer with the script in it. I set the iframe to dimensions of 0 x 0 and removed the border, so it didn’t appear on the page. This way the scripted is run every time someone visits the site. That’s real-time enough for me.

  263. Matt Preston:

    I have Postie and and the latest wordpres. I’m trying to get 3GP videos to work. Every time i email direct from my phone postie will see that a 3GP file is attached (clicking “run postie” shows that) but it never gets posted, the link just points to the wp-filez folder.

    When i email the exact same email from my phone to my normal email account (same server as the postie email account i have set up) i can download it fine onto my PC with my email client.

    If i then email that exact same file to the postie email address it all works fine! File i stored in wp-filez, link works fine, even embedding works fine.

    I have the Nokia N80. I can’t think what the phone would be doing differently for it not to work? Especially as my PC can recieve the email from the phone and it works fine. Would it be something to do with different headers that maybe Postie doesn’t like? or differing mime types? I have added the 3GP mime type to IIS on the server.

    I’d really love to use this feature of Postie. Really need some help!

  264. Paul Clip:

    Hey Dirk,

    Thanks for maintaining such a useful plugin. FYI, there’s a bug in postie-functions.php. It doesn’t SQL escape the subject. Here’s the diff:

    > ‘post_title’ => preg_replace(“/’/”,”\\’”,$subject),

    (This also opens up a potential SQL injection vuln)

  265. Michael Massoth:

    Hi Dirk,
    I installed the Postie-Plugin to my WordPress-driven site, did some slight changes to the styling codes and I am impressed on how easy it is, to post by EMail from my mobile phone or the PDA, now. Especially, I like the possibility to have the attached pictures posted.
    Nice work! Thank you!

  266. Sven:


    is it possible with postie to fill out a user defined field for the blog entry?
    I am not the scripter, but i am very happy if this works, because i want to take photos on the road and then write a user defined gmap with my gps coordinates to the article (with the plugin http://david.davies.name/weblog/wordpress-plugins/technotags-plugin/) to show where i am on my bicycletours.

    Thanks for answer; Regards Sven!

  267. Dave:

    yeah agree with all a great plugin – however i am having the same issue as ebastion from March 1st, 2006 at 11:17 am. I dnt see ay repsnse to taht ut basiclaly i’d love for the emailed links as sent from eitehr mail (rich text or plain) or mailsmith (plaint text) to actually appear on my blogs as links. Instead i just get the text of the link but not an actualy

  268. johnson:

    Since I have multiple people posting, is there a way to set it so we can put the author id or something and it will use it?

  269. Gérald:

    Excellent plugin – thank you ever so much. Two things i noticed:
    1) big problem: when I delete a post in WordPress, the images in my wp-photos are still in. Is-there a way to erase photos with the posts ?
    2) Is-there a way to control how thumbnails are displayed? I have tested a post with 6 photos, thumbs are generated propery, but all one below each other…



  270. aba:

    is it possible to add custom fields to the mail?

  271. aba:

    and again: is it possible to put an article via postie in draft-mode?

  272. Jason:

    @aba, yeah, I was just wondering the same thing. I wanted to be able to tag posts. Anyone know?

  273. gerald:

    If you can create an autoresponder on their webserver, there is an alternative to cron:
    A new postie has been emailed
    Title : %subject%
    Click here

    address: postie email address
    from: your email address
    format: html

    Once your message is sent, the server will send you this confirmation email. Just click on the link, and it will activate postie – the post is online now. It’s simple and very effective.

    However, I have a biiiiigg question: is-there a place wher I can find information on how to fine-tune the CSS of the images/posts in the admin panel of postie? I can’t find any information. For example, I have created 2 styles in my theme CSS: right and left. Right works (images on the right of the text), left does not… pffff… why???
    When I set image CSS class to: right – it inserts the “class” tag in the image, if I set it to left, nothing is inserted. Odd…


  274. jim hodgson:

    For all those trying to get gmail to work with postie, I had to make some changes in the postieIMAP.php file to get it to work. I can’t post code in this box or this blog craps itself.

    See my solution at:

    By the way, I had to submit this stupid post like ten times due to your blog not escaping code in comments, and your awful illegible captcha image.

  275. test:


  276. Thomas Black:

    I’m having an awful time trying to figure out the proper “subject” syntax.

    if I put subject “test message” (no quotes) the subject on the blog might be “test message”.
    if I put “test message [onology] chances are good there will be no subject at all.
    If I put “[onology] test message” again, no subject. Same with dashes same with almost every config I can think of.
    What on earth have I done wrong?

  277. Chris:

    Postie seems to not be working for me anymore. Now, when I post a message or send an image via email. Nothing seems to happen. The directories on my server remain empty. Subscribe2 tells me that a new post has been made at my site, yet there is nothing there. I ran the two tests in “options”; I see the sample pictures. The script runs and tells me that there is no mail.

    Any ideas?


  278. Oliverio:

    This plugin works fine with spanish characters. I don´t have access to cron so I’m trying to use wp-cron and cronless postie. Will it work?

  279. gerald:

    I am desperatly trying to post a .swf as attachement. It is posted, it’s link appear in the post, but it’s not displayed directly on my page. Does someone know if there is an issue with Flash files posts ?

  280. Håkan Carlström:

    WordPress 2.0.3/Postie
    I had a problem with HTML in subject. (For example the Swedish Ã… (Å), Ä (Ä), Ö (%Ouml;) )
    I changed the following ‘if’ in function GetSubject(&$mimeDecodedEmail,&$content) in file postie-functions-php:
    if (!$config["ALLOW_HTML_IN_SUBJECT"]) {
    if ($config["ALLOW_HTML_IN_SUBJECT"]) {

  281. Håkan Carlström:

    WordPress 2.0.3/Postie

    Use postie with wp-cron:

    I use wp-cron to get mail with postie. I made a copy of get_mail.php (named it get_mail2.php) and made the following additions (after :

    Avtivate it in WordPress/Plugins

  282. Håkan Carlström:

    It looks like my earlier mail messed up so here it is again:

    WordPress 2.0.3/Postie

    How to use postie with wp-cron:

    I use wp-cron to get mail with postie. I made a copy of get_mail.php (named it get_mail2.php) and made the following additions (after php-starttag):

    Plugin Name: Postie wp-cron plugin
    Plugin URI:
    Description: Activates the get_mail function each 15 minutes
    Version: 0.5
    Author: Håkan Carlström
    Author URI: http://www.familjencarlstrom.se

    add_action(‘wp_cron_15′, ‘get_mail2′);

    function get_mail2() {

    And before php-endtag:

    Then activate it in WordPress/Plugins

  283. nniiccoollee:

    Thanks for the fabulous plugin, thanks to gerald for the brilliantly simple auto-responder idea, and thanks to roel for the clarification on the directories for installation! I\’M DELIGHTED!!!

  284. Pac:

    Seems not but could you confirm that it is not possible to set up sort of password to ensure that the email coming is not a spam and is a real blog post?

  285. Bastian:

    I had the same POP3-Error
    “Connect to Mail Host Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.”
    and tried the offered solution in your FAQ but it didnt work out.
    didnt make it.
    I tried
    return true;
    and it worked.


  286. Louis Cornelissen:

    If you do want to post 3gp and mp4 files in your blog then your provider should support this
    In the Helm Control Panel of my provider I can prepare a list of custom MIME types that are apllicable for my for domain.
    Some types like wmv are almost all the time working.

  287. Bastian:

    Hi there,

    I have the following problem with your software:
    when i update postie manual, everything is just fine but when i do it via the cronjob, the linebreaks are not correct. “\n” goes to “n” only.

    Is there a way to solve this?

  288. Steve:

    Hi there,

    Postie is great – thanks for your hard work.

    Have you or anybody else figured out the carriage return issue? That is the only issue I have been able to find! :)

    Thanks again,

  289. Andrew Christensen:

    Just an FYI. This plug-in will not work on WPMU out of the box. I just thought that this should be shared as I have been searching all day for a plug-in moblog system for WordPressMU. Apparently, there is no such animal.

    That being said…. I edited several files in the postie folder to comment out the version checking and it works… sort of. The only problem is that when you submit your configuration settings, you get an error on postie_functions about wp_roles. I was not yet able to fix this but it does save the settings. I was able to then manually run the test and it worked perfectly.

    Thank you for a great plug-in. It would be awesome if you could make this plug-in more flexible for the WPMU environment, such as storing the configuration in the db (if it does already, I apologize, but I could not find it.) so that multiple people can use it.

  290. brandon:


    are you able to incorporate adsense in the email to be sent to the Blog post?

    that would help

  291. Bastian:

    Ah I found the problem, I replaced the last \n with and now everything is just fine.

  292. Steve Larkson:

    Im using the Watermark plugin (http://www.malcherek.de/index.php?seite=wordpress.php) for my ordinary image uploads, but that one doesnt seem to work with Postie.
    Have anyone gotten those two plugins to work together?

  293. Chad Parry:

    Several people have written about the SQL injection bug. I prefer this fix. Change the code in postie-functions.php line 54 to this:

    $details = array(
    ‘post_author’ => $wpdb->escape($poster),
    ‘post_date’ => $wpdb->escape($post_date),
    ‘post_date_gmt’ => $wpdb->escape($post_date_gmt),
    ‘post_content’ => $wpdb->escape($content),
    ‘post_title’ => $wpdb->escape($subject),
    ‘post_modified’ => $wpdb->escape($post_date),
    ‘post_modified_gmt’ => $wpdb->escape($post_date_gmt),
    ‘ping_status’ => get_settings(‘default_ping_status’),
    ‘post_category’ => $wpdb->escape($post_categories),
    ‘comment_status’ => $wpdb->escape($comment_status),
    ‘post_name’ => $wpdb->escape(sanitize_title($subject)),
    ‘post_status’ => ‘publish’

  294. Danny Ford:

    Hello all.

    Cheers for the plugin – ace.
    cheers also to the helpful people on this board.

    I do need some help to get me over the last installation hurdle. I noticed this up the board a while…


    If you’re not using cron yet, make yourself a file called “crontab.txt” to hold your various cron jobs. If you want to have Postie run every five minutes, use a line like this:

    */5 * * * * /usr/bin/lynx –source http://YOURSITE.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

    (remove any CRs the post wrapping puts in, if there are any)

    Then activate it from the shell like this:

    crontab crontab.txt

    Confirm that it “took” by typing:

    crontab -l

    You should see your cron file again.

    Before you automate it, you should make sure it works by running it manually from the command line (the “/usr/bin/lynx –source http://YOURSITE.com/wp-content/plugins/postie/get_mail.php” part) – if there are any errors, go into further troubleshooting until it runs cleanly. ”

    I know I need this badly, but I have no idea where to put this file, where the ‘shell’ is and where to type ‘crontab-1′. Eeep!

  295. Danny Ford:

    Actually now I have more problems… I can’t seem to post attachments… apparently I am exceeding maximum bytes

    I want this to work so badly.

  296. Claudio:


    I’m trying to configure Postie but I gen an Internal server error when i manually run it (both using the “Run Postie” button and directly calling the get_mail.php script).

    I use thunderbird to send mail, my WordPress version is 2.0. The Postie test seems to pass (but iconv), report follows:

    Postie Configuration Test

    Postie is in /web/htdocs/www.claudiobergero.it/home/blog/wp-content/plugins/postie

    GD Library Test

    Iconv Library Test
    Only required if you want to support ISO-2022-JP
    Missing iconv

    Clock Tests
    This shows what time it would be if you posted right now
    GMT:2006-08-21 07:31:37
    Current:2006-08-21 09:31:37

    Mail Tests
    These try to confirm that the email configuration is correct.
    Test Result
    Connect to Mail Host Yes

    File Tests
    Test Result
    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable Yes
    Files Directory Writable Yes

    Image Tests
    Three images should be here – they are the test files
    (the images show correctly)

  297. Creag Banta:

    I am using full e-mail address and can access the account usng that address using webmail. I am using pop3 port 110. I have a recollection, from using Postie a year ago, of fixing this with a code edit. Test config yields:
    Mail Tests

    These try to confirm that the email configuration is correct.
    Test Result
    Connect to Mail Host Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.

  298. Creag Banta:

    This worked: From WordPress forum: Digory on June 28, 2004:
    To fix, edit wp-includes/class-pop3.php, and change this line:
    if($this->RFC1939) {
    to this:
    if(!$this->RFC1939) {
    (add exclamation point).

    Eliminated error: The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server.

    Perhaps this should be in Postie install and test doc. Or, maybe it is and I missed it.

    Postie is now working happily.


  299. Matthias Jell:

    I use postie
    I added :end to the sigantures.

    my testmail looks like this:
    :start testmessage :end not here

    When i send this with an email it is interpretet correctly.

    From an mobile phone (MMS) this is embeddet into html. and then the :end will be ignored from postie.

    Any help?

  300. gary feng:

    a great plugin. However, there seems to be a severe security risk here — I was able to attach exeutive files and PHP scripts in the email post, and then run them off the web. This means if someone figured your WP write-in email address and fakes your return address, he will be able to take over your server. I would strongly urge you to add filters to prevent such possibilities. thank you!

  301. CyberFantome:

    I cannot get Postie to automatically check my email server, pull down email and post. It only works if I load the script manually. Can someone help me? I am not able to setup cron jobs with my hosting provider.

    WP – 2.0.4
    Postie 0.9.4
    Cronless Postie 1.0.1
    WP-Cron 1.3

  302. Wayne Hall:

    Great plugin! thanx much.

  303. jahid h khan:

    XPertMailer – Sends/Recieve TRUE Mails EvEn !! Gmail !!
    Download XpartMailer for support &
    use following code for view message
    //$data = POP3::pRetr($conn, 1); //

    check it out
    jahid h khan
    dhaka, bangladesh

  304. jahid h khan:

    //$data = POP3::pRetr($conn, 1); //



    check it out
    jahid h khan
    dhaka, bangladesh

  305. Art M:

    I have WordPress 2.0 installed and the newest version of Postie installed also. I’ve already configured Postie and set the mail settings correctly, however, I try to use the run Postie feature and gives me an error of “Mail Connection Time Out”. I am using a paid account for Netfirms webhosting and am using its pop3 email account for my moblogging. I know all the settings are correct; and I also have a cronjob setup to access get_mail.php

  306. Dster76:

    I would very much like to create new categories when posting by email. Is there a simple way to do this?

  307. Panzy:

    Wordpress 2.0.4, Posti

    If i try to use “Configure Postie” in the admin than i’m reciving the following error:

    Fatal error: Call to a member function add_cap() on a non-object in /usr/home/xxx/redmf.org/wp-content/plugins/postie/postie-functions.php on line 1886

  308. Amit:


    Postie is not working for me. I am getting following reply when I click “Run Postie” in the configure postie option.

    #!/usr/bin/php -q

    Connecting to mail.persistent.co.in:993 (imap-ssl))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server said:Can’t open mailbox \{mail.persistent.co.in:993/service=imap/ssl/notls/novalidate-cert}: no such mailbox

    Configuration used:
    Postie version:
    Wordpress: 2.0.3

    I am trying to access emails from IMAP-SSL server.
    Platform: Windows-XP


  309. Tim:

    I\’ve been running Postie for awhile and it seems to work just fine. When I login to my hosting account through FTP, I notice there are several files labeled “get_mail.php.1″, etc. These are located in my root directory. Anyone have an idea what the problem is?

  310. joker999:

    Do imagemagick work anyone?

  311. niceplugins:

    Anybody know why ?
    This error coming when do the test config

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.png’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php on line 1106

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.png’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php(945) : eval()’d code on line 1

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.jpg’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php on line 1106

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.jpg’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php(945) : eval()’d code on line 1

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.gif’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php on line 1106

    Warning: imagejpeg(): Unable to open ‘/var/www/vhost/xxx.com/wp-photos/thumb.Test.gif’ for writing in /var/www/vhost/xxx.com/wp-content/plugins/postie/postie-functions.php(945) : eval()’d code on line 1

  312. joker999:

    When im use imagemagick and doing “test config” then these image dont resize it still said 0×0 and error say

    “Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040

    Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040

    Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040

    Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040

    Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040

    Warning: Division by zero in /home/wds/wds.org.nz/wp-content/plugins/postie/postie-functions.php on line 1040″

    Hmmm ?

  313. joker999:

    Test Result
    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable Yes
    Files Directory Writable Yes
    Convert exists No
    Identify exists No

    They should say “yes” — Convert and Identify,

    Imagemagick is on my server..

  314. joker999:

    YAY i’ve fix! its need safe mode off

    doh! :)


  315. Kash76:

    I keep getting “make sure pop is turned on” which it is on Gmail.

    The rest of the message is

    Fatal error: Call to undefined function: imap_open() in /home/kash76/public_html/blog/wp-content/plugins/postie/postieIMAP.php on line 76

    I cannot find this function either!? Please help.

  316. Thusgaard:


    I have a problem. I use postie, and Authorized Addresses. Which makes perfect sense. I can send mails ant it works. I can also send SMS (as mail via my phone provider) this also works. But when I send MMS as e-mail I have a problem. MMS messages from my phone provider comes with an odd and ever changing address. There for I need to be able to use wildcards in the Authorized Addresses field. It doesn’t work now, but can it be made possible?? What I need is to allow all mails from *@mms.tdc.dk.


  317. Michael R:

    I too am being bitten by the “There does not seem to be any new mail.” issue.

    There is new email, The login credentials are correct, though the message does not change when they are wrong. Target system is use the Dovecot pop3/imap server.

  318. Michael R:

    Found a solution to There does not seem… message!

    Error Message: There does not seem to be any new mail

    This error is a bit of a misnomer – the test just checks to see if anything was retrieved.

    If you’re feeling adventuresome open wp-mail.php and search for:

    $count = $pop3->login(get_settings(‘mailserver_login’), get_settings(‘mailserver_pass’));

    Change the lines following it to something like:

    if (0 == $count) :
    echo “There does not seem to be any new mail. \n”;
    echo “count = $count \n”;
    echo “$pop3->ERROR \n”;

    You’ll then be presented with a more informative message.

    One possibility (was in my case) is the mail server refuses connections that attempt to provide an unencrypted password – like POP3. If your webserver and email server are on the same physical computer you can specify localhost or as the mail server. That traffic is assumed to be OK without encryption because it never traveled across the network.

  319. Roy Wasse:

    You could also use lynx to record your actions (logging into wordpress, calling the mail script) something like this
    Log your actions:
    lynx -cmd_log=filename http://theurl.com

    once you have recorded your actions in the file named filename you can do that:

    lynx -cmd_script=filename http://theurl.com

    Works very well over here

  320. Lee Hartley:

    minor bug: when sending a post with a ” ‘ ” in the subject (e.g. don’t, he’s) …a sql error is produced and the post is thrown out

    $subject = mysql_real_escape_string($subject);

    to postie-functions.php

    $post_categories = GetPostCategories($subject);
    $comment_status = AllowCommentsOnPost($content);

    //added so that subject lines with “‘” such as “don’t” will not error out
    $subject = mysql_real_escape_string($subject);

    $details = array(
    ‘post_author’ => $poster,
    ‘post_date’ => $post_date,
    ‘post_date_gmt’ => $post_date_gmt,
    ‘post_content’ => preg_replace(“/’/”,”\\’”,$content),
    ‘post_title’ => $subject,
    ‘post_modified’ => $post_date,
    ‘post_modified_gmt’ => $post_date_gmt,


  321. Phil:

    Hi, having installed WP and now Postie, I’ve configured the mail server/address options as mentioned in previous posts and the tests run ok. However….. as per several posts, I also have emails sitting in the inbox but get the message below:

    #!/usr/bin/php -q

    Connecting to mail.theebookpress.com:110 (pop3))

    There does not seem to be any new mail.

    Why is is failing to see the emails ( I’ve even allowed it to accept emails from anybody just to try to make it work ! ) and does anyone know of a way of proving it is actually checking the email box, or does the Connect to Mail host test with a ‘Yes’ result indicate that it is. As Cron is not detecting any emails either, I’m assuming I’ve still got something wrong in the set up.
    Should I try to prove my settings are correct in Options/Writing/Writing by Email, but this gives a rather confusing ” Ooops POP3 connect: Error [0] [Success] ” message after calling wp-mail.php…..

  322. Phil:

    Please ignore my previous post – it’s now working !

  323. Thusgaard:


    When I send an e-mail txt-message (SMS) from my mobile I have a fixed address: Mobilenumber@sms.tdc.dk and this works fine with postie. But when I send a a e-mail multimedia message (MMS) my e-mail becomes random_number@mms.tdc.dk.

    I can not validate random e-mail adresses in postie. So I would love an option to use wild-chars in the e-mail adresses, like *@mms.tdc.dk. Is this possible? It would alow me to update my homepage with pictures from my mobile phone (mob-log)


  324. Thusgaard:

    sorry I did not mean to double post. I honestly couldnt see my previous (september 19th) post.

  325. Josh Wex:

    Is it possible to automatically create a new category based upon the email address of the sender?

    For example, if jon@starwars.com sends an email, Postie will create the category ‘Starwars.com’ and post the message there?


  326. Mike:

    thank you for this nice plugin, all work fine but I have a little problem:
    I use the “Image CSS Class” and when I start postie from the option-page the thumb inside the entry have the class. When postie start from a cronjob, the thumb have no class parameter in the img-tag. Maybe you can help me, I don’t know why and can’t fix this problem.

    Thank you

  327. Adeniji Segun:

    Postie keeps saying there is no mail while I have so many mails in the designated address. I search through replies I saw a person with a similar problem only that there was no direct response to her queries that I could see.
    Pls kindly help out so that I can also benefit of this your great work. (All other thing- i mean the test ran well)

    Adeniji Segun

  328. Matthew:

    Hello, great plugin! A couple of us are having problems with blackberrys and paragraphs/line breaks. Boris explains it nicely here:


    I’ve had a look into postie-functions.php and found several lines related to stripping extra line breaks (e.g. line 617-619) but I’m not an expert coder so I don’t want to break it.

    If someone has found an answer already or has any ideas at all, that would be really great.

  329. Mr. Joshua:

    I am trying to get postie to work with my google for your domain account. I can pull down email with thunderbird just fine so I know the settings and POP is setup right. But when I test config I get this.

    Warning: imap_open() [function.imap-open]: Couldn’t open stream \{pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert} in /home/######/######/######/######/wp-content/plugins/postie/postieIMAP.php on line 71
    Unable to connect. The server said – Can’t open mailbox \{pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}: no such mailbox
    Try putting in your full email address as a userid and try again.

    Any ideas?

  330. simeon:

    “tagging is established — and categorizing is obsolete.” (Michael Wöhrer @ http://sw-guide.de/wordpress/category-tagging-plugin/)

    i was wondering if there might be a way to have Postie route posts via tags rather than putting [this] or :this or -this- in the subject?

    One could then setup a relevant news alert with Google Alerts and have Gmail filters setup to catch, tag then forward the alert to the relevant category, making WP a automated term aggregator / archive.

  331. LayZ.Tiger:

    I have exactly the same issue as described by ChrisJ. I was wondering if ChrisJ or anyone else has found the solution?

  332. neal:

    I try to manually run postie and get this message:

    #!/usr/bin/php -q

    Connecting to mail.coveno.com:110 (pop3))
    Mission complete, message 1 deleted.
    Mission complete, message 2 deleted.
    Mission complete, message 3 deleted.
    Mission complete, message 4 deleted.
    Oops POP3 delete: Command failed []\n

    The email is being sent from autoresponders from different sources.

  333. pree:

    I am trying to get postie to work with Chinese character emails. I have tried changing collation in the sql database. looks like i see the characters fine when i run the get mail.php, but the characters don’t show up on the blog right. Please let me know if there is a solution

  334. Lane Lester:

    I was not able to get the built-in WP email function to work, so I really appreciate this. It worked perfectly when installed at one server, but when I installed it at another (same hosting company), the Configure Postie tab generated this error:
    Fatal error: Call to a member function on a non-object in /home/webdoc/public_html/wp-content/plugins/postie/postie-functions.php on line 1885

  335. Terry:


    Ok, I am making some progress but…can anyone help with this…when I email from my Mac postie finds the email and posts the text and picture as I would expect to wordpress. However, when I post from my phone the attachment comes out as text regardless if its a video or an image. Help!

  336. Val:

    Just DL’d this to check it out, spotted a bug as I was reading the source. In postie-functions.php, in function GenerateImageFileName(), line 812 sez:

    if ($type == “jpeg”
    || $type = “pjpeg”) {
    $type = “jpg”;

    The second compare is actually an assignment; I think you mean
    || $type == “pjpeg”) { …

  337. ndrea:

    Hallo! Thank you for this great plugin!
    I have only one question: my hosting server does not allow to set Chmod permission for folder to writeable, because they say php and ftp are part of the same user “ftp” so php doesn’t have to ask for the permission. So, theoretically, if the code doesn’t have the checking part it should be possible to write, isn’it? Could you please suggest me something about it? Thank you.

  338. Geekazoid:

    Loving the plugin. I can upload all my pictures from my phone with no problem, but everytime I try to upload a video, I get problems.

    I’m currently using verizon, which I believe uses .3gp files. Postie recongizes the mail and makes the post (which shows the quicktime icon and a link to the file) but whenever you try to click on it or view the video file, it displays a message saying that the file isn’t on the server.

    I’d really love to be able to put videos directly from my phone to my blog, but this minute error is the only thing standing in my way. Any ideas?

  339. Dave:

    Wordpress version 2.0

    runing the test script I get this error.

    I’m on a shared server using an external mail server. The suggestion of reconfiguring php is not an option is there anything else we can do?

    mail.mydomain.com was entered here just to hide my mail server address for this post only. ~ also is taking the place of my real root folder.

    Connect to Mail Host
    Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using –disable-ipv6 option to configure) in ~/htdocs/wp-includes/class-pop3.php on line 87

    Warning: fsockopen(): unable to connect to http://mail.mydomain.com:110 in ~/htdocs/wp-includes/class-pop3.php on line 87
    Unable to connect. The server said – POP3 connect: Error [0] [Success]
    Try putting in your full email address as a userid and try again.

  340. gimpsworld:

    In regards to the gmail issue, go here:


  341. RagManX:

    I love postie. My web site is blocked at work, but thanks to a combination of Xampp and Postie, I can work on a copy of my site locally and update my real site remotely via email. The only problem I have is that somewhere between copying the HTML code locally and it getting posted at my real site, I end up with spaces in my links to other sites. Since I’ve not figured out how to prevent the spaces getting inserted into my href areas, can anyone tell me either how to stop outlook (company mandated mail agent) from adding line breaks and extra spaces, or how to get postie to ignore spaces in between the double quotes when I’m posting an href link?

    Currently, I manually edit all posts when I get home from work to clear up the problem, but would like to fix it so links work from the initial posting. Thanks for this awesome tool.

  342. art:

    How would I display all headers, except for maybe the ‘to’ and ‘from’ addresses, in a message posted through Postie?


  343. Daði:

    Hey there

    Great plugin, really helps me out. I have a small problem these days though as I just changed mobile providers and they dont use the same function to send messages to the server.

    My old one had a specific email address that was linked to my phone, the new one doesnt. It is a md5 hash, and a new one for every mail but the header (name of sender) is always the same, as is the ending.

    I dont want to turn on that everybody can blog if they know the sectret address but would like to limit it to those that know my phonenumber, mobile provider, how they can buy there way into the system and set the header of the email as the same one that I have (Read:Almost impossible).

    I looked at the options and features but saw no solution, any ideas?

  344. Daði:

    Forgot to Subscribe to comments, please delete…and wrote the wrong email address

  345. Daði:

    Hey there

    Great plugin, really helps me out. I have a small problem these days though as I just changed mobile providers and they dont use the same function to send messages to the server.

    My old one had a specific email address that was linked to my phone, the new one doesnt. It is a md5 hash, and a new one for every mail but the header (name of sender) is always the same, as is the ending.

    I dont want to turn on that everybody can blog if they know the sectret address but would like to limit it to those that know my phonenumber, mobile provider, how they can buy there way into the system and set the header of the email as the same one that I have (Read:Almost impossible).

    I looked at the options and features but saw no solution, any ideas?

    Trying to figure this out with moderation thing, doesnt really seem to work for me becuz I’m an idiot…

  346. nathan:

    fixed many many bugs in this code, simple typos, wow.

    but the biggest part is that I made mp4 work, anyone who wants my code, let me know.

  347. Swaroop:

    Version of WP : 2.0.5
    Problem :
    I am having the problem using Postie with Gmail. Here is the error that i get on test config.
    Warning: imap_open() [function.imap-open]: Couldn’t open stream {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert} in /home/swaroop/public_html/Blog/wp-content/plugins/postie/postieIMAP.php on line 71
    Unable to connect. The server said – Can’t open mailbox {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}: invalid remote specification
    Try putting in your full email address as a userid and try again.

    Waiting for any help.

  348. Fimion:

    Does postie work with sound recordings? like, i record a message on my phone, send it to my blog, and it gets posted?

  349. pantuflo:

    Hi. I installed and got this on configuration test: “Unable to connect. The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.”

    What can I try?

  350. Klas:

    Love the plugin, worked fine, and even better with some CSS-tweaks.
    However, I couldn’t figure out yet, how to add tags … (same as aba & Jason requested … some month ago.).
    Any solution yet?

  351. Steen jeberg:

    I can’t/don’t want to get Cronless Postie to work. What else can I do?
    There is a monitoring service called SiteProbe

    They are a FREE monitoring service. They will fetch a url on a regular basis and confirm that the site is up and working. Basically just put in the url to your Postie get_mail.php script and this site will automatically fetch it on an on going basis. Plus if for some reason your site goes down – you’ll get an update letting you know. In the free version your mail will be delivered every hour. Check it out. Tried several other services like this. But this one works.

  352. Jeroen:

    Very great application-extention is this, thanks very much!
    I just have one problem. All my attachments are corupted. An image of a tree will look like a painting of picasso. (or a broken television) :-)

    Im using wordpress 2 and the newest postie.
    My mailserver is mailtraq

    Thanks in advance

  353. Jeroen:

    First of all, this is a great extention/plugin, compliments to you.

    However, I have a small thing that doesn’t seem to work
    The text part works fine, but the attachments are corrupted. Every time I try to sent an attachment like a jpg picture, a gif picture or just a simple PDF the attachment is downloaded from the mailserver corupted.
    It has however the same size, but the image is “broken”.

    When I open the folder wp-filez it is corrupted, but when I open the mail before it is processed by postie it is correct. So I think it has something to do with the filehandling.

    The mailserver I use is mailtraq. I use php 4.2.3, wordpress 2.1 and postie

    Does anyone have some suggestions?

  354. Nathan Welton:

    Argh. I got so fed up with this whole gmail thing that I got a free pop account at bluebottle.com and will now send my blog emails to secretaccount@bluebottle.com. Postie worked fine with it.

  355. Alvin:

    I had some few problems with the default ‘post by e-mail’ capabilities of WordPress!

    Well… I was thinking to do a better one, but I only program in C++ and .net and I have a little blog beginning and the necessity to post from mail because can´t to access admin from everywhere… and at moment no programming skills in PHP, so I googled the internet and found this awesome plugin and now I can post by e-mail from everywhere!

    I installed on a Windows 2000 Server with PHP 5.X, php_gd2.dll and IIS 5. If someone has some kind of trouble installing at this plataform, blog me.

    I have to say that´s a really nice job!


  356. rondelw:

    Hello…my issue is that when the cron job updates, the body content doesn’t come through. Just the subject line which is the title. WHen I run postie manually, it all works out, but not with the cron job. Any idea?

  357. Sammy:

    Hi there…
    I use the latest postie, and get this problem.
    3gp files are not saved and displayed.
    email headers can be found here:

    I’m using SonyEricsson mobile phone mail client.
    Wordpress 2.05 in cPanel Apache-Php4
    Please help

  358. Yin-So Chen:

    Hi –

    Postie appears to have a SQL injection problem (http://en.wikipedia.org/wiki/SQL_Injection). If you are still actively maintaining Postie, then where that happened is that $subject is not escaped for single-quotes.

    If you need to, take a look at my article for more information.


  359. Tilman:

    Found a bug: Special characters like ß, ä, etc. are displayed as ? in the post title. Reason: ISO-8859-1 mail subject lines are not converted to UTF-8. I need some help to fix this: How and where in postie-functions.php do I add something like
    $subject = utf8_encode($subject);

  360. Johannes Jarolim:

    Hi there -

    My name is Johannes and i’m maintaining a photoblog-plugin for WP:

    Some of my users requested post-by-email functionality and recommended your plugin.

    May there be a possibility to cooperate? Means i’ve a plugin with a main focus on turning wordpress into a photoblog and you have a working post by email plugin with attachment decoding (Plus all the pop3-, imap- and decoding-KnowHow on how to bypass all that pitfalls that arise with these topics).

    Is there a chance you add one or two hooks in your email-processing-code so YAPB may react on received mails with image attachments?

    Thanks for your answer and
    Greets from Salzburg,


  361. Popescu Valentin:

    Does postie support the pingomatic settings made under the writing settings?
    I don’t really know how to test it but would be interresting to know whether it does or it doesn’t work with them. Thanks

  362. Daniel Burns:

    Hello all,

    I have a very peculiar issue happening. I have gotten Postie to work with Lightbox and when I trigger get_mail.php manually in the configuration tab, it works perfectly. However, when Crontab is used to trigger get_mail.php, all the styling is stripped from the image, thereby removing the Lightbox tag with the rest of them.

    How could this happen? How could Cron affect it like that?

    Any help would be greatly appreciated. I have been struggling with this for a week now. Ugh.

  363. emag:


    Thanks, I was getting the exact same error with using courier-imap(-ssl) to pull mail from my mail server with postie. It was driving me nuts, as I was able to manually telnet and log in. With your changes, I now successfully pulled the mail. Danke!

  364. Jeff Hopkins:

    Hi, sorry if this is a newbie question/issue/problem.

    My posts are just showing up as pages of inline text. Happens whether I post from my Mac email client or Blackberry. Anybody got any suggestions? Any help is appreciated.

    Here’s a link to a sample post:


    WORDPRESS: 2.0.2
    Mail.App: 2.1
    Blackberry Pearl 8100

  365. Harley:

    It seems that Postie doesn’t parse the subject line/title of the email. I had a subject “Here’s a.. ” and it threw up WP database errors.

    check the manual that corresponds to your MySQL server version for the right syntax to use near ‘s another picture

  366. Danfoss:

    I looked at the existing vodafone adjustments and found that it didn’t work for current Vodafone NL messages. If changed the behaviour to strip everything after an ‘end-tag’. This works just like the message-start tag, but then it strips everything after the tag. In my case i choose ‘@@@’

    I hacked this in very ugly, but would it be possible to include an configurable ‘end-of-message’ tag in a future release? I think this would be very great!.

    One other question: How can i use variables in the authorized email access list? When i use vodafone mms to mail, the sender mail is random (randomchars@mms2mail@vodafone.nl).

  367. dementia:

    tried Jim’s fix but still can’t get gmail to work

    Unable to connect. The server said – Can’t open mailbox {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX: invalid remote specification
    Try putting in your full email address as a userid and try again.

  368. Robert:

    This is great! Thanks for the plugin. I was going nuts trying to get the mail post that comes with WordPress to work as I liked and thought I was going to have to put something together, but this has so many more features than I could have ever done. Thanks!

  369. Nicos Palamidis:

    Are you going to update this plugin for WP 2.1? I’m using WP2.1 b4 and it is showing a few problems. I’ve solved the “check WP version” but right now I’m having trouble connecting to my email server.

    any help with this?


  370. gba:

    problem under wordpress 2.0.7:
    i noticed if i email a post with words such as “don’t” or “can’t” in the subject postie will wig out when trying to update the database. the fix was to change line 58 in postie-functions.php from:
    ‘post_title’ => $subject,

    ‘post_title’ => preg_replace(“/’/”,”\\’”,$subject),


  371. Twaize:

    Im getting an error, when I try to run Postie manually (but also occurs when I “test config”), I get this error:

    The requested URL could not be retrieved

    While trying to retrieve the URL: http://twaize.site/wp-content/plugins/postie/get_mail.php?

    The following error was encountered:

    * Zero Sized Reply

    Squid did not receive any data for this request.

    Your cache administrator is support@nearlyfreespeech.net.
    Generated Sun, 21 Jan 2007 13:46:48 GMT by vhost.phx2.nearlyfreespeech.net (squid/2.6-DEVEL)

    Could anybody please help me resolve this problem?

  372. Keanen:

    I’m wondering if anyone has confirmed postie working with WP 2.1??


  373. mike:

    Any chance of making this work with wordpress 2.1?

  374. Salvador:

    Postie don’t work in the new WordPress 2.1

    Please, upgrade.


  375. quincy:

    Has further development in Postie stopped ?
    If so, has anyone else taken on the development ?

  376. quincy:

    the reason i made that last post was that after ugrading to wordpress 2.1, i could not get postie working, i kept getting a message that says

    ‘Postie Only Works For Word Press 2.0 and above.’

    After coming here for a couple of days looking for solutions i dived into the postie files and i commented out the if block that contains that string and it worked.
    I am no coder but at least i could recocgnise the login (fortunately)
    The files in which i commented out that block were ..

    get_mail.php and

    good luck everyone and Thank goodness for Postie

  377. James Barrington:

    Any chance of an update to support WordPress 2.1?

  378. Benjamin:

    for wp 2.1 changed postie-functiosn.php testwp fn to function TestWPVersion() {
    if (get_bloginfo('version').substr(0,1) >= 2) {
    return true;
    return false;

  379. Jason:

    It appears that postie does not work with WordPress 2.1 I just get the error message stating that postie “only works with 2.0 and above”, so I have rolled back.

  380. Benjamin:

    I want to use ssl but it’s not in my php install, i suppose, so I downloaded an rpm and unpacked imap.so and put in it my root. I edited php.ini to extension_dir = /home/content/u/s/e/user/html/

    But the configure postie page still says the pop3-ssl is not available.

  381. Benjamin:

    Is there a was to do this with curl or openssl (both of which come with godaddy?)

  382. Benjamin:

    I switched ot the godaddy email and added “addslashes” to the content, subject, and mime attachement (and added txt and html attachments) and it works great. just need to figure out the cron.

  383. Benjamin:

    Jim, you have an apostrophe in the subject. put addslashes onlines 27,28, 322 (metareturn) of postie-functions.php

  384. Aaron:

    When trying to use Postie on the current version of WP, 2.1, the following error:


    Postie only works on on Word Press version 2.0 and above”

  385. Michael Goodson:

    I have been using Postie ( with WP 2.0.5 and before. Worked great. I upgrated to WP 2.1 and now when I go to configure Postie (under options) I get the screen:


    Postie only works on on Word Press version 2.0 and above

    and that’s it.

    Is it my upgrade or the version of WP (2.1) in general that won’t work with Postie? Workarounds? I have wp-mail.php working right now, but I really preferred postie.

  386. SUBWAYblogger:

    Postie does not work for WP 2.1 !! What needs to be done to get it to work?

  387. Anthony Brock:

    We recently upgraded to WordPress 2.1. However, the Postie plugin is now crashing with:

    Postie only works on on Word Press version 2.0 and above

    A brief glance through the code doesn’t show the issue. Also, although the plugin is useful, all emailed posts using WP 2.0.6 would be “uncategorized” and “Draft”. We worked around this, but recent needs mean I would really like this to work.

    The wierd part is that everything worked under 2.0.1.



  388. ablivio:

    Just had a little problem with function TestWPVersion(): Postie seems to consider that WP 2.1 is not 2.0 or greater.

    It turns out that changing “if (get_bloginfo(‘version’).substr(0,1) == 2)” to “if (substr(get_bloginfo(‘version’),0,1) == 2)” does the trick.

  389. Josh B.:

    I am running WP 2.1, but I get the following error when trying to access the options page:

    Postie only works on on Word Press version 2.0 and above”

    Anyone else have this problem?

  390. Dave:

    Postie failed to work after upgrading to WP 2.1 due to an issue with the version checking function in postie-functions.php.

    The original function:

    function TestWPVersion() {
    if (get_bloginfo(‘version’).substr(0,1) == 2) {
    return true;
    return false;

    needs to be changed to

    function TestWPVersion() {
    if (get_bloginfo(‘version’).substr(0,1) >= 2) {
    return true;
    return false;

    to allow it to work for versions of WP greater than 2!

    Thanks for a great plugin

  391. Mike:

    Postie works fine but than I installed WP 2.1 and Postie dont work and “Configure Postie” say “Warning! Postie only works on on Word Press version 2.0 and above”
    What is wrong? Ineed and love your postie, please help!


  392. Patrick Havens:

    I had upgraded to WordPress 2.1 only to have Postie tell me that I’m supposed to be using 2.0 or greater… and it stopped working.

    I tried using the built in, but it just hurts.

  393. Adam Murray:

    When I try to configure Postie – I get the warning message “Postie only works on on Word Press version 2.0 and above” – but I am using WP 2.1! Any advice / hints?

  394. Ken:

    I was getting an error message in postie- that said something about it needing wordpress version 2.0 or higher. Since I’m running 2.1, it seemed something was wrong. DISCLAIMER although I do some scripting, PHP is not my fort.

    In postie-functions.php I found:

    function TestWPVersion() {
    if (get_bloginfo(‘version’).substr(0,1) == 2) {
    return true;
    return false;

    I changed it so that it was greater than or equal to:

    function TestWPVersion() {
    if (get_bloginfo(‘version’).substr(0,1) >= 2) {
    return true;
    return false;

    It seems to be working better now.

    If someone else has had this problem, or is a PHP programmer, I would love some feedback on this change I made, thanks!


  395. Gonzalo:

    The plugins works perfecty in my wordpress, but I’m getting a lot of random emails saying “Ooops POP3 connect: No server specified”.
    What does it mean? Can I deactivate it?

  396. Karin:

    since I installed wordpress 2.1 (german version), I am unable to configure postie. I get the message: “Postie only works on on Word Press version 2.0 and above”
    the version of postie is
    Thanks for help

  397. Marie:

    I don\’t think this works with 2.1.

    Horrible captcha images.

  398. Lara:

    Will you be upgrading so that Postie works with WordPress 2.1 ?

  399. B:

    Hi! I’m not having much luck with the supported file types box. Curious if I can somehow attach voice notes (WAV) or video (3G2) from my cell phone into my WordPress posts?


  400. Gonzalo:

    Thanks for the plugin. It’s works perfectly. The only one problem is I’m getting an email from wp-mail in my admin account. It comes about 30 times a day and it says “Ooops POP3 connect: No server specified”. Anyone knows what the problem is?

  401. Nik:

    For the version detection to work right ln# 1909 should be

    1909: if (substr(get_bloginfo(‘version’),0,1) == 2) {

    and not

    1909: if (get_bloginfo(‘version’).substr(0,1) == 2) {

    in the postie-functions.php file.

  402. marc:

    I installed postie and tried to update the settings but I always get the error: You don’t have permission to access /wp-content/plugins/postie/config_handler.php on this server.

    I tried ‘reset’, ‘run postie’ and ‘test’ and they all work… What can be wrong?

    Thanks for any help.

  403. Simon Rycroft:

    For those who have installed WordPress 2.1 and found Postie to not be working, there is a small fix to solve this (it’s a mistake I’ve almost done many a time before string.method as opposed to method(string) ).


    function TestWPVersion() {
    if (substr(get_bloginfo(‘version’),0,1) == 2) {
    return true;
    return false;

  404. Sebastian:

    I am a native german speaker so I try and hope you understand.

    I have WP2.1 installed and want to use your Plugin, all gone good. That meens installation for so far more I couldn’t do until now because I get a message that it will only work on WP 2.0 an above.
    So I will ask you.

    Is it possible to use it on WP2.1 too?

  405. Jacob Tekiela:

    HI !!! GREAT PLUG!
    -is the customdate working in current version? and how??? really important since I have to backdate about 400 future posts….(!)
    -is it possible to add customfields or use the excerpt – (I work with photoblogs)

    HOW r your plans on updating to 2.1??? I’ve donated a contribution via amazon!
    KEEP up the great work!! thanks
    jacob tekiela

  406. Edward Spodick:

    Postie is great! But I have one problem with it. I want to include plain text messages e-mailed to the blog which contain URLs formatted with angle brackets as per the Appendix of RFC 1738
    “APPENDIX: Recommendations for URLs in Context”
    Whether I set Postie to accept HTML or plain text, the brackets are faithfully retained in the post, which results in the URLs not being visible as they are perceived as invalid html tags.

    Could postie handle them by either stripping out the brackets, or by converting them to entities (e.g. < and > )

    for this URL: http://library.ust.hk/cgi/db/pqd-pubid.pl?37141
    1 –
    2 –

    Thanks for any suggestions!

  407. david:

    any idea when this will work with 2.1?

  408. Patrick Havens:

    I\’ve noticed that you\’ve started development on a WordPress 2.1 compatible plugin. And I saw you where able to get one successful post done with it. Can we get a progress report? I\’d love a rough ETA but no biggie.

  409. Daniel Spitzer:

    Hi *,
    I configured out a Problem using Postie with WordPress 2.1. The configure page says “Postie only works on on Word Press version 2.0 and above”
    To get it running I had to change the TestWPVersion to:

    function TestWPVersion() {
    if (substr(get_bloginfo(‘version’),0,1) == 2) {
    return true;
    return false;

    Cheers, Daniel

  410. SerPini:

    Para la gente que habla español:

    He instalado el plugin y conseguido para correo con gmail, los pasos para conseguirolo en Ubuntu son:

    1: Instalar php5-imap
    sudo apt-get install php5-imap

    2: Reiniciar el apache
    /etc/init.d/apache2 restart

    3: Descargar el plugin y descomprimirlo en la carpeta de wp-content/plugin/postie

    4: En /plugin/postie/postieIMAP.php cambiar la linea 72 que es
    $this->_connection = imap_open(“\{$server:$port$option}”,$login,$password);


    $server_string = “{“.$server.”:”.$port.$option.”}INBOX”;
    $this->_connection = imap_open($server_string,$login,$password);

    5: Activar el plugin en la administración de wordpress.

    6: Ir a Opciones->configure Postie y abajo del todo poner estos parámetros
    Mail Protocol: POP3-SSL
    Mail Server: pop.gmail.com
    Puerto: 995

    Usuarios y contraseña los de tu cuenta sin el @gmail.com, solo nómbre de usuario.

    Dar a Actualizar Cambios y luego a Run Postie, entonces te saldrá una pagina muy sencilla que te dirá que no tienes correos o si los tienes, cuales son y se insertarán en el blog.

  411. amal:

    i’ve got the new wordpress 2.1 and when i go to the “configure postie” subtab, i get: “Postie only works on on Word Press version 2.0 and above”

  412. skcsknathan001:

    Thanks for your wonderfull plugin. I modified to work with WordPressMU [WPMU] 1.1 One thing i didn’t like and commented is the email attachments going to a seperate folder. This does not let the WPMU admin to limit space for per blog basis.
    So in your future, I would be very happy if you make the attachments go to their respective upload folders in WPMU. Also I like your ideas of -Add ability to post to an existing page and -Support draft/private posts

    Thanks again

  413. Chris:

    Hi – when I go into the “Configure Postie” section of the admin panel I just get


    Postie only works on on Word Press version 2.0 and above”

    I’m running 2.1…

    Has anyone seen this?


  414. David:

    when do you think this will work with 2.1?

  415. David:

    a fix to make postie work with 2.1 can be found here

  416. Drumbo:


    I tried installing postie on my new 2.1 install of wordpress (I assume it is 2.1 as the footer states 2.1). however when i try and go to the options for postie, I get “Postie only works on on Word Press version 2.0 and above”. Can anyone provide me a hint for this?


  417. Mel:

    need more info on how to set it up.

  418. AndyK:

    Using postie with WP 2.1.1 (DE-version), Apache 1.3.32, PHP 4.4.4 and MySQL 4.1.16

    after activating I wanted to configure postie, but it always told me that

    Postie only works on on Word Press version 2.0 and above

    Looked into your code and found something:
    File: postie-functions.php
    Line: 1908
    function TestWPVersion() {
    if (get_bloginfo('version').substr(0,1) == 2) {
    return true;
    return false;

    changed it to:
    function TestWPVersion() {
    if (substr(get_bloginfo('version'),0,1) == 2) {
    return true;
    return false;

    Now works again.

    greetings from germany

  419. wellness:

    I cant run postie under wordpress 2.1 !!!
    whan i whant to config postie it tell me

    Postie only works on on Word Press version 2.0 and above”
    Please help

  420. silfver:


    I’ve used Postie for like a year now and it’s been working perfectly. But now, since the wordpress 2.1 version it doesn’t work anymore. I get this error message “Postie only works on on Word Press version 2.0 and above”.

    Do you have any plans upgrading the script? Would be awesome. Please answer to my email.


  421. Patrick Havens:

    I assume from the moderated comments we might see an update on postie? Also relating to video from your cell phone. I use Vipers Video Quicktags and made sure it supports .3g2 (quicktime file). So if you can add support to allow for custom handling I’d love to be able to have it stick [quicktime]file path[/quicktime] to “embed it”.

    But truthfully, at this point I’d just love to be able to use it again.

  422. Rich:

    Wow! I just received a “New Comment On: Postie” email for EVERY comment that has been left since August 10th, 2006 at 10:29 am. 150 emails…

  423. art:

    You’re not the only one. I just got 146 of them.

  424. Daði:

    Great work on the 1.1 version.

    Still have a problem as my mms server greates random numbers as the email address when I send an mms. 79399018128@mms.tdc.dk for example.

    I need to hack the script to make *@mms.tdc.dk work an be acceptable. Where in the plugin would I look at that?


  425. Keith Ford:

    BUG: In postie-functions.php for both the 2.0.x and 2.1 versions, on line 56, a ‘$’ is missing from the variable name ‘$subject’. The symptom, when using the email subject as the post subject, it will simply appear as the work ‘subject’.

  426. Roel:

    AndyK: I wanted to thank you — SO MUCH — for making this post here: http://www.economysizegeek.com/?page_id=395#comment-40883

    I have very heavily modified the version script and was VERY worried on seeing the “works only in wp 2.0 version” after upgrading my blog to WP 2.1.1

    I thought that I had to make all the modifications again to the new version of postie (if there even was one).

    It was great to see that there was a new version of postie, but it was even greater to see your comment.

    Made a 1-minute mod to postie-functions.php and voila – I’m up an running again with my modded version.

    Thank you again,

  427. Patrick Havens:

    Kieth, I wondered why it had done that. Thanks for the heads up, I fixed my copy.

  428. Sam:

    I uploaded Postie to the plugins folder of my WordPress 2.1 site, but when I tried to activate the Cronless Postie I received the error

    Parse error: parse error, unexpected ‘}’ in /home/[my-path]/wp-content/plugins/postie/cronless_postie.php on line 52

  429. Jesse JAmes:

    I just tried to activate my cronless postie and I was unable to do this. I had to delete the postie directory to get my blog to do anything. Just an FYI to anyone using the new version with 2.1

  430. HeadGeek:

    Sorry about the bone headed typos – I’ve fixed both and updated the version number.

  431. Mike:

    Postie 1.1.1 and WP 2.1.1
    Thank you, all works fine!

  432. Frans:

    First of all – GREAT PLUGIN!!! – I really love this!
    Second – I get an error mesage when i try to include a .3gp file that is 2MB. Is there any way to make Postie support larger videofiles?

  433. Daniel:

    Is it possible to get the picture in a row when i send a e-mail, like this!

    #img1# #img2#

    And some sample text

  434. stephane:

    just for info on postieIMP.php line 70, there is a missing ).

  435. Rich:

    “I get an error mesage when i try to include a .3gp file that is 2MB. Is there any way to make Postie support larger videofiles?”

    It’s probably not Postie causing the error. Most hosting companies have PHP’s upload_max_filesize set at 2Mb. You can change this by editing the php.ini (if you have access), by setting the variable using ini_set near the top of Postie’s code, or by using an htaccess directive. See php.net for more info…


  436. Danny:

    Love the plugin, have used it a long time…

    Here’s my wish list…

    I have some prominent people who will be guest-blogging for me. I have set up categories for their posts that will not be visible from the front page. They will post by email (thanks to Postie).

    I really, really wish that I could configure Postie (or something) so that the user’s posts (via email) would automatically be assigned to a category I have chosen for them.

    Yes, I know that they can do that in the subject, but these people are somewhat technically challenged (that’s not why they are using the WP editor in the first place) and are doing me a huge favor. I am so pleased that they would guest-blog, and I am trying to make the effort as painless as possible.

    The users’ posts are going to different categories (depending on the user) so I can’t use the default.

    Any suggestions? Anyone who knows more than I do able to hack something up?

  437. Danny:

    Ah… and as long as we are talking about wish lists…

    I wish Postie (or something!) could check to make sure tags are closed before posting an entry.

    When I filter out the signature of one contributor’s email posts, it leaves a font tag open and it changes the formatting of all posts below it on the page. (Because the html to close the font tag is below the signature.

    Again, as I said before, this contributor is someone who is technically challenged and who is doing me a great service by contributing, so it’s a bit touchy changing things from their end.

    I’d welcome suggestions, thoughts, etc… thanks!

  438. Pat:

    Using WordPress 2.10 with postie 1.1.1
    unfortunately my webhosting company does not support iconv and yet this is required when Chinese emails are sent from outlook 2003(it incorrectly encodes email as Japanese and this cannot be changed)
    how can i work around this, i dont think i can get iconv installed.

  439. Indi:

    I was getting
    Postie only works on on Word Press version 2.0 and above”

    but have upgraded WP to 2.1.1 and postie to 1.1.1 and now it’s working again.

    Thanks for a great plugin!

  440. erics:

    I have the lateste WordPress 2.1.2, the latest postie you have here on your site loaded on three of my sites. My mail setup is to pop and this all works fine for each site when I test it through your postie configuration screen.

    Mailing a text only email (no attachements of pictures in jpg format) works fine, posted to site and rejected if not from the correct sender I have set in the postie options.

    THE PROBLEM: if I attach an image, the mail gets dropped and I get the lovely reply “Mission complete, message 1 deleted.”

    I noticed that the options have a listing for supported file types with only application and video. Looking into the code a bit and see that application should be enough for jpg files. I do not exclude any file types at all in the options.

    I am not sure why or where it is dropping the images… does anyone else have this problem?

    Thanks for your thoughts in advance! :-)

  441. Jonathan Lumb:

    A fix for people having trouble with Google Apps for Domains or for those using Gmail is available on my website, http://www.sprayfly.com/
    Hope this is useful info.

  442. erics:


    Your fix does nothing for me, still getting the infamous message:

    #!/usr/bin/php -q


    Connecting to pop.gmail.com:995 (pop3-ssl))

  443. Tobias Eigen:

    I’m having the same problem as bprhusky above – both the wp-mail and postie scripts time out. Has anyone solved this?



  444. Tobias Eigen:

    OK – this issue bprhusky and I had appears to be related to gmail. I tried it with a regular pop3 mailbox and it works. :-)

  445. Greg:

    Since installing 1.1.1 this past week, the cron job has been pegging the CPU on my server so bad that my hosting company wants to kick me off. Apparently ever time the cron runs, the job is coming up to approx 20% CPU and staying there (not releasing)…. any suggestions or thoughts on this? Thanks

  446. Jay:

    To anyone who wants tagging to work, here is a hack. Change the PostToDB function in postie-functions.php to

    function PostToDB($details) {
    /* next line added by jdj@konjr 20070307*/
    global $utw,$embedtags;
    $config = GetConfig();
    if ($config["POST_TO_DB"]) {
    //generate sql for insertion
    $_POST['publish'] = true; //Added to make subscribe2 work - it will only handle it if the global varilable _POST is set
    $post_ID = wp_insert_post($details);

    /* next 9 lines added by jdj@konjr 20070307*/
    if ($embedtags == 'yes') {
    $tags = $utw->ParseEmbeddedTags($details[post_content]);

    if ($tags) {
    foreach($tags as $tag) {
    $utw->AddTag($post_ID, $tag);

    //do_action('publish_post', $post_ID); - no longer needed
    //do_action('publish_phone', $post_ID); -- seems to triger a double


  447. Jay:

    Ack!!! That didn’t format well… but you get the idea.

  448. Jay:

    That’s for Ultimate Tag Warrior by the way.

  449. Alex Wait:

    #!/usr/bin/php -q The web server cannot write to / please correct the permissions

    Does that look familar to anyone? I installed postie on a new gentoo linux box and now no matter what permission I set (777f or all directories now below wordpress) I still get that error. could it be a problem with my on campus mail host?

  450. Jonano:

    I get this problem:

    Parse error: parse error, unexpected ‘{‘ in /fpgs/fpgshttpd/jonano/wp-content/plugins/postie/postieIMAP.php on line 70

    Someone have a clue about how to fix this problem ?


  451. erics:


    The answer was posted above by sprayfly:

    Open postieIMAP.php in a text editor and find this code:

    if (eregi(“google”,$server) { //Fix from Jim Hodgson http://www.jimhodgson.com/2006/07/19/postie/ $server_string = “{“.$server.”:”.$port.$option.”}INBOX”; }
    Now replace that with this:

    if (eregi(“google”,$server)) { //Fix from Jim Hodgson http://www.jimhodgson.com/2006/07/19/postie/ $server_string = “{“.$server.”:”.$port.$option.”}INBOX”; }

    Note the extra ‘)’ needed by after the $server) line.

  452. alex:

    first off:
    Parse error: parse error, unexpected ‘{’ in /fpgs/fpgshttpd/jonano/wp-content/plugins/postie/postieIMAP.php on line 70

    Line 70 : if (eregi(“google”,$server) {

    should be : if (eregi(“gmail”,$server)) {

    But here is my question : This do not seem to fix my problem with gmail returning an error: The Server said:Can’t open mailbox {pop.gmail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX: invalid remote specification

    Has gmail maby made some changes to the login?

  453. Jonano:

    I changed to gmail instead of google, but the same error happen

  454. alex:

    look a little closer.. on the org. line the parenthesis is not closed. e.g it returns the error. (one closing parenthesis after $server on the org. line. should be to closing parenthesis)

  455. Jonano:

    I dont understand what you mean. nevertheless my code is on:


    Maybe you can correct it or to show me, if so send the new pastebin url with the new code.

    I don’t see the word “org” in the code you mentioned.


  456. alex:

    here :

    This is the hole code so just copy and paste the hole thing ;)

  457. Jonano:

    ok now I see these problems, lol, :


    normal problems or ?


  458. Alex Wait:

    Where and what permission need to be set to be “writable” for postie to work?

  459. AJ Jack:

    Hi there,
    I currently use your plugin (cronless postie) and have recently found a great plugin called Plugin Manager by Martin Fitzpatrick.(http://www.mutube.com/projects/wordpress/update-manager/)

    It basically compares the installed versions of plugins with the list of plugins on http://wp-plugins.net/ and lets users know when a new version is availabe.

    Your plugin currently comes up as unknown because it is not listed on that web site.

    Could you please consider listing your plugin on this site so that users can be easily informed of updates.

  460. Keith Ford:

    Losing CSS via cron – more info.

    You can see the details here.


    Basically, when postie is invoked via cron, wp_insert_post() calls apply_filter, and one of those filters is wp_filter_post_kses, which seems to remove the CSS styling and the open_window popup for resized images. Anyone know how to tell postie to tell WP not to do that?

  461. Keith Ford:

    I made this change in kses.php and things got better. Not sure if I opened any doors though…

    function kses_init_filters() {
    // Normal filtering.
    add_filter(‘pre_comment_content’, ‘wp_filter_kses’);
    add_filter(‘title_save_pre’, ‘wp_filter_kses’);

    // Post filtering
    //keep postie happy. add_filter(‘content_save_pre’, ‘wp_filter_post_kses’);
    add_filter(‘excerpt_save_pre’, ‘wp_filter_post_kses’);
    add_filter(‘content_filtered_save_pre’, ‘wp_filter_post_kses’);

  462. Otto:

    The new cronless postie works, but fails to stop working once it’s deactivated. You need to add a function to be run upon deactivation which will call:


    To make it stop trying to check hourly after deactivating the plugin. You can use the register_deactivation_hook() function to run your function on deactivation.

  463. Keith Ford:

    a better solution for the no CSS styling with cron’ed get_mail.php is to leave WP alone and edit postie-functions.php, look for function PostToDB and add this line before the wp_insert_post($details) call:

    //the remove filter is to keep the CSS styling and
    // popup window when postie is run by cron
    remove_filter(‘content_save_pre’, ‘wp_filter_post_kses’);

  464. KPelto:


  465. Michael:

    Hi there!
    thx for the great plugin!!!

    I have a small problem.
    For uploading Mails (text+picture) i use 2 providers.
    With the first one (Sailmail) everythings works perfect.
    With the second one (Winlink) i get the text BUT the picture is not displayed.
    Any ides???
    many thx for your help!!

    I use wordpress 2.07 and Postie 1.0.1

    complete header by using Sailmail works fine!):

    X-Flags: 1001
    Delivered-To: GMX delivery to buegel@gmx.de
    Received: (qmail invoked by alias); 10 Mar 2007 13:35:56 -0000
    Received: from xsmtp01.mail2web.com (EHLO xsmtp01.mail2web.com) []
    by mx0.gmx.net (mx019) with SMTP; 10 Mar 2007 14:35:56 +0100
    Received: from [] (helo=M2W032.mail2web.com)
    by xsmtp01.mail2web.com with smtp (Exim 4.63)
    (envelope-from )
    id 1HQ1jh-0008Vi-Ge
    for buegel@gmx.de; Sat, 10 Mar 2007 08:35:55 -0500
    X-Priority: 3
    Reply-To: DD2044@sailmail.com
    X-URL: http://mail2web.com/
    From: “DD2044@sailmail.com”
    To: buegel@gmx.de
    Date: Sat, 10 Mar 2007 08:35:49 -0500
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    Subject: test via sailmail
    X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
    X-GMX-Antispam: 0 (Sender is in whitelist: dd2044@sailmail.com)
    X-GMX-UID: DYbUbUSxLi5mH6b5YWpp9HhjZml1ZNhk

    comlete header via Winlink (NO picture)

    X-Flags: 1001
    Delivered-To: GMX delivery to buegel@gmx.de
    Received: (qmail invoked by alias); 10 Mar 2007 13:25:53 -0000
    Received: from detroit.winlink.org (HELO winlink.org) []
    by mx0.gmx.net (mx026) with SMTP; 10 Mar 2007 14:25:53 +0100
    Date: Sat, 10 Mar 2007 13:23:00 -0000
    From: DG1YDJ@Winlink.org
    Reply-To: DG1YDJ@Winlink.org
    Subject: Test via Winlink
    To: logbuchviassb@yahoo.de
    Cc: buegel@gmx.de
    X-Cancel: 2007/03/31 13:24
    X-Source: PA3DUV
    X-CMS: Detroit
    MIME-Version: 1.0 (produced by the IP*Works! MIME Component)
    Content-Type: multipart/mixed; boundary=”boundaryiU4Vg6w=”
    X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
    X-GMX-Antispam: 0 (Mail was not recognized as spam)
    X-GMX-UID: 0MvHLTp8ZDI5AODucWc2929xemhmYwHl

  466. Dster76:

    Well, I answered my own question about allowing new categories.

    To do this, add the following after the closing parenthesis on line 1555 in postie-functions.php:

    elseif ( $category = wp_insert_category(array(‘cat_name’ => $wpdb->escape(addslashes($match))))){}

  467. Jonathan:

    How can we set more than 1 encoding ? more than only UTF-8 ?


  468. Dan Atkinson:

    Thanks to your plugin, I was easily able to create an excellent Blog-By-Email application in C#.

    Thanks very much!

  469. Marc de Lange:

    Hello – great plugin, but I realized that I had to make the exact same code-change after upgrading wordpress recently.

    This issue took me a while to find out so to make sure others can find it I’m reposting the solution already posted by Craeg Banta in this thread.

    My issue was that Postie did not download new email even though I confirmed the email is sitting in the mail server.

    Upon running the “Test Config” script (found as a button on the postie config page) I found that I was getting the following error upon running the get new mail postie script (get-mail.php):

    The server said – POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    Try putting in your full email address as a userid and try again.

    As a solution you have to make the following change:

    Find the WordPress file “class-pop3.php” in wp-includes folder.

    Find this line (it’ on line 109 in my version):

    if($this->RFC1939) {

    Change the line to this:

    if(!$this->RFC1939) {

    So you add an exclamation point before “$this”.

    Now Postie works and new mail is correctly processed.

    What’s a little strange is that I have to fix a file that’s not part of Postie to correct this. So I’m wondering whether this is really a postie issue or a wordpress issue?

    I remember making the exact same change when I first set-up WordPress, and now that I upgraded WordPress I had to go back and make the same change to the wp-include file…

    It seems then a WordPress issue?

  470. Mukunda:

    Hi I installed Postie and added the files under wp-content/plugins/postie
    all the files are in postie directory. Then logged in as admin and Activate “Postie” went to “Options” tab and clicked on the sub-tab “Configure Postie” to configure it, but it throws a error as below
    please help me

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in D:\wamp\www\raaam\wordpress\wp-admin\upgrade-schema.php on line 101

    I am running in WordPress in Windows XP.


  471. Matthew Smith:

    This is a very stupid/simple question, since I don’t know much about css, etc.:

    I would like my image to be aligned left in my posts with the text wrapping around it on the right. Is there a way to configure postie to make this happen? Right now, the image is being posted above my text in the posts.

    Check out http://matthewreidsmith.com to see what I’m talking about.


  472. ysjack:

    How do you do? I regard as happy that it was able to meet with the excellent program like POSTIE. There is one request from me without plug-in development ability. At my site, the permission which can contribute the report by e-mail is given to “Contributor.”
    At my site, the mail address for the contribution of the report is once changed at the one week for random contribution prevention. Each time, the mail address set up newly is told to the member in the report. If it can do, I will want to be automatic in the mail address for the contribution set to the mail address setting column of POSTIE, and to display on the profile page of the member with the authority more than Contributor. When it is the profile of people without the authority of e-mail contribution, I want to make description writing the position of the display for the method of the application authority taking of Contributor for the man below the authority of Contributor.
    Can such a program be written easily?
    The mail address used by POSTIE “is “Does it have the tag like?

    Please give me advice.

  473. CitizenR:

    Is there a way to turn off or stop posting to default category and have postie only post to the category designated in email subject line.

  474. Aaron:

    In version 1.1.1, you’re missing a parenthesis on line 70 of postieIMAP.php.

  475. Rebecca:

    I’ve set up my own site (cookieshouse.com/wp/) with postie, and love it. I’m now working on my friends blog. Tested good, but when I click the button to run postie (not up to cron yet…) it says there is “no new email”, though I have two in the box, ready for pick up.

    Using WP 2.1, postie 1.1.1, on Godaddy (ugh!)

  476. Greg:

    So, do we just have to wait and hope somone response to our problems, how does this work?

  477. Marc de Lange:


    Perhaps you have the same issue that I had. You should run the postie “test config” script (see button on top of the configuration page).

    See further my previous comment:



  478. Rebecca:

    I had already found that fix on one of the wordpress codex pages. The test runs good, no problems. I send myself an email from an approved address, it arrives in the inbox. I click the run postie button and I get the message that there are no new emails (ie: mailbox empty). After hunting around all day it appears to be a problem with GoDaddy hosting restricting usage on their shared plans. I can’t send passwords in the clear, like postie and the wordpress email scripts do. I also can’t use gmail as an email host, or use ‘localhost’ as a server name. The closest thing I found was blogmailr.com, but it only posts the text, not pictures/video/attachments. Something about using xmlrpc instead of wp-mail.

    I’m going to advise my friend to ditch godaddy as a hosting provider. They also don’t allow cron jobs, so I would have also have to search for a work around on that as well. I don’t use godaddy for my own site, which is why I didn’t have problems, but my friend on godaddy has had to rely on me to spend hours trying to get basic stuff to work.

  479. Graham:

    Did anybody ever tackle the postie question around MMS and the random username some networks generate?
    i was wondering if it was best simply to change to a ‘secret’ in the body of the message rather than address checking, any thougths?
    I took a look at teh PHP function that postie is using, need to get my head round the logic but it should be doable.

  480. Phil:

    Thank you for the plugin but i do have a problem with it.

    If i go into my gmail account and send a message with an image its works ok, but if i use a contact form an i attach an image it doesnt show up, it doesnt get copied to the wp-photos folder either, i check the emails and the image is attached..

    what could be the trouble?

    i hope someone can help me out..

    thank you


  481. Phil:


    im using dagon design form mailer


  482. Alex Wait:


    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable No
    Files Directory Writable No


    #!/usr/bin/php -q The web server cannot write to / please correct the permissions

    Any ideas on what permissions I need to correct to fix those above errors?

  483. ZappoMan:

    This looks like a great Plugin… thanks! I picked it up so I could use gmail for domains as POP server and I wanted the SSL support. Again… THANKS.

    Unfortunately I’m a glutton for punishment and run a windows server. I know, I know, what, am I crazy!?!? Well that’s another story…

    But… if you too are attempting this, let me warn you that as of March 2007, you may have a hard time accomplishing this goal… here’s why.

    If you are having problems with this on a Win32 server machine, your problem may be related to these PHP bugs…


    Apparently php_imap.dll doesn’t work with php_openssl.dll on Win32.

    The bug appears to have been fixed in PHP builds after Feb. 19, 2007.

    Good Luck.

  484. Mike:

    I installed the plugin, and tried to test it, but it says that I need to be an admin to test. I’m the admin, editor, author, I’m the only user! I’m using WP 2.1.

  485. Mukunda:

    When I click on Configure Postie I get the below error

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in D:\wamp\www\raaam\wordpress\wp-admin\upgrade-schema.php on line 101

    Any help would be helpful.

  486. erics:


    You need to extend the memory limit in the php.ini file. This is descibed above somewhere in these comments. ;-)

  487. Rich:


    I had the same problem on my wife’s site. Just edit your user and save it without making any changes. I did this and I was able to run the test script.

  488. Mike:

    @Rich thanks, that worked.

    Now that I have run the test it seems to suggest that everything is working fine, but when I attempt to run the script (via the “Run Postie” button in the config options) it says that there seems to be no new mail though there is a new email in the inbox.

  489. brand meridia:

    brand meridia .

  490. Graham:

    Mark up of 3GP.
    I have 2 WP installs bothe with Posite, one is the older 1,6 (now not public) and a new version that is the latest 2.x.x. Both have postie running.

    On the older I get the play controls showing, on the new one I get a link and the first frame. If I click the frame then its like clicking the link. New page and the quicktime player shows up.

    Any idea?

  491. Graham:


  492. Serola:

    Finally made it work =)
    But certainly it was not an easy task. As long as I still remember all the things that I had to do I write them down in here. Maybe someone find it useful.

    1) Okay, first comes the facts. I have WordPress 2.0.9 Finnish version. What I wanted to achieve is to send my photos and email from Sony Ericsson k500 cell phone directly to my blog. I tried to use Flickr for this at first, but the email to blog service they provide is just not currently working.

    2) I installed Postie 1.0.1 for WordPress 2.0 and for my surprise I found out that I also got so called ‘Cronless Postie’, and that I need to hassle something with ‘crons’. Finally I found out that in my case I have to install WP-cron as well. So I did that too.

    3) Since Cronless Postie did not work, I did what Otto said: http://www.economysizegeek.com/wp-mail/#comment-6748
    After that the posting from cell phone started to work except the image div class, image class and UTF-8 support disappeared.

    4) After a while I finally found how Keith Ford fixed the missing styling (and UTF-8) issues: http://www.economysizegeek.com/wp-mail/#comment-41996
    So, by amputating one line in kses.php the plugin started to work as expected. I just don’t dare to think what this hack can cause in future :(

    5) So finally everything seem to work. However, I was not happy with the results since I desperately try to get my blog to pass XHTML validators. Therefore I hacked posti-functions.php code and removed all the divs.

    One issue is still unsolved. The emails send from Sony Ericsson uses UTF-8, which is nicely supported in the email content but the character encoding for subject/title is not supported. Does anyone know how to fix this as well?

  493. Chris:

    Just installed, and works well via SMS posting – thanks.

  494. Tery:

    I’m getting a strange message after i install, activate, and try to test:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/identify) is not within the allowed path(s): (/home/terywon6/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/terywon6/public_html/blog/wp-content/plugins/postie/postie-functions.php on line 1810

    anyone see this before or know what’s causing it? i’m rather confused!


  495. Mukunda:

    I searched through this post and got to set right the error.
    But when I run Test Config.
    I get the below error.

    Parse error: syntax error, unexpected $end in D:\wamp\www\raaam\wordpress\wp-content\plugins\postie\postie_test.php on line 219.

    When I went through the file there is no line 219 as it ends on 218.

    Help me in solving this problem.

  496. Dale Phurrough:

    I have a suggestion for more visually pleasing resizing. In ResizeImageWithGD() change imagecopyresized() to imagecopyresampled(). The resampling makes for a much smoother resize. I altered your 1.1.1 codebase and it worked great.

  497. Matthew Smith:

    Can someone help me with this simple question?:

    I would like my image to be aligned left in my posts with the text wrapping around it on the right. Is there a way to configure postie to make this happen? Right now, the image is being posted above my text in the posts.

    Check out http://matthewreidsmith.com to see what I’m talking about.


  498. Keith Ford:

    To place image at left and wrap text, try this:

    Go into Admin
    Theme Editor

    add at the bottom:

    img.postie-image{border:none; float:left; clear:left; margin:4px;}

    You can change left to right if so inclined.

  499. Daniel:

    Were do I put this wrap text, page.php???

  500. Serola:

    I think I made a long comment here but now it’s gone. Was there something wrong with that?

    Anyway, I just wanted to say that in postie-functions.php you can replace div’s with span’s if you want to put image box inline. And in some themes mimeTag can cause cause one unclosed p-tag.

  501. Serola:

    Daniel, style definitions comes into style sheet (style.css).

  502. Serola:

    Matthew, Daniel, I think you also have to do what Keith mentioned earlier:

    Because of that bug you don’t have class tags in posts.

  503. Keith Ford:

    To reiterate, there is a bug where CSS style tags are dropped in certain situations. The following changes can be made to Postie, without having to modify WP. Once this change is in place, you can add the CSS to get inline images with text wrap on the left or right.

    edit postie-functions.php
    look for function PostToDB
    add this line before the wp_insert_post($details) call:

    //the remove filter is to keep the CSS styling and
    // popup window when postie is run by cron
    remove_filter(’content_save_pre’, ‘wp_filter_post_kses’);

    To place image at left and wrap text, try this:

    Go into Admin
    Theme Editor

    add at the bottom:

    img.postie-image{border:none; float:left; clear:left; margin:4px;}

    You can change left to right if so inclined.

    It’s working for me. YMMV.

  504. djacobs:

    thanks for the great plugin! Would anybody know how to add support for _blank tab in html? I have html in my email, but the “target=_blank” tag gets stripped out.

  505. Buzzkill:

    Dale! OMG what a HUGE difference in the scaled images. Thanks for imagecopyresampled tweak in Postie. All the little jaggies are gone. Even small text is still legible. Thanks!

  506. Serola:

    Thank you Keith for the tip that fix the missing CSS calls :)

    Thank you Dale for ‘imagecopyresampled’ tweak. It works also other way round. You can enlarge small images a bit and they still look good enough =)

    I have set the image width to 136 pixels and I am cropping the thumbnail images into 100x100px squares with ‘overlay hidden’ style definition. Therefore 120x160px images sent from my cell phone becomes enlarged to 136x181px.

  507. Andre:

    Parse error: syntax error, unexpected ‘{‘ in /home/colelcom/public_html/deko/cotidianosofia/wp-content/plugins/postie/postieIMAP.php on line 71


  508. Rich:


    Refer to the earlier comment left by Zeek:


  509. Mark:

    I get the same “Mission complete, message 1 deleted.” error when sending a jpeg. Where you able to fix it.

  510. Sergey:

    A lot of useful info just on one page.. Cool guys!

  511. litemotiv:

    i’m having a strange problem here when using postie with cron: new posts don’t seem to get a category and get listed as ‘concept’. when i run the php manually everything seems fine and posts are published as they should.

    does anyone know why this happens, or what i might do about it?

    thanks for any help :)

  512. Mr.Sato:

    Way cool plug in, so far I’m quite happy. One thing though… it resizes small images, as well as big ones. How do I only downsize big ones, but leave small ones alone?

    the cron free method no workie either. :( I’ll work something out on that one though.

  513. wellness:

    i downt whant that postie rename my image files
    how can i fix this ????

  514. generic meridia:

    generic meridia .

  515. Dster:

    has anyone gotten postie 1.1.1 to work with photos WITHOUT making the wp-photos world writable?

  516. Jared:


    I am using Postie 1.0.1 and I am using a cron job. I currently have admin only posting rights. My admin e-mail address is @whogivesacrap.net. I also have a test account which is an @gmail account. This account also is in the list of allowed e-mail addresses. Today I tested it out and the post made it look like it was posted from the test account. Is there any way I can make it so that all posts are coming from my admin account no matter what e-mail address sent it?


  517. Mats Hulldin:

    Hi !

    I´m using the postie plug-in on my page. I have the 1.1.1 version. I can´t seem to get the correct characters in the subject line. I´m Swedish and so I post in Swedish. That means that I need the ÅÄÖ letters or I´m pretty much screwed.

    I´ve read the posts here on the page and followed the earlier suggestions found here. However, I still am having trouble with the Ã… letter. It leavs a ? instead. Very frustrating. If anyone has eny recommendations I am all ears…

  518. William Sun:

    I am using Postie 1.1.1 with WordPress 2.1.2

    I find that I cannot edit the post created with Postie. How can I fix that? Also, I cannot control the resizing of graphic (smaller graphics are enlarged and cannot not be disabled)… Can anyone help?

  519. Dee:

    Hi. I just installed postie and it works great! Thanks for this great plugin!
    I was wondering…can i configure postie to allow me to create pages in wordpress instead of posts or have the option to select?

  520. Andrew:

    Downloaded and got Postie working last week. Exactly what I needed!

    Two features I’d love to see added to a future version of Postie:

    1) Default author of posts. Handy for blogs with one author.

    2) Default posting time. By default Postie gives the post a time stamp of when the email check was done and not when the email arrived. For those of us that don’t want a cron job running to check the email address, this is a bit inconvenient. I’d love to see an option to toggle between the post time being the email sent time or the email check time.

    Everything else works great! Thanks a lot!

  521. Mr.Sato:

    I have the latest version of everything (fresh install as of last night). I do have a multiple install using a single database… not a problem though. The problem I’m having is that this single install keeps trying to create the postie_config table every time I do something, and errors out because it is already there. I tried deleting the table and it looks clean the first time I open the configure postie page, but as soon as I save the config, it errors again. Perhaps more odd than that is that it does seem to function normally, other than returning the error. All of the other installs are 100% fine. So… not sure what I did to screw this one up, but I can’t seem to fix it. Tried removing the table, the plugin, etc. and then basically re-installing postie, but it returns the error first time I try to write to the newly created table. I must be missing a table or something. What all tables does it create/use so that I can completely uninstall it and re-install?

  522. litemotiv:

    Can someone please give me some advice on how to fix or workaround this?

    - WordPress 2.1.3, Postie 1.1.1
    - Happens with any mail client
    - Happens with any mail sent

    Strange problem when using postie with Cron: new posts don’t seem to get a category and get listed as ‘concept’. When i run get_mail.php manually everything seems fine and posts are published as they should.

    Postie is set up to allow any mail from Admins and Contributors, the default category is 3.

    Putting a category name in the mail-subject doesn’t help, it still doesn’t get published.

    Thanks for any help. ;-)

  523. rudy:

    fortunately my site still using wordpress 2.0.x, and this plugins really help.
    thanks so much

  524. Sven D:

    Thank you for the plug-in! I use it quite a lot now. I try to use my email programm as an offline editor for my blog. I cannot use it flawless yet but I am working on it :) BTW, please add “backdating” to the feature wish list.

  525. Sven D:

    I wrote a little code for the backdating. Since I am no software developer it’s probably very dirty.
    Diff against ver 1.1.1 postie-functions.php


  526. imparare:

    Interesting comments.. :D

  527. Serola:

    And there’s nothing I hate more than Web site promoters, people who send ads to comments, and have Web sites that change the window size and are full of meaningless pop-up alerts :E

    And you are welcome to remove this comment with previous one…

  528. Name:

    postieIMAP.php has a parse-error: line 70 misses a “)” before the “{“

  529. John:

    I see this was posted before, but got no answer… I’ll give it a shot here… I found a spiffy plugin that watermarks the photos when using the regular WordPress post writing function. However, it doesn’t automatically work with postie… Has anybody got a work around for this? Would love to have it. Thanks!

  530. Mitch:

    I don’t know if this was intentional or overlooked, but the filters for beginning (:start) a message and ending (:end) a message are coded differently. the begining filter uses string functions while the end filter uses regex pattern matching. For anyone who has had issues with :end not working from a mobile device, changing the end_filter to mimic the start_filter will fix this behaviour. Though I do not know if this will affect any other programming, I have been using this for two weeks now without any issues.

  531. Martin:

    For correct :end behaviour. Open postie-functions.php with your favorite editor, vi. Search for “function EndFilter”, it’s on line 716. Change the code to:

    function EndFilter(&$content,$filter) {
    $pos = strpos($content,$filter);
    if ( $pos === false) {
    $content = substr($content, 0, $pos);

  532. Martin:

    I had some trouble getting ImageMagick to work with postie 1.1.1.

    It turned out there is a check when you configure postie in wordpress to see if you have GD installed otherwise it sets RESIZE_LARGE_IMAGES to 0. This check ignores to test if you have ImageMagic installed or if you have selected “Use ImageMagic” Yes.

    The quick fix for this is to delete the if statement in postie-functions.php on line 390. IE ignoring the RESIZE_LARGE_IMAGES setting.

  533. Chris Ward:

    Hello Hello! Would it be possible to integrate easily Category Overload’s Sub Category functionality into Postie? I’d really love to post to the parent category and to a specific child category, like for example Publications->Magazines, where the post would be categorized in both Publications and it’s subcategory Magazines. I think a way to do it such as by putting [Pub->Mag] in the subject line would work great! Could this be done easily? quickly?

    Also, how could i perhaps just set the posts as having Draft status instead of published?

    And, i’ve read through a few comments talking of different dangerous bugs that had been found. IE, injecting php code into the email and it being executed. Have these issues been fixed?

    Thanks! I would love if you could write me to my email… Great plugin! drpoo AT OF COURSE drpooville.org, replacing AT OF COURSE with @.


  534. Chris Ward:

    Well, it seems i figured out the Draft instead of Publish questions, I can do it by changing the post_status option to draft instead of the default publish in the postie-functions.php right?

    Now i’ll see if i can’t figure out how to post to the sub categories….


  535. Sebastian:

    Great plugin!

    Had one problem with my Motorola Ming (aka A1200). Postie wouldn’t want to embed the 3gp videos that I sent with the cellphone, it would just put up a link. Reason: the build in email client attached the phone’s 3gp videos as mime part type “mpeg” and not “3gp” ! So thats why it just came up as a link. For all Motorola Ming useres that want to use Postie: change the file postie-functions.php. Look for this.

    if ($part->ctype_secondary == “3gpp”
    || $part->ctype_secondary == “3gp”
    || $part->ctype_secondary == “3g2″
    || $part->ctype_secondary == “3gpp2″)

    and change it to this:

    if ($part->ctype_secondary == “3gpp”
    || $part->ctype_secondary == “mpeg”
    || $part->ctype_secondary == “3gp”
    || $part->ctype_secondary == “3g2″
    || $part->ctype_secondary == “3gpp2″)

    Bye, Sebastian from Taipei

  536. blue:

    great plugin for wordpress, very nice.
    best regard,

  537. Renaud:

    Installed many times Postie Plugin on my wordpress 2.1.3.
    Always get same message when testing :

    Mail Tests
    These try to confirm that the email configuration is correct.
    I always get this error (test config in Postie options) :

    Test Result
    Connect to Mail Host
    Warning: fsockopen() [function.fsockopen]: unable to connect to pop.free.fr:110 in /mnt/152/sdc/c/c/renaudugert/wp02/wp-includes/class-pop3.php on line 87
    Unable to connect. The server said – POP3 connect: Error [0] [Success]
    Try putting in your full email address as a userid and try again.

    All the rest seems to work correctly.
    Note : I changed to different emails with different pop, and it still does not work.

    Could anyone try to help me PLEASE????


  538. Ben:

    Is there a way not to lose carriage returns and other formatting of emails in the postings? Right now mine is just slapping it all in one big blob?


  539. Daniele:

    Great plugin.
    Jay have made an hack for UTW. I use Simple Tagging plugin. Anyone have made an hack for this plugin ?

  540. gas:

    Hi, I’ve made a very simple code change to use a kind of variables in allowed emails. You’ll be able to use something like *@mydomain.es or *@MMSmail.vodafone.nl addresses in Postie Configuration.

    Remember this just works with * at the beginning.
    Complete addresses will work as expected.

    In postie-functions.php look for this function and change it to look like this:
    function CheckEmailAddress($address) {
    $config = GetConfig();
    $address = strtolower($address);
    if (!is_array($config["AUTHORIZED_ADDRESSES"])
    || !count($config["AUTHORIZED_ADDRESSES"])) {
    return false;
    //Allow addresses kind of *@mydomain.nl
    foreach($config["AUTHORIZED_ADDRESSES"] as $value){
    $mydress = substr($value,1);
    $cont = strlen($mydress);
    return true;
    //end of change

    Hope it helps, I love this plugin.
    Bye, gas from Spain

  541. Sumeet:

    To those of you who have WPMU and have been able to get postie to work with it would you be willing to share the updated files so I may also get it to work with wpmu.

  542. peter:

    For those having issues with connecting to gmail. In specific getting the following error:
    Unable to connect. The server said – POP3 connect: Error [] []

    I found the one problem for me was that my script was timing out before GMAIL could return the emails.

    Once I set the scripts timeout limit to 0.
    (set_time_limit(0);) Everything worked.

    But be forewarn gmail may take a couple of seconds to process and return your emails.

    Hope this saves someone a few programming headaches.

  543. Steven Clift:

    OK, here is one from left field.

    How to I get the messages to display the date when they were sent/received?

    How do I add a line after each paragraph where hard returns were removed? (It is great how Postie removes hard returns.)

    Can I commission you to tweak it so that short lists are preserved or lines meant to split out like an agenda for example or a written out URL listed on the next line stays there?

    My task – take 2200 e-mailed posts to my old Do-Wire listserv and get them into my http://dowire.org/notes blog. I am having someone help convert the Listserv log files in a mbox of messages and I want WP to think that these posts are dated 1998 on forward.

    Steven Clift

    P.S. If John is busy and others, can help, let me know.

  544. David Gessel:

    I’ve tried to get the configuration set up, without much luck on freeBSD. php5-extensions (/usr/ports/lang) solved the POP3-SSL availability issue (I think) and I’ve configured postie to check it’s account, but when I run the check script I get “#!/usr/bin/php -q” (alone, no quotes). No further message. Watching /var/log/maillog, I see no Login/Logout. If I check the account with squirrelmail, all works as expected for the same account.

    There was some indication that compiling PHP5 with –with_SSL etc. would be necessary. true? Or does the right thing happen when php5-extensions is built and installed?


  545. Larry J:

    Hi and thanks for a great plugin! I installed it today and it’s working great. I have two things (maybe related) with which I need help.

    1) Whenever I edit a postie post which contains a 3gp video the embedded video disappears. It seems that all the html that starts with

  546. Larry J:

    Hi and thanks for a great plugin! I installed it today and it’s working great. I have two things (maybe related) with which I need help.

    1) Whenever I edit a postie post which contains a 3gp video the embedded video disappears. It seems that all the html that starts with param… goes away.

    2) When I run get-mail.php from the configure postie page everything is fine, but when I run it from cron (using wget or lynx) the embeded video does not get inserted, it only places a link to the video in the post. (I thought this might be related to the CSS style problem but I can’t be sure:(

    Any suggestions?

    I’m running postie 1.1.1 on wp 2.1.3

  547. Larry J:

    Update… I have turned off the wysiwyg editor and problem 1 goes away. Does anyone know how to change tinymce to not have this problem?

  548. Larry J:

    ‘nuther update…I made the kses.php patch and everything works perfectly now. THanks again for a great plugin. I just have to remember not to give out the secret email address to my wife:)

  549. Marie:

    Does this work with wordpress 2.2? It seems like all of the sudden I am having problems with it. Honestly I can’t remember if they started once I upgraded. It was working fine, now the posts show up, but they are blank (no image included).

  550. Marcel:

    Hi Folks, as a bloody newbie to blogging and php i have a question, wich perhaps can be solved easyly, but first of all: The idea and features of postie are abso-f******-lutely great! What a nice idea!

    Well, i installed WP 2.2.2 DE-Edition yesterday together with the Postie 1.1.1. After testing and troubleshooting the getmail feature, i found, that line 70 of postieIMAP.php should read

    if (eregi(“google”,$server)) {
    instead of
    if (eregi(“google”,$server) {

    (watch the closing brathes) wich solved my problem in fetching the mails.

    Furthermore i have the problem, that in the Postie Options page > Image Settings > Resize Large Images = Ja (Yes) will not bee saved, while cklicking on “update options” button.

    The Config test says that
    Convert exists No
    Identify exists No

    identify and convert are at /usr/bin and … yes, i have gd, php-gd and ImageMagick on my server :-))

    Even a (perhaps cosmetic) issue appears all over the options page: Under the dropdown of Image Settings > Resize Large Images appears a text
    Project-Id-Version: WordPress 2.0 POT-Creation-Date: 2006-01-03 09:54+0200 PO-Revision-Date: 2007-05-16 20:09+0100 Last-Translator: Olaf A. Schmmitz Language-Team: WordPress.de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=n != 1;

    The weired text also appears under Forward Rejected Mail, Allow Subject In Mail, Allow HTML In Mail Subject, Allow HTML In Mail Body, Drop The Signature From Mail, Resize Large Images, Use ImageMagick, Start Image Count At 0 instead of the helpful hints.

    There might or might not be a correlation of all these. I really would like to have the images resized. Your suggestions and hints are highly appreciated.

  551. Jason Henderson is the Next Internet Millionaire:

    Anybody get Postie to work with ultimate tag warrior?

  552. Leion:

    I have installed this but it is not able to work.
    set up with google and then i tried to test config
    it hangs at the “Connect to Mail Host ” stage.
    and if i do a run postie manually then i get the following:
    “#!/usr/bin/php -q Sorry but / is not a valid directory.”

    Please advise

  553. Jdog:

    How can I have the subject be the alt and title tag instead of the name of the file?

  554. booyaa:

    hey folks, if you’re having problems with with writable directories i.e. this error below

    “#!/usr/bin/php -q The web server cannot write to / please correct the permissions”

    create the wp-filez and wp-photos in the ROOT of your blog (i.e. http://booyaa.org/ or http://booyaa.org/blog which ever is relevant to your configuration). don’t both trying to create it in wp-content, it won’t work.

    don’t forget to give these directories full permissions i.e. chmod 777

    i hope this helps people

  555. vNomad:

    Wordpress 2.2 Postie 111:

    Has anyone here gotten the CSS to work properly with croned Postie?

    I see above that others are also having this problem – the problem that style sheets do not work properly when Postie is run by cron or croneless Postie. If I run it in the Contro Panel, manually, things do work just fine.

    The solutions proposed here above did not work for me.

    More spesifically: I’m specifying a class for the DIV that holds images in my post to make them float right, or left. This DIV is parsed out when Postie is automated, but works fine if I activate Postie manually.

    To see what I’m experimenting with, just take a peek here:

  556. Bill:

    Trying various option but get…..

    The Server Said POP3 connect: Error [13] [Permission denied]

    Regards, Bill

  557. bontrill pills:

    bontrill pills .

  558. Matthew:

    Awesome work!
    I am not fond of the stripping of carriage returns (reports and log entries). Comment out the line,
    $content = FilterNewLines($content);
    to preserve.

  559. Anthony Brock:

    This is a feature request for the next verion. Please make the stripping of carriage returns a configurable option rather than an automatic. Like Matthew, I need the posts to remain intact upon delivery. It would be great if this was a check box in the configuration page (or configurable on a per-user basis).

    Also, it would be nice if the next version could be announced as a separate post (or old comments cleaned up). It is nearly impossible for new people to identify which comments relate to which versions of postie.

    This is one of our most useful plugins for WordPress!

  560. vNomad:

    OK, just thought I’d share my workaround for preserving CSS styles when using “croned” Postie.

    Diagnosis: When Postie is run remotely, i.e. not from the controlpanel, or not from your browser with the WordPress cookies set, WordPress pareses out lots of extras- I presume for security reasons. So, the fault is not really in Postie, it’s a FEATURE . . .

    Cure: Since I have more experience in Perl than PHP I wrote a small script using LWP to create a mechanized (robot) UserAgent that will log on (POST to wp-login.php) get the cookie in its jar, and THEN make a GET
    request to Postie at regular timed intervals.

    It works well, although I suspect most Postie users would prefer to keep all this in PHP.

    If anybody would like to give it a spin, I would post the script here, – it’s about 50 lines long.

    Happy Postieing!

  561. hassan:

    when press TESTING POSTIE it return with “Sorry only admin can run this file”

    when press “#!/usr/bin/php -q The web server cannot write to /home/yohassan/domains/hassan.frih.net/public_html/wp-photos/ please correct the permissions”

    its already CHMOD to 777.
    using postie 1.1.1 and wordpress 2.1 (or latest)

    any help please?

  562. chase:

    i’m using wordpress 2.2 and i cannot set it to to use pop ssl for gmail. is this going to be upgraded anytime soon

  563. fabs:

    i would like to exclude an implemented image with the cid: 23abc@pc27-000
    thats advertising from my mms-provider. do you have any idea?

  564. jphvrerooc:

    Hello! Good Site! Thanks you! mfufijdaslk

  565. ukyikciexs:

    Hello! Good Site! Thanks you! dlxoutjsibyhyr

  566. JSM:

    For anyone seeing the following issue (which I also experienced):

    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable No
    Files Directory Writable No


    #!/usr/bin/php -q The web server cannot write to / please correct the permissions

    I created the “wp-photos” & “wp-filez” folders under the website “wordpress” folder and changed their permissions to “777″. In the “Postie” configuration window I saved the settings for “Photo directory” & “File directory” with no trailing “/” (just “wp-photos” and “wp-filez”).

    I was able to to run “Test Config” and saw that the folders were now seen as writable and when I manually ran Postie, it did not complain with errors.

    Hope that helps

  567. hassan@localhost:

    postie dont connect to mail address like ‘user@localhost’ ? although my mail server in my machine working perfectly but postie saying mail server down. how could i fix this?

  568. Glenn:

    I installed the plugin into -
    and then activated it via the Plugins page… but no, nadda, nothing under Options that has anything to do with Postie…
    I was even dilligent and created the “wp-photos” & “wp-filez” folders at the WP root.

    Where did I mess up?

    I even downgraded to WP 2.1.3 after I couldnt locate the Postie config in 2.2

  569. Glenn:

    Never mind… I found my error

  570. Micke:

    I’m having the same problem both Michael Goughnour and Erics posted earlier:

    When I run the “Test config”-script, everything checks out fine.

    When I e-mail a post without any attachments, the content gets posted with correct categories, subject and content.

    Whenever I e-mail with attachments, however, nothing happens. The attached image is put in the correct folder (wp-photos), but nothing gets posted on the blog.

    Running get_mail.php manually on an e-mail post with attached image turns out this:

    Connecting to [mail server address]:110 (pop3))
    Mission complete, message 1 deleted.
    Confirming Access For [my e-mail address]
    [My e-mail address] is authorized to post as the administrator

    Message Id is :

    Email has following attachments:

    text plain

    image jpeg

    I am currently running WP 2.2.1 with Postie 1.1.1, but I had the exact same problem when I tried Postie last year, so I’m guessing this isn’t version related.

    Has anyone been able to resolve this issue?

  571. kevin:

    Great plugin!

    To get version 1.1.1 to work with POP3-SSL and a gmail account, I had to change line 70 of /usr/share/wordpress/wp-content/plugins/postie/postieIMAP.php:

    if (eregi(“google”,$server)) {

    It was missing the last closing parenthesis.

  572. hassan@localhost:

    currently postie stores all the image and thumbnail to wp-photos folder. is it possible to ask postie to save all thumbnails to diffrent folder like a folder X in the wp-photos folder. possible .

  573. Chris Vertonghen:

    there’s a bug in v1.1.1 postieIMAP.php at line 70:

    if (eregi(“google”,$server) {

    should be

    if (eregi(“google”,$server)) {


  574. Chris Vertonghen:

    there’s a division by zero error (v1.1.1) in postie-functions.php in function DetermineScale (line 1073) if you’re not careful. I changed it to this:

    function DetermineScale($width,$height, $max_width, $max_height) {
    if (!empty($max_width) && $width) {
    else if (!empty($max_height) && $height) {

  575. Jon:

    Postie had been working fine, but all of a sudden quit sometime yesterday. I have a cron on my machine running that is not explicit sending an error that I am aware of, but when I run it by hand I get this message:

    Connecting to dedicated24.inmotionhosting.com:110 (pop3))
    Mission complete, message 1 deleted.
    Mission complete, message 2 deleted.
    Oops POP3 delete: Command failed []\n

    I am running WP 2.2 with Postie 1.1.1

    I didn’t change anything with the configuration, but I have been getting notices from my ISP that WP has an update ready. Is it possible that they automatically did a minor update and broke Postie? Seems unlikely that they would force the update, but anything is possible.

    Any help is appreciated. Thanks.

  576. jo:

    WP2.2.1. I can’t seem to download postie 1.1.1. I arrive on a site called Geo Visitors ?

  577. jo:

    WP 2.2.1/K2 0.9.6.

    Does anyone know if postie 1.1.1 works with the Evermore plugin ?

  578. jo:

    WP2.2.1. Just upgraded postie to the latest version 1.1.1 (sorry for the post on the missing download link), but the Run Postie keepts on saying there is no new mail. Version 1.0.1 had the same, but was not ment for WP2.2, so I thought this would solve it, but no luck. The config test is overall positive, I can see no error.
    I also have the Evermore plugin activated. I have read somewhere there would be problems of compatibility beteen the two ?

  579. Stefano:

    Hi, i have an internal server error trying to run postie … unfortunately i have an hosting package (italian isp aruba.it) that does not give me access to console or error.log.

    Any idea?

    Wordpress 2.2

  580. Michael:

    Running WordPress 2.2.1 and trying to get Postie to automatically post my emails, but it’s not working. I set up a cron job with the help of my hosting company (bluehost.com) to go to “http://oldfishandlemonade.com/iphone/wp-content/plugins/postie/get_mail.php” but it still does not work correctly. I really need someone to post a way to fix this or a workaround for a total NOOB to cron jobs. Also, I don’t understand the instructions for cronless postie. Manually going to the page above works and posts the emails, but I cannot figure out how to get it to post automatically. Any and all advice is GREATLY appreciated. I wish there was better documentation for this plugin. Please help me!

  581. garethjax:

    It doesn’t seems to correctly parse the embed tag from youtube! Could somebody confirm that or has found a workaround ?

  582. jolato:

    Whatever I try I get the same message “There does not seem to be any new mail”. Test configis ok. WP2.2.1/Postie 1.1.1. Below is an example of a mail header. If you need more info please e-mail me at jolato@pandora.be. I use Thunderbird 1.07 as a mail client.

    Envelope-to: tnwblog@patrizianorellibachelet.com
    Delivery-date: Sun, 08 Jul 2007 10:44:43 -0600
    Received: from hoboe1bl1.telenet-ops.be ([])
    by box180.bluehost.com with esmtp (Exim 4.63)
    (envelope-from )
    id 1I7ZsI-0003gV-3a
    for tnwblog@patrizianorellibachelet.com; Sun, 08 Jul 2007 10:44:42 -0600
    Received: from localhost (localhost.localdomain [])
    by hoboe1bl1.telenet-ops.be (Postfix) with SMTP id 48749D4034
    for ; Sun, 8 Jul 2007 18:44:41 +0200 (CEST)
    Received: from [] (dD576BC66.access.telenet.be [])
    by hoboe1bl1.telenet-ops.be (Postfix) with ESMTP id 3A49AD401E
    for ; Sun, 8 Jul 2007 18:44:41 +0200 (CEST)
    Date: Sun, 08 Jul 2007 18:44:43 +0200
    From: “joicol@telenet.be”
    User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
    X-Accept-Language: en-us, en
    MIME-Version: 1.0
    To: tnwblog@patrizianorellibachelet.com
    Subject: test
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit

  583. jolato:

    and this is what I get when I run wp-mail.php, see below. Yes, I know, it is the pw. But I checked that manually and I seem to be able to get in with the pw I have set in the postie config.

    There does not seem to be any new mail.
    count =
    POP3 pass: Authentication failed [-ERR Login failed.]

  584. Michael:

    Got it going. I like your banned files section of the plugin configuration, but is there an opposite? I would like a field where I could allow ONLY emails with “photo.jpg” to appear.


  585. mickej:

    Hi there,

    Thank you for a great plug-in.

    Why do the image quality get noticeably bad when resizing and still having entered 100% compression? I resize to 450 px width. If I resize the original picture in photoshop och acdsee to 450 px width they get much nicer than the postie resized picture.

  586. Derrick Duehren:

    Looks promising, but no configuration instructions found. The read me has absolutely no useful info. This host site discusses use issues, but not how to configure. These blogs indicate an Options page, but I find none after activation. Very frustrating.

  587. Derrick Duehren:

    Sorry, I misspelled my web sire URL

  588. Andy:


    I am getting rather frustrated. I thought in this day and age blogging by email (or mobile email) would be pretty much standard. It seems not. So thank you for your efforts keeping postie updated.

    I am using WP2.2 and didn’t have any luck with their built in ‘blog by email’ so I have configured postie instead. My emails are delivered and posted, but all show up as MIME whether send as HTML, plain text, HTML with image imbedded ot whatever from Outlook and my mobile POP3 email. The only post that was correct was one sent from my mobile phone without an image.

    I have tried with the postie1.1.1zip and also with the http://ragingliberal.com/?p=784 postie-functions.php fix. But with no change.

    You can see the results at http://www.bradbury.biz/photos/

    Can someone kindly suggest where I am going wrong?

    Thanks in advance

  589. Andy:

    A follow up. So basically HTML or images are not being displayed properly.

    When I try to run the ‘test config’ I get:
    Sorry only admin can run this file

    When I try to reset ‘configs to default’ I get the following error:

    WordPress database error: [DROP command denied to user 'XXXX' for table 'wp_postie_config']
    DROP TABLE wp_postie_config;

    Warning: Cannot modify header information – headers already sent by (output started at XXX/bradbury.biz/wordpress/wp-includes/wp-db.php:133) in XXX/bradbury.biz/wordpress/wp-content/plugins/postie/config_handler.php on line 36

    You can see the image settings at:

    and the message settings at:

    The wp-photos and wp-filez folders are rwx 777 but otherwise empty.

    What more do you need?

  590. Leontios:

    Yes. Very good site! worth to visit!
    acsc 2005 newcastle acrysol ics 1 acrylic imprinting acsaaisc student design competition acrylics art card clip original acrylic custom embedment gallery acs grace hillingdon london loo school acs grade lead subacetate acrylic sheet acrylite gp p 95 acrylic sheet manufacturer acrylic by clay coating epoxy has modified nano resin acrylic cardigan women27s acryline hydrotherapy system acsaa symposium acrylic funny keyrings acsaaisc acs495 xp workaround acrylic blanket fieldcrest royal thermal velvet acsc art eagle gathering

  591. Rebecca:

    JSM: That fixed worked, but your directions need more, um, direction.

    I ended up renaming the original folders and making all new wp-photos & wp-filez folder with the 777 permissions. Also, after testing the new folders as good, the “/” needs to be added back in or the path URL’s to the pic’s is missing it.

    Once I had good, new, folders, I copied all the previous pics from the old folder to the new.

    I also made the mistake of running postie before fixing the “/” and had to go in and manually fix the URL’s to work.

    Thanks for the fix. I always wait before I upgrade WP to see if all the bugs are worked out by users far smarter then myself.

  592. ahmet:

    I cannot get the 3gp files to play too. It looks like file is embedded but when i click on it it tries to open link to wp-filez directory, and the directory is empty.

    thanks for the great work thou

  593. ahmet:

    I am also confused about how to run postie automatically. Manually it works great. But how can i make it run by itself? I cannot seem to find any info about that kind of intallation.

  594. Håkan Carlström:

    I updated the config_form.php to support localization. The postie.pot-file was also updated to support this. Created Swedish po and mo-files. This can be downloaded in the rarfile at

  595. Satollo:

    If you are in eurpe, some email client, like thunderbird, send email as iso-8859-15 so this charset has to be added in the postie-functions.php in the converttoutf8 function. Tried, it works fine!

  596. Marie:

    This is the most useless plugin ever. Not only does it not work with 2.2, you approve the comments less than once a month so others can’t even help work the problem out. Why don’t you take the plugin down because it’s crap. Or atleast not put that it works with 2.1 and higher.

  597. natech:

    Hello, I just installed your plugin but it’s not showing up in the Options tab. I’m running WordPress 2.2 version. Could be that the reason why? Thanks.

  598. Håkan Carlström:

    I updated the config_form.php to support localization. The postie.pot-file was also updated to support this. Created Swedish po and mo-files.
    This can be downloaded from:

  599. Anna:

    I’ve tried every solution given but I’m still getting “there does not seem to be any new mail”.

    Testing the config checks out ok, so Im stomped as what to do? I’d greatly appreciate some further help with this… =(

  600. Daniel:

    Any news on getting Postie to work with Ultimate Tag Warrior (UTW).
    Following Jay´s instructions above and altering the postie-functions.php with the following:

    function PostToDB($details) {
    /* next line added by jdj@konjr 20070307*/
    global $utw, $embedtags;
    $config = GetConfig();
    if ($config["POST_TO_DB"]) {
    //generate sql for insertion
    $_POST['publish'] = true; //Added to make subscribe2 work – it will only handle it if the global varilable _POST is set
    $post_ID = wp_insert_post($details);
    /* next 9 lines added by jdj@konjr 20070307*/
    if ($embedtags == ‘yes’) {
    $tags = $utw->ParseEmbeddedTags($details[post_content]);

    if ($tags) {
    foreach($tags as $tag) {
    $utw->AddTag($postID, $tag);

    //do_action(‘publish_post’, $post_ID); – no longer needed
    //do_action(‘publish_phone’, $post_ID); — seems to triger a double


    Did not work.
    Has anybody managed to get UTW or any other Tagging plugin to work with Postie?

  601. J3ff:

    Your a genious. I’m sending messages via MMS and the fact that you can ban certain images made it so I could get rid of the stupid tmobilelogo.gif and the spacers and everything. Great work.

  602. arielOn:

    I´m having a problem with non-English characters on the subject line. The content of the post is ok, though.

    Now the subject is printed as: “actualizaci?n ni?o”, instead of “actualización niño”

    Any help?

  603. Kory:

    Howdy all. I’m following the advice here:


    Have a silly question. The “cookies.txt” file. If I’m referencing this file and it’s on the home directory of my server, would I fill it out in this context: /home/xxxx/public_html/cookies.txt ?

    Thx much!


  604. John Dill:

    After adding the postie plugin, my server hosting support wrote to me saying that the postie script was using far too much CPU and memory. Has anyone else seen this? I was running it once every minute, so I will set the CRON to every 15. Does anyone have other tips for me?

  605. distracted:

    Great Plugin. Thank You.

  606. john:

    for those having problems with running the test config and getting“Sorry only admin can run this file” go to USERS and set the admin user to be an administrator (which it already would be but…) and then the test config will work. This is wp 2.2.2

  607. Miztiik:

    When i try to givein the
    pop server address
    it just gets redirected to the home page and i am not able to save the settings

    wp version – 2.2.1

  608. manele:

    thank you for the plugin!

  609. Chris:

    I just upgraded to WordPress 2.3-beta1

    Now when I click the “Configure Postie” link I get:

    Fatal error: Cannot redeclare write_post() (previously declared in ../wp-admin/includes/post.php:311) in ../wp-admin/admin-functions.php on line 9

    I don’t get this for any other options. Any ideas?

  610. Stephen Newton:

    First off, thanks for Postie. I’ve been using Flickr, but they’re incredibly unreliable so it’s great to be able to take emailing pix to the blog in house.

    I’ve been trying to replace the alternative text for images from the file name to the post name.

    I’ve tried replacing alt=”‘ . $part->ctype_parameters['name'] . ‘” wiith stuff like alt=”‘ . $subject . ‘” or alt=”‘ . $details['post_title'] .’” but got nowhere.

    Would be grateful for a solution. Thanks.

  611. DHB:

    When I manually run Postie from the Configure Postie page, everything works fine. However, when my cron job runs get_mail.php everything gets posted as a “Draft” and “Uncategorized”. I cannot figure out why? Please help.

    Here is the message from the cron job:

    Connecting to mail.xxxxxxxx.com:110 (pop3))
    Mission complete, message 1 deleted.
    Confirming Access For xxxx@yahoo.com
    Message Id is :
    Email has following attachments:text plain
    text html
    Post Author: 2
    Date: 2007-09-03 16:47:01
    Date GMT: 2007-09-03 23:47:01
    Ping Status: open
    Comment Status: open
    Subject: test
    Postname: test
    Posted content:test

  612. SMO:

    Oh, in addition: we are using WordPress 2.2.1 and Postie 1.1.1

  613. Ste73:

    Hi, i’ve installed postie on my wordpress and i have this error
    [Wed Sep 05 09:50:20 2007] [error] [client] failed to open log file
    [Wed Sep 05 09:50:20 2007] [error] [client] fopen: Permission denied
    [Wed Sep 05 09:50:20 2007] [error] [client] Premature end of script headers: get_mail.php

    what to do?



  614. joacim:

    Everybody who has problems with “cannot write to…” when starting.
    Have you tested to run postie once then run test-buttom in optionspanel?

    Did so, and it all worked out fine.
    Good Luck to you all.

  615. Eddie C Silva:

    Congratulations for excellent plugin!

    I am newbie in the world of wordpress and postie decided diverse difficulties that I were facing in a project of notices portal.

    A functionality that I felt lack was one “log” of the activities of postie. I modified the entrance of the CRON to generate one minimum log and created small bash script to add some basic information.

    the script is avaliable at:

    In time… sorry by my poor english… its a mechanical translation.

  616. Olivier Garbé:

    Hello and thanks for your code,

    Do you plan to upgrade to wordpress 2.3 ? There is a modification with the wp_categories and postie can’t put the post into a category ?


  617. steve:

    Hey all, hoping someone still looks at this. I just reinstalled wordpress after having it down for a while. I used Postie heavily before deactivating my old blog. Well I’m trying to set it back up again and I’m running into a wierd issue. First off I have wordpress 2.2.3 (now, was previously running 2.0) and it is running on a windows server (I know). Whenever I run the ‘Test Config’ I just get a blank screen. Whenever I use the ‘Run Postie’ button I just get…

    #!/usr/bin/php -q

    In the screen (nothing else). Any ideas what it would take to get this working. It worked perfectly before (and that was on Windows as well). There is NOTHING out there that provides the same features that this plugin do (at least nothing I’ve found yet) and I really want to get it working to make the most of my blog.


  618. olly:

    hi, i have wordpress 2.2.2 and i’m using postie 1.1.1 – if i attach images to my emails they don’t show up. everything else seems to work fine. i’ve tried sending emails from gmail, my normal pop account and my webmail for that account. nothing works.

  619. nerdykit:

    I really like Postie but wonder if it can already support the …more… type entry.

    If yes, I probably have a config error. Can anyone supply correct settings to get ‘more’ to work?

  620. philippe:

    @ vNomad
    could you please post or upload somewhere the perl script you mentioned in this comment: http://www.economysizegeek.com/wp-mail/#comment-44817

    I would really appreciate it, because I finished a blog for a friend and now I´ve recognized that the class ans js code gets striped.

    thank in advance


  621. Steven:

    Please add tag support!

  622. Ste73:

    No answer to my request?


  623. vNomad:



    # Script to emulate a browser for posting to a
    # CGI program with method=”POST”.

    # Specify the URL of the page to post to, needet to go straight to login.
    my $URLtoPostTo = “http://www.afoto.com/wordpress/wp-login.php”;
    my $postieURL = “http://www.afoto.com/wordpress/wp-content/plugins/postie/get_mail.php”;
    my $BrowserName = “Opera/9.20 (Windows NT 5.1; U; en)”;#of COURSE you are using Opera, no?
    # It’s a good habit to always use the strict module.
    use strict;

    use LWP::UserAgent;
    use HTTP::Request::Common;
    use HTTP::Cookies;

    # Create the browser that will post the information.
    my $Browser = new LWP::UserAgent;
    # To make POST redirectable uncomment the following line
    #push @{ $Browser->requests_redirectable }, ‘POST’;

    #Insert the browser name, if specified.
    if($BrowserName) { $Browser->agent($BrowserName); }

    my %Fields = (
    “log” => “admin”,
    “pwd” => “your_admin_password_here”,
    #NEW COOKIE_JAR – try borrowing cookies from Netscape
    my $cookie_jar=HTTP::Cookies->new (‘file’ => “jadajada.txt”,
    ‘autosave’ => ’1′);

    #This will store the cookies we need to work as ADMINISTRATOR

    # Post the information to the CGI program.
    my $Page = $Browser->request(POST $URLtoPostTo,\%Fields);#[
    #Now that our UserAgent is cookied we can go trigger Postie!
    my $Post = $Browser->request(GET $postieURL);

    # Uncomment to print the returned page (or an error message) for debugging.
    print “Content-type: text/html\n\n”;
    #print “Hello===============================================\n\n”;
    #print $Page->headers_as_string();
    #print “==============================================================\n\n”;
    #print $Post->content;
    #print “==============================================================\n\n”;
    #print $Page->message;
    #print “\n\nCookies anyone?\n”;
    #print $Browser->cookie_jar->as_string;

    # end of script

  624. vNomad:

    of course you will substitute URLs and passwords etc. as needed in this perl snippet.
    It’s been working reliably on afoto since June.

  625. Steven:

    Here’s a a quick and dirty way to add WP2.3 Tags:

    In postie-functions.php add the line ‘tags_input’ => ‘mobile’ to the $details array.

    Example with the tag “mobile” (remember to add a comma above it):

    $details = array(
    ‘post_author’ => $poster,
    ‘post_date’ => $post_date,
    ‘post_date_gmt’ => $post_date_gmt,
    ‘post_content’ => preg_replace(“/’/”,”\\’”,$content),
    ‘post_title’ => preg_replace(“/’/”,”\\’”,$subject),
    ‘post_modified’ => $post_date,
    ‘post_modified_gmt’ => $post_date_gmt,
    ‘ping_status’ => get_option(‘default_ping_status’),
    ‘post_category’ => $post_categories,
    ‘comment_status’ => $comment_status,
    ‘post_name’ => sanitize_title($subject),
    ‘post_status’ => ‘publish’,
    ‘tags_input’ => ‘mobile’

  626. marco:

    @steven: are u sure that this will work? IMHO there are alot of changes for the category also.

  627. Stephen Newton:

    Any ideas of how to change the alt text for images to the post title?

  628. philippe:

    sorry to bother you again.
    Above you wrote: [...]as needed in this perl snippet…

    I cannot see any perl snippet or a link to the snipped. Maybe it was filtered out and you could post it again.


  629. Dagfinn Aaslid:

    looks like my post got deleted here. I saw the perlscript earlier, now it’s gone.

  630. Dagfinn Aaslid:

    here’s an url to that snippet:

  631. Steven:

    @marco – Yes. That code exmaple uses the same WP calls to post. WP reads a string called “tags_input”. I think you might be even able to use multiple tags via using comma’s like in a post.

    As for the categories. I believe it will still post to the defined categories. I can’t say for sure, as I used the WP to convert categories to tags tool, and the tool deletes the category after conversion (thanks for not mentioning that WP)… My posts show a mobile tag, and a category number 23, which used to be my old “mobile” category.

    The code to make postie fully tag-based would be easy.. (type tags in a text box instead a category dropdown in the admin console, and adding tags from an mms/email, etc…)

  632. Kory:

    Nope, not working for categories, Steven. Wish it did too. :-( This is what I’m seeing when running manually:

    WordPress database error: [Table 'mohrfam_wp.wp_categories' doesn't exist]
    SELECT cat_ID FROM wp_categories WHERE cat_name=’Par’

    WordPress database error: [Table 'mohrfam_wp.wp_categories' doesn't exist]
    SELECT cat_ID FROM wp_categories WHERE cat_ID=’Par’

    WordPress database error: [Table 'mohrfam_wp.wp_categories' doesn't exist]
    SELECT cat_ID FROM wp_categories WHERE cat_name LIKE ‘Par%’ limit 1

    Now, it used to be that you could abbreviate the category in the subject such as my “parenting & kids” I could use “par:” and it worked. Wonder if I have to type the whole thing out now.

    Thx for the heads-up about converting the categories to tags. Think I’ll hold off on that. :-)

  633. Olivier Garbé:

    For Kory problem, you have to modify the config_form.php :

    Line 138

    replace :
    $categories = $wpdb->get_results(“SELECT * FROM $wpdb->categories ORDER BY cat_name”);


    $categories = get_categories(array(‘orderby’ =>’name’));

    For bprhusky (January 21st, 2006 at 3:02 pm)
    there is a bug in postieIMAP.php
    Line 70 :

    the correct line is :

    if (eregi(“google”,$server)) {

  634. Olivier Garbé:

    For Kory problem, here is the last modification :

    on postie.functions.php, line 1526, replace :

    $sql_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_ID=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    if ( $category = $wpdb->get_var($sql_name) ) {
    //then category is a named and found
    } elseif ( $category = $wpdb->get_var($sql_id) ) {
    //then cateogry was an ID and found
    } elseif ( $category = $wpdb->get_var($sql_sub_name) ) {
    //then cateogry is a start of a name and found

    if ($category) {
    $post_categories[] = $category;


    $categories = get_categories(array(’orderby’ =>’name’));
    foreach ($categories as $category) {
    if ($match == $category->cat_name) {
    $post_categories[] = $category->cat_ID;
    if ($match == $category->cat_ID) {
    $post_categories[] = $category->cat_ID;
    if (strpos($category->cat_name,$match) !== false) {
    $post_categories[] = $category->cat_ID;

    I didn’t try the result at this time, but it should work ;)

  635. Mark Geljon:

    Hi Olivier,

    I had the same problem:

    WordPress database error: [Table 'gridd_blog.wp_categories' doesn't exist]
    SELECT cat_ID
    FROM wp_categories
    WHERE cat_name=’3′

    I replaced the code as you suggested, but it still doesn’t work. Any other ideas? (I checked and there seemed to be no wp_categories in the db…)

    Thx, Mark (did I mention btw the greatness of the plugin? It rules!)

  636. Miztiik:

    doest postie work with the latest version of wp 2.3

  637. Olivier Garbé:

    There is another modification in the postie-functions.php, I posted it but the blog considered it to be spam….

    You have to replace :

    print(“Working on $match\n”);
    //Work on the category search to see if we can determine the cat_id
    //check the database to see if their is a category similar
    $sql_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_ID=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    if ( $category = $wpdb->get_var($sql_name) ) {
    //then category is a named and found
    } elseif ( $category = $wpdb->get_var($sql_id) ) {
    //then cateogry was an ID and found
    } elseif ( $category = $wpdb->get_var($sql_sub_name) ) {
    //then cateogry is a start of a name and found

    if ($category) {
    $post_categories[] = $category;


    something…. I don’t have access to the code at this time, I’ll try to post it tomorrow ;)

  638. Olivier Garbé:

    That’s strange ! My post appear now …

  639. Mark Geljon:

    checked and seems to be an issue with wp2.3 since the table structure is changed. Any fixes?

  640. Olivier Garbé:

    Mark, please look at my 2.58am comment (http://www.economysizegeek.com/wp-mail/#comment-50324), with the correction of the postie-functions.php and tell me if its ok or not ;)

  641. Mark Geljon:

    Hi Olivier,
    thx for your effort, but I cannot find comment-50324 posted at 2.58am. Only comment 50322 posted at 2.46am oct 1st… (instructing to replace code in the config-form.php. The comment with instructions to correct postie-functions.php I cannot find… (sorry :o(

  642. Olivier Garbé:

    Hi repost it ;)

    For Kory problem, here is the last modification :

    on postie.functions.php, line 1526, replace :

    $sql_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_ID=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    if ( $category = $wpdb->get_var($sql_name) ) {
    //then category is a named and found
    } elseif ( $category = $wpdb->get_var($sql_id) ) {
    //then cateogry was an ID and found
    } elseif ( $category = $wpdb->get_var($sql_sub_name) ) {
    //then cateogry is a start of a name and found

    if ($category) {
    $post_categories[] = $category;


    $categories = get_categories(array(’orderby’ =>’name’));
    foreach ($categories as $category) {
    if ($match == $category->cat_name) {
    $post_categories[] = $category->cat_ID;
    if ($match == $category->cat_ID) {
    $post_categories[] = $category->cat_ID;
    if (strpos($category->cat_name,$match) !== false) {
    $post_categories[] = $category->cat_ID;

    I didn’t try the result at this time, but it should work ;)

  643. nic:

    my email adds to the post. how can I strip that before it is posted?

  644. Klark:

    I am trying to install this in wpmu. I commented out the version checking, as described. (Actually, I have that function return true)

    The configuration page shows up fine.

    But, when I submit it I get:

    Fatal error: Call to a member function get_role() on a non-object in /home/webtest/public_html/wp-content/plugins/postie/postie-functions.php on line 1922

    any ideas? thanks.

  645. Kory:

    Howdy, Olivier. Thx much from me, as well, for your efforts. Like Mark, I’m also unable to post to various categories via the subject line. Not sure if I made changes to the postie-functions file because I can’t find your comment. Happy Postie is working w/ 2.3 now but wish it would allow categorization again.

  646. Jiwei:

    I got postie 1.1.1 working on WordPress 2.3. Very nice work!
    However there are a couple issue with Postie.
    1. Category at the subject line doesn’t work. I used “Category: subject”.
    2. When posting a large image, 3.5MB, get_mail.php returns the following and terminates. I’m using pop3 (UW Imap) on the local box.

    #!/usr/bin/php -q

    Connecting to gaga.ywywy.com:110 (pop3))

  647. Chris:

    I’ve been having the same problems with the categories not posting. The tables are different, but I’m not sure that the problem lies with WordPress 2.3

    I’ve noticed several issues. The first one was fixed with the fix of config_form.php by oliver on Oct 1st.

    The problem that I’m seeing overall is that postie doesn’t want to recognize categories period… not the default category within its own table on the database or the one everybody seems to be sending via email.

    I’ve tried numerous times to set the default category and it’s not being written to the table in the database. So I went to the database and physically put it in and the default category is still not being recognized. This is in addition to the categories not being read in the email. I’ve been trying different things to get it working obviously with no success. I think the problem is more with postie_functions.php file.

    Despite this minor problem, this pluggin is very nice and much appreciated. Thanks.

  648. SMO:


    I’ve been wrestling with this issue for over a month now, and not knowing PHP scripting has made this impossible to solve on my own. It’s a simple thing, and no one else seems to be having this strange problem, or else they’d be complaining about it too, I guess.

    My problem is that Postie/Wordpress either garbles or refuses to recognize emails sent to it that are in rich text, as opposed to plain text (ASCII). It also refuses to honor line breaks unless there’s text on both lines (so no blank lines between paragraphs – a big deal and an eyesore when someone’s trying to post an article). With rich text, it puts in =20 at the end of just about every line, and all the formatting gets lost (no bold, italics, etc). With ASCII plain text, it works fine most of the time, but it still refuses to accept blank lines.

    Everything’s set up correctly, as far as I can tell. No pop3 errors, no weird delivery issues. Just this formatting stuff. Anyone know why this is happening?

    I am using WordPress 2.2.1 with Postie 1.1.1. Any help at all with this would be appreciated. Thank you in advance.

  649. Olivier Garbé:

    on postie.functions.php, line 1526, replace :

    $sql_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_ID=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    if ( $category = $wpdb->get_var($sql_name) ) {
    //then category is a named and found
    } elseif ( $category = $wpdb->get_var($sql_id) ) {
    //then cateogry was an ID and found
    } elseif ( $category = $wpdb->get_var($sql_sub_name) ) {
    //then cateogry is a start of a name and found

    if ($category) {
    $post_categories[] = $category;


    $categories = get_categories(array(’orderby’ =>’name’));
    foreach ($categories as $category) {
    if ($match == $category->cat_name) {
    $post_categories[] = $category->cat_ID;
    if ($match == $category->cat_ID) {
    $post_categories[] = $category->cat_ID;
    if (strpos($category->cat_name,$match) !== false) {
    $post_categories[] = $category->cat_ID;

    I didn’t try the result at this time, but it should work ;)

  650. Olivier Garbé:

    Hello again, my comments dont seem to be accepted, I try another one, perhaps it will work.

    on postie.functions.php, line 1526, replace :

    $sql_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_ID=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT cat_ID
    FROM ‘ . $wpdb->categories. ‘
    WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    if ( $category = $wpdb->get_var($sql_name) ) {
    //then category is a named and found
    } elseif ( $category = $wpdb->get_var($sql_id) ) {
    //then cateogry was an ID and found
    } elseif ( $category = $wpdb->get_var($sql_sub_name) ) {
    //then cateogry is a start of a name and found

    if ($category) {
    $post_categories[] = $category;


    $categories = get_categories(array(’orderby’ =>’name’));
    foreach ($categories as $category) {
    if ($match == $category->cat_name) {
    $post_categories[] = $category->cat_ID;
    if ($match == $category->cat_ID) {
    $post_categories[] = $category->cat_ID;
    if (strpos($category->cat_name,$match) !== false) {
    $post_categories[] = $category->cat_ID;

    I didn’t try the result at this time, but it should work ;)

  651. Garbe Olivier:

    Here is a link to my correction as the comments here don’t seem to work with me…

  652. Mark Geljon:

    Ca Marche! Merci Beaucoup, mon ami!

    Thanks for your help!

  653. Mark Geljon:

    It works, but introduces two new problems:
    1. when posting to multiple categories, it is assigned to that categories, but not all the categories are stripped from the subject line:
    Working on electrical
    Working on water

    Post Author: 1
    Date: 2007-10-03 21:17:13
    Date GMT: 2007-10-03 19:17:13
    Ping Status: open
    Comment Status: open
    Subject: [water]meerdere categorieen
    Postname: watermeerdere-categorieen
    Posted content:

    2. when no category is included in the subject, a new category is created called “6″ and the post is filed under there…

    no cat
    Posted by admin on 3 October 2007 at 9:19 pm under 6.
    Comment on this post. Edit.

    Weird huh?

  654. Nekiw:


    I was wondering what I can do so postie will display letter Æ, Ø and Å on posts I make.
    It is no problem If I post directly from panel in wordpress.
    But when i use email blogging with postie it doesnt work with Æ,Ø and Å.
    Some weird letters appear instead.

  655. Greg:

    I’ve managed to hack-together a fix for categories with WordPress 2.3. It was a matter of changing the SQL queries to use the new table format. I hope to get my version posted on my site in the next couple of days (I’m a busy college student…), so check in soon.

  656. Olivier Garbé:

    For those of you who have problem with cronless-postie, here is a modified version :


    function check_postie() {

    $host = get_option(‘siteurl’);
    $host = $matches[1];
    $url = “”;
    if (isset($matches[2])) {
    $url .= $matches[2];
    $url .= “/wp-content/plugins/postie/get_mail.php”;
    $port = 80;
    fputs($fp,”GET $url HTTP/1.0\r\n”);
    fputs($fp,”User-Agent: Cronless-Postie\r\n”);
    fputs($fp,”Host: $host\r\n”);
    $page = ”;
    while(!feof($fp)) {


    function check_postie() {

  657. Greg:

    I’ve posted my modification to Postie. It can be found at http://greg.medding.net/blog/2007/10/08/postie-mod/

    Hope that works / helps!

  658. mario:

    is there germain version for postie plugins?

  659. Olivier Garbé:

    To Greg : I don’t think your modifications are good, WordPress gives a lot of function to use because plugins should not use SQL query on wordpress database model (because the model can change on a newer version, like it became from 2.2 to 2.3), thats why I made correction using get_categories() function instead of SQL query.

  660. Greg:

    Yeah, I’ve seen a lot of update suggestions around in the last day or so. I wasn’t sure where to look for accurate developer information on WordPress 2.3 (Searching their site didn’t help much at first), so I worked with what I had: access to the SQL database. I only made a revision to how the current version of Postie works, not a total re-write. Optimally, the official plugin will be updated so that people who can’t or don’t care to modify the code can use that.

  661. Greg:

    Oh, and I just found your update. I didn’t see it when I searched the page for “2.3″. Oh well…

  662. Talksina:

    Hi, I have a problem with Postie. I installed it in my brand new wordpress 2.3. But the trouble is, the wp_categories table has ben deleted and changed, don’t remember if it’s wp_terms or other
    the result is that Postie does not work any longer

  663. Crow:

    For the life of me I can’t figure out how to get postie to embed 3gp videos. I must be doing something wrong but I’ve been trying for 2 days and have dived into the code but can’t figure it out. Can anyone write up a brief tutorial on to get this working? Everything else works great. AWESOME plugin…

    WP version: 2.3
    Postie: 1.1.1

    Thank you!!

  664. philippe:

    I had a lot lot of problems with striped text after special chars.
    It turned out, that it was a Problem with the function: HandleQuotedPrintable

    Locate the function HandleQuotedPrintable
    after this line:
    $body = quoted_printable_decode($body);
    insert this line:
    $body = utf8_encode($body); //new line

    It works for me…


  665. leeston:

    postie keeps timing out when trying to connect to gmail, i saw where someone changed the script timeout to 0 where is this located? what file? thanks for your help!

  666. Greg:

    Those of you who are having troubles with WordPress 2.3 may want to look at comments by Oliver (and many others) in the last month. I believe he’s posted many corrections for various problems.

    I also have a modified version on my site, but as Oliver has pointed out, there are better ways to fix Postie. If you can, those fixes would be preferable to what I have done.

  667. Mariusz Maximus:

    I use iso-8859-2 charset in my mail. And add in ConvertToUTF_8 function my charset.

    function ConvertToUTF_8($encoding,$charset,&$body) {
    $charset = strtolower($charset);
    $encoding = strtolower($encoding);
    switch($charset) {
    case “iso-8859-1″:
    $body = utf8_encode($body);
    case “iso-2022-jp”:
    $body = iconv(“ISO-2022-JP//TRANSLIT”,”UTF-8″,$body);
    case “iso-8859-2″:
    $body = iconv(“iso-8859-2″,”UTF-8″,$body);



    switch($charset) {
    case “iso-8859-1″:
    $body = utf8_encode($body);
    case “iso-2022-jp”:
    $body = iconv(“ISO-2022-JP//TRANSLIT”,”UTF-8″,$body);
    $body = iconv($charset,”UTF-8″,$body);


  668. gig:

    I get the same error as Derrick Young. Trying to run it with wp2.3 and mysql is there, but says it’s missing also:

    PHP Warning: Unknown(): Unable to load dynamic library ‘/usr/lib/php5/gd.so’ – /usr/lib/php5/gd.so: undefined symbol: _zval_copy_ctor_func in Unknown on line 0
    PHP Warning: Unknown(): Unable to load dynamic library ‘/usr/lib/php5/imap.so’ – /usr/lib/php5/imap.so: undefined symbol: _zend_hash_add_or_update in Unknown on line 0
    PHP Warning: Unknown(): Unable to load dynamic library ‘/usr/lib/php5/mbstring.so’ – /usr/lib/php5/mbstring.so: undefined symbol: _zval_copy_ctor_func in Unknown on line 0
    PHP Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 43

    Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 43
    PHP Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 43

    Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 43
    PHP Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 62

    Notice: Undefined index: SCRIPT_NAME in /var/sitename/httpdocs/wp-settings.php on line 62
    Your PHP installation appears to be missing the MySQL which is required for WordPress.

  669. Benjamin Fleischer:

    I edited Greg’s mod with Oliviers edits and added an option to use ajax to confirm posts before they are posted to the database, all at http://benjaminfleischer.com/code

  670. Karolyn Leanne:

    they’ll have you suicidal suicida. Karolyn Leanne.

  671. aski:

    Í’m trying to get postie to work with a gmail account.
    I’m getting this error:
    #!/usr/bin/php -q


  672. Ed Kim:

    I’m using WP 2.2.2 with latest version of postie. I’ve got the pop3 set up. When I email a post, it adds an extra period at the end of the post that is published. Do you know how I can fix this?
    thank you!

  673. Object:

    When using the cron to post. The email goes through that shows cron and the message which include the tag, but in wordpress everything in between
    tags are gone showing only the text video and a link to the 3gp video. It is not embedding the video.

  674. bigred:

    Anyone using google apps and trying to get the mail from that. I can’t get that to work yet.

    I’ve tested the pop access in a client and it works fine. Any special settings? Anyone else with same problems?

    Warning: imap_open() [function.imap-open]: Couldn’t open stream {pop.googlemail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX in xxxx/wp-content/plugins/postie/postieIMAP.php on line 77
    Unable to connect. The server said – Can’t open mailbox {pop.googlemail.com:995/service=pop3/ssl/notls/novalidate-cert}INBOX: invalid remote specification
    Try putting in your full email address as a userid and try again.

  675. bigred:

    PHP issue with PHP4. Problem fixed after barking at my HOST.

  676. Luke:

    I was also getting the “Parse error: syntax error, unexpected ‘{‘” line 71 error when running postie. It looks like there is a close paren missing:

    I changed:
    if (eregi(“google”,$server) {

    if (eregi(“google”,$server)) {

    And now it’s working perfectly.

  677. video:

    WordPress 2.3

    Email goes through cron and shows content, but once posted to wordpress the everything in object tag is stripped out.

  678. video:

    WordPress 2.3

    Email goes through cron and shows content, but once posted to wordpress the everything in object tag is stripped out for posting videos.

  679. RjKiyuon:

    cheap phentermie
    cheap phentermie

  680. Kydd:

    When you are in the “Quick Readme” within “Plugins”, all of the menu links end up broken as they URL changes to wp-content rather than wp-admin.

    Type in Configure Postie: “script to test your configuraiton options”

  681. Tony:

    Can I put the get_mail.php in main folder so that I can use http://www.domain.com/get_mail.php instead of http://www.domain.com/wp-content/plugins/postie/get_mail.php

    Please advise. Thanks

  682. Tony:

    Sorry, forgotten to click the Subscribe checkbox. This post is just to subscribe to the comment mailing list. Sorry

  683. Fredrik:


    I just installed latest wordpress. 2.3.1 from 2.0.
    But for some weird reason when I goto postie configuration and furhter to:
    Message Settings
    Default post by mail category: (then this dropdown box is empty, and yes I have like 5 categories added in wordpress).
    I have deleted the ctegory by default in wordpress that is called uncategorized.
    But when i blog through email with postie it still post to uncatagorized.
    So is there any fix, so the categories will appear in the “default post by mail category” dropdown list?

  684. Joe:

    I have WP 2.3.1 and Postie 1.1.1 and when I go to the options, the drop down for default post category is blank like Fredrik said. Thats the only thing that doesn’t work for me. I found the php code in config_form.php referenced categories instead of wp_categories. But I updated the code and it still doesn’t show anything in the drop down for category. Anyone have a way to fix this? This is the only thing not working for me, and I’d love to get this finished up!

  685. Padlad:

    I hope someone can give me some pointers coz this is doing my head in now! Postie works for me in every way EXCEPT for video content (3gp, mp4 etc) in the supported file types i have put differnt settings but it still does not work:

    video/3gpp 3gp
    video 3gpp

    I can post video files in the normal posting way without any problems, it is just when i email them using Postie. Please someone help, many many thanks.

  686. Padlad:

    I forgot to say i am using Version 2.3.1

  687. Andrew:

    Has postie been abandoned? I’m really interested in using it and maybe fixing up a few things like tag support and using the built in Cron functionality of WordPress, but there seems to be 2-3 different versions now floating around.

    (the zip on bens site seems to be corrupted for me).

  688. Kydd:

    I had the same corruption problem with Ben’s file but then I upgraded my WinZip and it worked. I have the same problem with the default post category being blank though. Note that on Greg’s page at http://greg.medding.net/blog/2007/10/08/postie-mod/, he does not so I don’t know what the fix for that probem is. Also note that the nav bar links get broken once you go into the quick readme.

  689. Kydd:

    I also noticed that if an article has an apostrophe the backslash (\) (which I’m assuming is used to escape it) still appears in the article heading.

    Also, if an article is forwarded and HTML is turned on the formatting of the page goes awry and for example, the article will block navigation elements.

  690. Benjamin:

    Sorry I disappeared for a bit if you’re using my mod. The way that I did it, it has a problem with items with quotes or slashes in them, doesn’t do it quite right and I haven’t had the time to solve it. So, I disabled the ajax post and changed the post_status option in the code from publish to draft, and that way I can manage my posts.

  691. elteltvie:


  692. tazelorrolp:


  693. dan Mc:

    Could someone be very simple for me and show exactly what text needs to be in the cron job? I am all working except the little part with my cron being able to automate the thing…

  694. dan Mc:

    I’ve got this in cron working now
    then was getting permission denied so changed the setting – to 755

  695. arno:

    Well i still can get postie run with gmail. I have used the code from oliver and others thx for that ! But still gmail end in an erro. I’m using php 5.2.5 wordpress 2.3

    The error i get is:
    The Server said:Can’t connect to gmail-pop.l.google.com,993: Refused
    Error in my_thread_global_end(): 1 threads didn’t exit
    Using imap or pop3 end in smae error any one a idea ?

  696. arno:

    before some one see the error in my previous post port should of course be 995 but this does not solve the problem.

  697. Fredrik:


    I have image settings on postie to 350px in width.
    But now I want to change to 500px in width.
    All the images I have added is much bigger, so its only the thumbnils that is the size I have set in postie.
    So is it possible to run some sort of a task so all the thumnails is remade with new settings which is 500px in maximum width ?


  698. stairway27:

    I’m running WordPress 2.3 (actually 2.3.1 ), and tried all of the patches suggested here by Olivier, Greg, and Benjamin, but still had a problem: not all of my categories were showing up in the config page, and only a few categories were recognized via email. The solution was to add ‘get’ =>’all’ as an argument to get_categories(). Details are posted at http://stairway27.net/blog/2007/11/25/fixing-postie-for-wordpress-23/ if you’re interested. I also put together a .zip with the two files that need to be patched to make categories work correctly with Postie 1.1.1 and WordPress 2.3. Thanks to Olivier and Greg for showing me where to start looking.

  699. Tom:

    Thanks for the work. It’s really nifty. I’m looking for ward to using it with Stumble to keep a list of pages I liked…

    I also get this error when I hit Run Postie from the screen as well as from the console using curl. My intent is to get procmail to deliver it directly but I need to work on that a bit.

    #!/usr/bin/php -q
    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /var/www/trb/wp-content/plugins/postie/get_mail.php:2) in /var/www/trb/wp-content/plugins/sidebarLogin.php on line 133

    Connecting to mail.trbailey.net:110 (pop3))

    There does not seem to be any new mail.

    Seems to be an issue with headers and the SidebarLogin plugin.
    Thanks though, it does work using pop3.

  700. Jesse:

    This question is on this page quite a few times, but I can’t see where anyone answered it. When I test the script, I get this error message:

    #!/usr/bin/php -q The web server cannot write to httpdocs/blog/wordpress/wp-photoz/ please correct the permissions

    When I click the test config button it says:
    Sorry only admin can run this file

    I’m using Word Press 2.3.1 and Postie 1.1.1

    Can anybody help? Thanks!

  701. Christiaan:

    Is there a way to use Postie with a proxy? I have found out that my host requires connections like this to go through a proxy for security reasons, so if there’s a way to do this I’d love to find out.

  702. broedu:

    I installed the plugin, activated it via the Plugins page… but nothing is going on, just a clean page appears.

    What’s the problem? Thx

  703. Cody:

    I can’t figure out why, but postie wont show up in my plugins list. I’m pretty sure it’s in the right directory (/wordpress/wp-content/plugins), are there any permissions that need to be set?
    I’m using wordpress 2.2.1

  704. Cody:

    ignore my last comment — it was my stupid mistake with two wordpress installs on the same host.

  705. reese:

    for some reason whenever I click on “run postie” to see if everything is ok it tells me that
    Connecting to mailstore1.secureserver.net:110 (pop3))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server Said POP3 connect: Error [110] [Connection timed out]
    I know that it’s not an issue with accessing the mailbox because I can do it on my iphone, through outlook, and through godaddy’s webmail…
    why is it always timing out? is there something I can do to fix that?

  706. arno:

    Same problem here i gues you get this error as well?
    Error in my_thread_global_end(): 1 threads didn’t exit
    any one ?

  707. Steph:

    I don’t know anything about this stuff – but, in case there are more of me out there who see “Set up a cron job” and then a string of code that only 50% makes sense – Don’t set up a cron job. This is what I did, and it is working for me – As recommended by WordPress (for newbies) I tagged this bit of text onto the end of my Footer file, after the /html tag -

    Hope this is helpful. Also, the patch mentioned here:
    was immensely helpful.

    Thanks all.

  708. Steph:

    Sorry bout that – the bit of code i referred to is here.

  709. arno:

    Solved the problem with Error in my_thread_global_end(): 1 threads didn’t exit this seems a php/mysql bug see
    Test works fine now but getting a error 500 when running postie this migth have something to do with network configuration since i’m on a intranet and not on a internet server

  710. Bryan:

    I have two options for retrieving mail:
    * Corporate email account (no proxy)
    * Gmail email account (proxy)

    I can’t connect to my corporate account because our Exchange server doesn’t allow cleartext passwords. I can’t connect to my Gmail account because I don’t know how to tell Postie to use a proxy. Any suggestions?

  711. Brooke B:

    I am running WP 2.3.1 on linux. Postie 1.1.1

    I am logged in as admin and when I go to options – configure postie I get:

    Warning: setupconfiguration(/home/diznet/public_html/wordpress//wp-admin/upgrade-functions.php): failed to open stream: No such file or directory in /home/diznet/public_html/wordpress/wp-content/plugins/postie/postie-functions.php on line 1632

    Fatal error: setupconfiguration(): Failed opening required ‘/home/diznet/public_html/wordpress//wp-admin/upgrade-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/diznet/public_html/wordpress/wp-content/plugins/postie/postie-functions.php on line 1632

    Any help would be fantastic!
    I saw others with this issue but no responses.

  712. Paul Roberts:

    anyone got a fix for the “The web server cannot write to / please correct the permissions” problem?

  713. Paul Roberts:

    okay i fixed it by adding “/wp-content” to the default path on the Postie Options page in admin under “Directory Settings”.

  714. Steph:

    Hello. I really need help.
    Postie was up and working and life was good.
    Now, well now look what happens:

    I tried deactivating, deleting the plugin, uploading the it again, resetting to default settings…

    But i am stuck – even after i did all of the above, my settings were still there which tells me that somewhere in the database things are wonky. Any help? Anybody?


  715. Steph:

    Hello. I really need help.
    Postie was up and working and life was good.
    Now, well now look what happens:
    I tried deactivating, deleting the plugin, uploading the it again, resetting to default settings…

    But i am stuck – even after i did all of the above, my settings were still there which tells me that somewhere in the database things are wonky. Any help? Anybody?


  716. Steph:

    Hi All – I had to delete the mess I refer to above, but basically, the email will post, but without all of the features that postie offers, and on top of that, leaving a garbled mess talking about mime types, html etc and if i attach an image, it will include a huge string of data in lieu of a pic. Yikes. help me start over, and make things like they were before. please.

  717. Jane:

    I am getting the “no new mail” response too but running wp-mail.php picks up the emails and posts them. What could be the issue?

  718. Teilnehmer:

    In my WP (2.3.1) there was a problem with categories. I looked into the code, and the database was changed, and is now called “wp_terms”, containing the columns “term_id” and “name” instead of “cat_id” and “cat_name”. I changed config_form.php (line 137 ff) to this:

    $categories = $wpdb->get_results("SELECT * FROM wp_terms ORDER BY name");
    foreach ($categories as $category) {
    $selected = ($category->term_id == $config["DEFAULT_POST_CATEGORY"] ? "SELECTED": NULL);
    echo "\n\tterm_id' $selected>$category->name";

    I also changed postie_functions.php (lines 1526 ff.) accordingly. Works now. Didn’t find the $wpdb variable to change, so I messed around :)

  719. saif:

    Here is a quick solution for catergory issue if u r using this script with WP 2.3 , open phpadmin , find table “wp_postie_config ” then find “DEFAULT_POST_CATEGORY” then edit it and enter the ID of the category that you want as a default category

    this is working find with me

  720. Glen:

    Thanks for all your work on the postie plugin. There were a couple of things that I changed. The first may be general case enough to add to the plugin …

    1) I use /target=”_blank”/ rather than JavaScript to open images in a new window

    The second was to handle an anounache in my emails …

    2) insert /target=”_blank”/ into all links (added a new regex to HTML2HTML function)

  721. clydd:

    “Images are renamed in a way that makes it impossible to accidentally overwrite images you have already posted”

    May we have an option to disable this?

    Thank you!

    I need this too

  722. Piero:


    Postie is working great but I do not see any picture I sent from my Sony Ericsson K800i to my homepage. The text is shown normally but the picture is missing.

    Many thanks


  723. AnagraM:

    I’ve installed the latest Postie (WP is version 2.3.1) and had a lot of issues that I kinda could manage with all the comments reading.

    Yet, I’m stuck with one last problem. Whenever I try to test the connection, I get an error saying :
    Warning: imap_open() [function.imap-open]: Couldn’t open stream { pop.mail.yahoo.fr:995/service=pop3/ssl/notls/novalidate-cert} in /home.44/g/l/o/glossola/www/blog/wp-content/plugins/postie/postieIMAP.php on line 78
    Unable to connect. The server said – No such host as pop.mail.yahoo.fr
    Try putting in your full email address as a userid and try again.

    i’ve tried using postie with a yahoo and a gmail account, and both give the same error, saying the host is not found, though I copied the pop addresses given in the help pages.

    The line 78 mentioned was modified according to a comment earlier to add the ” ” here and there. Without those, I had a php error, so I guess it’s correct.

    Can anyone shed some light on this?
    I’d really like to be able to send pictures from my cellphone to my blog..

  724. DaveH:

    I get the following error from my server when running get_mail.php: The Server Said POP3 connect: Error [13] [Permission denied]

    This happens with the built-in e-mail feature of WordPress as well as with Postie. The settings work fine in Outlook. Any ideas? I heard it suggested once that some servers require the password to be encrypted … could it be something like that, and am I out of luck if so?

  725. Steve Axworthy:


    I too am having trouble with the email always going to ‘uncategorized’ even though that category doesn’t exist.. I only have one category “Mohr Blog” and I assumed that since it is default that the emailed posts would go there… I have tried adding ‘Mohr:’ to the beginning of the subject of the email and that doesn’t help.. On the Postie Configuration screen, the ‘Default post by mail category:’ drop down has no entries… it is blank… I am using version 2.3 of WP and Version 1.1.1 of Postie.

    Thank you in advance for any assistance anyon ecan give me.


  726. Major Combs:

    Hello, I’m running WordPress 2.3.1 and I just installed Postie and set it up. It appears to be working but when It checks mail it says that no mail is found on server. when I log in to that mail account the mail is in the inbox. Could Postie be broken for this version of WordPress?

  727. Mattias:

    I´m having trouble with messages not uploading…

    Currently running GD, postie 1.1.1 and wp2.3
    I send a large (larger than the resize limit) pic with some text to the email account checked by postie but it doesn´t get posted on my site.

    When I click on “Run Postie” under the Configure Postie menu I receive the following message:

    Connecting to mail.yoursite.com:110 (pop3))
    Mission complete, message 1 deleted.
    mike@yoursite.com is authorized to post as the administrator
    Email has following attachments:text plain
    image jpeg

    And then it stops

    The pic is uploaded to /wp-photos but isn´t getting posted on my site.

    Images larger than the resize limit gets copied/placed in the wp-photos directory, but the post does not show up at all.

    Images smaller than the resize limit gets copied/placed in the wp-photos directory and posted on the blog.

    If I turn of images resizing the pic gets posted on the site.

    Any ideas or tips?

  728. Aaron:

    FIX for the no wp_categories error.

    You need to edit postie-functions.php starting around line 1498.

    Look for all instances of SELECT cat_ID and change to SELECT term_id
    Look for all instances of $wpdb->categories and change to $wpdb->terms
    Look for all instances of WHERE cat_name= and change to WHERE name=

    Save your file, and that should do it.

  729. Simon:

    this is a brilliant plugin i’m using for a site i’m setting up. going to try to get the tags working but bit of a wordpress newbie so not sure how that will go. at the moment using the version with ‘mobile’ hardcoded, have changed this to ‘news’ for my site. would love it if anyone who has been successful at even a basic implementation with tags would post a full code here- still scared of hacking it to peices ;-)

  730. TIger:

    I would love to be able to run an SQL query immediately after POSTIE runs, is this possible?

  731. John:

    Hi, hade some problems with special chars (swedish) in subject only when attaching image. I then utf8_encoded post_title WHEN image added. It worked for me. Email me for help with this.

  732. video:

    Verizon seem to have changed something in the way messages are sent from the phone…does anyone know how to get things to work again on 1.2.3. It works fine from other carriers…

  733. M. Paris:

    i updated wordpress today and updated postie, too – same problem. besides weighted words is broked to even after installing the newes plugin version.

  734. Isti:

    Hello, i have installed the plugin, but i cant select Imap/imap-ssl/pop-ssl options, because it says these are unavailable. The PHP-IMAP is installed. What could be the problem?

  735. Jussi:

    Thanks for this great plugin.

    I guess one shouldn’t advertise of being a Postie user, as *anyone* is able to run wp-content/plugins/postie/get_mail.php which gives out quite a lot of info.

  736. Jim Smith:

    the configure missed that I have gd in php … using php 5.1.2, apache 2.0, wordpress 2.3.3 … doesn’t seem to be a quick way to override?
    everything else works great … thanks!

  737. Steffen:

    For those of you who run WordPress 2.3 and switched from UTW to the WordPress native tagging and need embedded tags to work with postie, here is a quick fix. Add the following function to postie-functions.php:

    * Parses a string looking for tags in single and multiple tag blocks.
    * @param string $text a block of text
    * @param array an array of tag names
    function ParseEmbeddedTags($text) {
    $tags = array();

    $findTagsRegEx = ‘/(\[tags\](.*?)\[\/tags\])/i’;
    preg_match_all($findTagsRegEx, $text, $matches);
    foreach ($matches[2] as $match) {
    foreach(explode(‘,’, $match) as $tag) {
    $tags[] = $tag;

    return $tags;

    This is adapted from UTW. Thanks.

    Now change function PostToDB to:

    function PostToDB($details) {
    $config = GetConfig();

    if ($config["POST_TO_DB"]) {
    //generate sql for insertion
    $_POST['publish'] = true; //Added to make subscribe2 work – it will only handle it if the global varilable _POST is set
    $post_ID = wp_insert_post($details);
    $tags = ParseEmbeddedTags($details[post_content]);
    if ($tags) {
    wp_set_post_tags( $post_ID, $tags );

    Note, this will tag posts properly but your embedded tags will stay in the post. I use the “Simple Tags” plugin, which will filter them when the post is being rendered for display.

  738. Stephen Newton:

    Postie no longer embeds QuickTime for video emailed to my blog. Error noticed after upgrading WP to 2.3.2, but may have been present earlier as I only email video very occasionally.

    Something is stripping essential code from the posts. For example:

    $attachments["html"][] = ‘<!–Mime Type of File is ‘.$part->ctype_primary.”/”.$part->ctype_secondary.’ –>’ .
    ‘<object ‘.
    ‘classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” ‘.
    ‘codebase=”http://www.apple.com/qtactivex/qtplugin.cab” ‘.
    ‘width=”300″ ‘.
    ‘height=”256″> ‘.
    ‘<param name=”src” VALUE=”‘. $config["URLFILESDIR"] . $filename .’”> ‘.
    ‘<param name=”autoplay” VALUE=”false”> ‘.
    ‘<param name=”controller” VALUE=”true”> ‘.
    ‘<param name=”scale” VALUE=”aspect”> ‘.
    ‘<embed ‘.
    ‘src=”‘. $config["URLFILESDIR"] . $filename .’” ‘.
    ‘width=”320″ ‘.
    ‘height=”250″ ‘.
    ‘autoplay=”true” ‘.
    ‘controller=”true” ‘.
    ‘type=”video/quicktime” ‘.
    ‘pluginspage=”http://www.apple.com/quicktime/download/” ‘.
    ‘width=”300″ ‘.
    ‘height=”263″></embed> ‘.
    ‘</object><br><font size=-1><a href=http://uk.youtube.com/stephennewton target=”yt” title=”Visit my YouTube channel for more”>YouTube</a>-<a href=”‘. $config["URLFILESDIR"] . $filename .’” title=”Download the podcast”>podcast</a></font></center>’;

    Arrives in the post as:

    <!–Mime Type of File is video/mp4 –> <br><font size=”-1″><a href=”http://uk.youtube.com/stephennewton” title=”Visit my YouTube channel for more”>YouTube</a>-<a href=”http://www.stephennewton.com/wp/wp-filez/test3.MP4″ title=”Download the podcast”>podcast</a></font>

  739. Daniel Kelley:

    Wow you people are a real piece of work… Tried to hack in the fix for your carriage return hack, couple hours spent copying lines of code for paste to figure out it won’t work in this version of postie on the latest wordpress… Read the post here a little while later about your hacking people’s time with not seperating comment posts through 3 years worth of comments on various versions, nice hack there do she!

    Here’s my fix for the carriage return hack.
    Text of next paragraph
    Text of third paragraph

    Three carrige returns, Copy your text, Paste it to wordpad or notepad, CTRL+H to find and replace, find: cret replace with:

    Put a at the top, put a at the bottom.

    Copy the text from notepad, paste it in your text only email. Fire off a blog post to PostAy…Ay it works!

    Nice job automating this email blog posting facility. Hopefully your love life is going as well as your programming. Guessing though from the historical norm, that idiocy is promoted, you’re probably getting laid like a queen ant.

    Seriously, you should get in touch with this gent who made Postie carriage return on a lower version and fix it together and charge $2 to access it, then run an automated affiliate program to give $1 to every person who sends someone here to buy it. Give a free 30 day trial, open an account at clickbank, and quit wining that you don’t know how to make money.

    Latah Tatah,
    Daniel Vincent Kelley

    I invite all correspondence.

  740. Daniel Kelley:

    the replace with in my last comment was supposed to be ‘less than /p greater than’ ‘less than p greater than’, to represent the html for close paragraph open paragraph.

  741. Daniel Kelley:

    Then it was supposed to be put an open paragraph at the top put a close paragraph at the bottom…

    I forgive the no text here to indicate html will be stripped from comments…

  742. Daniel Kelley:

    Here’s my fix for the carriage return hack.
    Text of next paragraph
    Text of third paragraph

    Three carrige returns, Copy your text, Paste it to wordpad or notepad, CTRL+H to find and replace, find: cret replace with: ‘less than /p greater than’ ‘less than p greater than’

    This to represent the html for close paragraph open paragraph…

    Put a open paragraph at the top, put a close paragraph at the bottom.

    Copy the text from notepad, paste it in your text only email. Fire off a blog post to PostAy…Ay it works!

    Subject of this post: Disgruntled Postal Worker Hacks Carriage Returns Out of What Had Been Fully Functional Code – Whole Community Confused – Kid Gets Mad Laid by Agents for his Monetary Hunger and Willingness to Screw Millions Out of Untold Hours of Their LIVES… Makes Stalin Hitler Disney Proud as a Plum

  743. Tim Courtney:

    I’m experiencing an error. I’m using WordPress 2.3.2. I set everything up, including the directories, and CHMOD’ed them 777 through FireFTP’s Properties panel. When I press “Run Postie” I get this error:

    Sorry but / is not a valid directory.

    When I run the Test Config, I see this:

    Test Result
    Photos Directory Exists No
    Files Directory Exists No
    Photos Directory Writable No
    Files Directory Writable No

    I’m testing it now.

    When I went to http://www.yourdomain.com/wp-content/plugins/postie/get_mail.php, I get the same error message about the directory not existing.


  744. Daniel Vincent Kelley:

    How to get carriage returns in Postie sending from Yahoo Mail.

    To post HTML mail to Postie with Yahoo, first make sure you have Postie configured to accept HTML mail and to parse UTF-8. These settings are found under options, configure Postie where you have signed into wp-admin in your wordpress blog.

    Next you must use Yahoo’s signature box to convert your plain text paragraphs into html with br tags. To do this: sign into yahoo mail; click options, mail options, signature; in the signature box, only on the NEW yahoo mail, type up whatever you’re trying to send as an article to your blog, carriage returning like normal to arrange paragraphs. When you have what you’re looking to post to your blog, click PLAIN TEXT; Press CTRL+A (select all), CTRL+C (copy); then return to your mail, cancel to NOT save your signature; compose a message; paste the text to a PLAIN TEXT Email, then click Rich Text, then send the email without saving it as a draft!

    Let me know if this helps you out at all!
    Daniel Vincent Kelley

  745. Tony Vining:

    This script has been a GODSEND. I receive 200-500 news releases per day, and Postie handles them like a dream! It’s Simple to use, and I’ve learned to manipulate it from my cell phone, making it that much EASIER to manage my site.

    The people visiting my site (30-800 per day) know that as soon as news is released, it will be up. Placing the photos at the top of the article is more than any similar sites offer.

    Only one thing could make it better: being able to trigger an SQL code after collecting mail. (I need to retitle all posts by manually adding code.)

  746. Kjup:

    I’m extremely bummed. I’ve used postie sucessfully on older version of WordPress but with the most recent upgrade it seems that it doesn’t want to work properly. I’ve upgraded to version 2.3.3 and updated Postie to 1.1.1 but I’m getting in the source code when I try to run any of the functions from options > configure postie. Upon clicking Run Postie or Test Config, I’m getting a blank white page. When I view the source I see what says , see a sample here: http://www.readyaboutllc.com/wp-content/plugins/postie/config_handler.php. Has anyone else had this issue? I’ve since tried going backwards on wordpress which I really don’t want to do for security reasons but I’m still seeing the same issue now. Could it be a permissions related issue? My postie directory is set to chmod 777 and it appears all php files are set with those perms recursively. Any help is greatly appreciated as this is a great plugin that I’ve loved in the past!

  747. Kjup:

    Sorry, needed to remove the period after he link, or else you’ll get a 404. Follow this link:

  748. Kjup:

    Never mind, it was a permissions issue. Thankfully I can still use postie.


  749. Sketchee:

    Instead of Cronless Postie, the WordPress documentation has a simple iframe code. Read the part about using postie without cron here: http://codex.wordpress.org/Blog_by_Email#Automated_Browser_Activation

  750. nicolas:

    i dont know if anybody read my comment here (its prob. numer 1000…) but:

    i have found a way, calling the get_mail.php file within the index.php. the advantage here is, that new mails are loaded within the first call of the site. you dont have to reload your wordpress twice.

    just put the following line in the first line of your index.php in the wordpress home-directory:
    fopen(‘http://www.EXAMPLE.com/wp-content/plugins/postie/get_mail.php’, “r”);

    thats it. no need for a cron or any third party tool

  751. Steve Glachan:

    I am running WP 2.3.3 and found that I had to modify the way Postie works with categories:

    1. “config_form.php” (around line 135-140)

    $categories = $wpdb->get_results(“SELECT * FROM $wpdb->categories ORDER BY cat_name”);

    $categories = $wpdb->get_results(“SELECT wp_terms.term_id as cat_ID, wp_terms.name as cat_name FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id=wp_term_taxonomy.term_id WHERE wp_term_taxonomy.taxonomy=’category’;”);

    2. “postie-functions.php” (around line 1525)


    $sql_name = ‘SELECT cat_ID FROM ‘ . $wpdb->categories. ‘ WHERE cat_name=\” . addslashes($match) . ‘\”;

    $sql_id = ‘SELECT cat_ID FROM ‘ . $wpdb->categories. ‘ WHERE cat_ID=\” . addslashes($match) . ‘\”;

    $sql_sub_name = ‘SELECT cat_ID FROM ‘ . $wpdb->categories. ‘ WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;


    $sql_name = ‘SELECT wp_terms.term_id as cat_ID FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id=wp_term_taxonomy.term_id WHERE wp_terms.name=\” . addslashes($match) . ‘\’ AND wp_term_taxonomy.taxonomy=\’category\”;

    $sql_id = ‘SELECT wp_terms.term_id as cat_ID FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id=wp_term_taxonomy.term_id WHERE wp_terms.term_id=\” . addslashes($match) . ‘\’ AND wp_term_taxonomy.taxonomy=\’category\”;

    $sql_sub_name = ‘SELECT wp_terms.term_id as cat_ID FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_terms.term_id=wp_term_taxonomy.term_id WHERE wp_terms.name like \” . addslashes($match) . ‘%\’ AND wp_term_taxonomy.taxonomy=\’category\’ limit 1′;

    Ref: http://greg.medding.net/blog/2007/10/08/postie-mod/

    Hope this helps WP 2.3.x users.


  752. Steve Glachan:

    Sorry for the difficult to read format of the above post. :)


  753. Steve Glachan:


    I’m sure you have found a solution by now but I have the same issue when trying to access YAHOO mail via POP3 – I changed to the POP3 account that comes with my hosting package and it worked fine so try and access a few different POP3 account providers.


  754. Chris:

    Hi there –

    I’m trying out the plugin, but it seems that none of the classes, divs, etc. make it to the post. Is there something that i’m missing?

  755. Kit:

    OK. Is this even valid still? I need to be able to email images / text to my WP blog. and it seems this is the only game in town. However after spending about 6 hours at it, I’m unable to get it to work. Text posts, but images get converted to text strings. It appears others have had this problem, but the posts don’t get resolved in the comments so i’m unsure what to do.

  756. Kit:

    at hour 8 i decided to check my email and realized I wasn’t posting from the admin account in wordpress. it appears this keeps the images from displaying properly! WHO KNEW!

  757. Chris:

    Attention! It does NOT work with WordPress 2.5!
    The whole admin interface will be destroyed!!

  758. Okoth:

    When I post through e-mail, the user is always admin.

    I want to change the settings in Postie in order to show the name of the sender instead of admin. So the end result must be on top of the post:

    Posted by Okoth (or another person’s name who has posted).

    How to change the settings?

  759. Oyster:

    there seems to be some problems working with version 2.5. The category specification in the Subject area of the email does not work. I’m figuring out a hack that will work with 2.5..

  760. Paul:

    Just wanted to let everyone know, I’ve got this running with WordPress 2.5 – haven’t tried everything out, but the picture posts with the text.

  761. Matt:

    Hi I would forst like to thank you for postie i am really happy with it and it was the ONLY way i could get post via email workign after trying cron and wget and built in etc none of them seemed to work but postie did so thanks!!
    I am also trying to slove a problem, do you know of a way to get WP to automatically post the messages i email and not put them in a pending status? i have been digging and digging and cant seem to find it anywhere. i would not use it all the time but there are situations where i would like the autoposts to go right to the blog without review….any help is greatly appreciated!

  762. Lars:

    Any plans for a update wich works on WordPress 2.5 ??

  763. Francois:

    This plugin is wonderful. The choice of categoris doesn’t work for me (wordpress 2.5) but it doesn’t matter.
    A suggestion : It would be very useful to attribute one category to a contributor and affect the expeditor mail adress to a category. So when a mail comes from alfred, the post is publish in the Alfred Category.


  764. Lars:

    Any plans for an upgrade so postie works on WP 2.5 ?

  765. Jara:

    Is this product alive? Do you guys plan to have an automatic custom image resize (resize an image to let`s say 600px height and the width proportionally) and watermarks?


  766. EnoWp:

    WP: 2.5


    Quite new to WordPress I start today installing the plugin ‘Postie’.
    The installing went OK. The mail account is set up, but nothing happens….

    Trying to get mail manually (Run Postie): No mail.

    Testing my configuraiton (Test Config): Result: Parse error: syntax error, unexpected $end in C:\wamp\www\sieino.mine.nu\wordpress\wp-content\plugins\postie\postie_test.php on line 219



  767. jj:

    now my emails are not using the javascript popup window when i send images attached

    why is this??? sometimes it works sometimes it doesn’t there has to be a reason why it was working and now has stopped this is happening on wordpress 2.5 and 2.3 also

    please any suggestions ….it is ugly to have the whole browser window wiped out by the original image when you click on them and not have a window pop up


  768. InternetDrops:


    I’ve just tested this cool plugin but it does not work on WP 2.5 when talking about the categories pre-selection using [] and –. I’ve made the adjustments to work it well. So, anyone who want to make it work until this plugin is not updated:

    go to the line 1526 and change the 3 SELECTS with these new ones:

    $sql_name = ‘SELECT term_id
    FROM terms
    WHERE name=\” . addslashes($match) . ‘\”;
    $sql_id = ‘SELECT term_id
    FROM terms
    WHERE term_id=\” . addslashes($match) . ‘\”;
    $sql_sub_name = ‘SELECT term_id
    FROM terms
    WHERE name LIKE \” . addslashes($match) . ‘%\’ limit 1′;

    Cheers from Brazil!


  769. rebecca:

    I would love to get this working but I can not, for the life of me figure out how to install it. I have upload all of the files as specified and activated the plugin in my wordpress admin. Then the directions say, “Goto to the “Options” tab and click on the sub-tab “Configure Postie” to configure it.” There is no options tab to configure it. I am at a loss. I have the latest version of wordpress, I believe, since I just got it. I could try and configure it in my hosting control panel, of course, but I am afraid I will screw it up. Any help?

  770. rebecca:

    nevermind, for some reason the config postie tab appeared in a different section?

  771. rebecca:

    Sorry for all the posts. Now I am trying to use gmail. I have it configured to pop-ssl, 995 port and my pop is turned on in gmail but I am getting arse error: parse error, unexpected ‘{‘ in D:\hosting\member\becca800\site2\wp-content\plugins\postie\postieIMAP.php on line 70

  772. john:

    how do i create a Tag in the email text?

  773. jj:

    hey i figured it out and everyone neeeds to shout this from the rooftop about postie …..you have to edit this KSES.php file in wordpress includes!!!!

    that’s why all the javascript was disappearing the weirdest thing ever i almost cried when i figured it out cause how am i supposed to know that ???? crazy mystery :)

  774. jj:


    has anyone know how to post to specific child categories ….. say i have city categories ….los angeles , new york ….and then i have a press category with children categories called new york , los angeles …..how do i post to the children …how does it know not to post to the main city category?

    can categories be recognized with 2 words maybe that would work calling it something unique like los angeles press …thing is its redundant because it has to be a child category of the main press category

    any ideas guys?

  775. Marc Anton:

    Is Postie compatible with WordPress 2.5 ?

  776. dexter oyster:

    i’ve created a patch for the categories to work with wp 2.5..

  777. yourcustomblog:

    i’ve setup WordPress 2.5 to post via email (works fine) but want to setup Postie to take advantage of enhanced features like posting to specific categories.

    I followed the instructions from: http://codex.wordpress.org/Blog_by_Email

    Automated Browser Activation: add the following iframe code to the footer of your blog:

    I have created the directories wp-filez and wp-photos in the sandbox/wp-content folder and set chmod 777

    Response: 257 “/public_html/sandbox/wp-content” is your current location
    Command: SITE CHMOD 777 wp-filez
    Response: 200 Permissions changed on wp-filez
    Command: SITE CHMOD 777 wp-photos
    Response: 200 Permissions changed on wp-photos

    I am having several problems — when I run the configuration test I get:

    File Tests

    Test Result
    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable No
    Files Directory Writable No

    also when I try to configure the Message Settings (under Postie Options) for:

    Default post by mail category

    though I have several categories, none appear in the drop down box.

    Finally, when I run the configuration I get the following errors under Image Test:

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/thumb.Test.png’ for writing: Permission denied in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 1140

    Warning: imagecreatefromjpeg(/thumb.Test.png) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(972) : eval()’d code on line 1

    Warning: imagerotate() expects parameter 1 to be resource, boolean given in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 974

    Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(979) : eval()’d code on line 1

    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 980

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/thumb.Test.jpg’ for writing: Permission denied in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 1140

    Warning: imagecreatefromjpeg(/thumb.Test.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(972) : eval()’d code on line 1

    Warning: imagerotate() expects parameter 1 to be resource, boolean given in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 974

    Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(979) : eval()’d code on line 1

    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 980

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/thumb.Test.gif’ for writing: Permission denied in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 1140

    Warning: imagecreatefromjpeg(/thumb.Test.gif) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(972) : eval()’d code on line 1

    Warning: imagerotate() expects parameter 1 to be resource, boolean given in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 974

    Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php(979) : eval()’d code on line 1

    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/qiklife1/public_html/sandbox/wp-content/plugins/postie/postie-functions.php on line 980

  778. Dave:

    I run a small but very busy local news website using WP. We get 20-30 submissions a day from the community that we have to post. It’s a lot of work and I’d like to reduce the workload on my 2-person staff, which spends most of the day reporting and writing original news.

    So: I’d love to pair Postie with CForms II, so that folks could send their content and photos via a form to the post-by-email address.

    But I don’t want their stuff to be published — I want it to come into the system in Draft status so I can clean it up before publishing.

    Is such a thing possible?

    Thanks and good luck,

  779. Eric:

    Reese – did you ever get your “Error [110] [Connection timed out]” error on GoDaddy figured out? I’m having the same issue.

  780. Alex:

    Hi Guys!

    I got another problem I wasn´t able to solve yet: Everything works fine – everything but the pictures. When I´m sending a message incl. a pic, I got base64 code instead of the picture:

    Content-Type: application/octet-stream; name=”krone.gif”
    Content-Transfer-Encoding: base64

    GiIhGiMiGSQjGSUkGSYlGScmGSgnGSopGSwrGC4tGDAvGDQzFzY1Fzg2Fzo5And so on…

    Got some hint for me? What´s going on, what can I do?


  781. Rytis:

    Anybody with some php knowledge to help me?

    In Postie I have enabled “Allow Anyone To Post Via Email”, need Email sender (the From: field in Email, like John Doe) to appear:

    1. as Post Author in blog Post instead of Admin
    2. be added at the end of Post Title separated by “-” or other separator like this: “Post Title From Email Subject – Email Author”


  782. Barry:

    > But I don’t want their stuff to be published — I want it to come
    > into the system in Draft status so I can clean it up before
    > publishing.

    This can be done by changing line 63 in postie-functions.php

    ‘post_status’ => ‘publish’
    ‘post_status’ => ‘draft’

    This should probably be a configuration option.
    Also I would like to see an option to capture From: and Date:
    lines which appear to be ignored.

  783. lukmanf:

    how to automatically create new category based on [category_name] in email subject?

    anyone has ever do this?

  784. techphets:

    Just a suggestion but you might want to include a brief summary of what Postie is at the top of the page. I linked here from an article discussing how to use blog by email and although I learned that John Blade was the original author, I have no idea what Posite is! After reading through the first couple screens of text I gave up.

  785. techphets:

    I found this: “Postie supports posting to categories, automatic removal of email signatures, POP3/IMAL (+SSL) and more.” further down on the page I started at: http://codex.wordpress.org/Blog_by_Email#Step_2_-_Configure_WordPress_to_access_your_new_account

    That description would be great at the top of this page IMO.

  786. faloco:

    Hi, I haven’t been able to find the answer. I want to post with gmail, but I want to insert links in posts and can’t find the way. Should I use plain text or should work with rich text? Or should I put some tag in order Postie to understand that it’s a link?

  787. Paul Roberts:

    I added a function to find and make links in the earlier version of the wp-mail hack but i’m not sure where to put in this version of postie.

    //search for links not <a href and make links
    $content = makelinks($content);

    function makelinks($content){
    // find bare url’s and email addresses and make them links

    $content = preg_replace(“/(\s|^)((http(s?):\/\/)|(www\.))([\S\.]+)\b/i”,”$1$3$5$6“, $content);
    $content = preg_replace(“/(\s|^)(([\w\.]+)(@)([\S\.]+))\b/i”,”$1$2“,$content);

    return $content;

  788. af3:

    hi — the postie works great for except that all paragraph break is converted to   instead of just

    How do I get rid of this ?


  789. af3:

    i meant   instead of just

  790. af3:

    hmm how to get through this? i meant bunch of s instead of just

  791. af3:

    D i v s

  792. Irish:

    I am having an issue where I can run Postie to parse an email containing image attachments just fine, but instead of parsing all 3 images, it just does the first 2. The third image attachment is ignored. How do I increase the limit of number of images from 2 to 3 or 4 or 5 images per post?

  793. jocuri:

    Thank you

  794. Piet:

    Postie is a great Tool.
    I use it with big benefit for my Blog.
    But, i have big Problem with GPX GPS Data files. These are XML Files and will be truncatet by Postie. the resulting files didnt work anymore. This is a problem because i want to use it with xml-google-maps.1.4 Plugin and this is crashing then.
    Unfortunately i have only three Days to fix this. I want to go on a long Bike trail at Sunday and have the intention to send Mails with attached GPX files to the Blog.

    Help needed!!

  795. jocuri:

    Keep up the good work! 10q

  796. Brian:

    I can’t get Postie to work. Whenever I test the config I get a timeout on the attempt to connect to the mail. Email client is Outlook, and I’ve tested sending email successfully. I have followed all instructions. Help?

  797. Chris Pepper:


    It would be helpful if the docs stated whether one must be logged in as user “admin”, or any admin user (I don’t have the password for admin, but I have admin rights). I’m guessing it’s the user “admin”, as I see the README when I click “Configure Postie”…

    Also, I don’t see “–source” in the lynx man page on my Linux or Mac systems — is it necessary?

  798. Chris Pepper:

    Aha. If you get “Missing Configuration For Mail Server”, you have to fill in the port number. They’re listed right there, but I figured it would pick the default POP3 port since the POP3 pop-up was set.

    Dirk, can you either have it automatically use the default port, or mark that field as required?

    It’s also odd that the “Test Config” button says the configuration is good, even without a port set — it’s not really good this way.

  799. Andreas:

    This looks soooo good! – I have one feature request though which I hope you will consider.

    I want to post by sending an email to my blog using cc. I then need to distingguish between the TO field and the FROM field. I would prefer if the mysql talbe could haw a TO column and a FROM column. However I am not sure wether this is supported by wordpress? If not I guess categories could be used. I.e. each post would have at least to categories “TO: user-x” and “FROM: user-y”

    Keep up the great work – thx.

  800. doron:

    Great plugin! Now if only I can get it to work.
    I’m using latest plugin version and wordpress 2.5.1.
    I’ve setup the wp-mail and this works perfectly. After installing this plugin, adding the iframe code to footer, I get the following error when I run postie:

    #!/usr/bin/php -q The web server cannot write to / please correct the permissions

    I’m not sure what permission I need to edit to make the plugin work.
    Thanks for your help.

  801. dilys:


    I think you have not setup the two directory: wp-filez and wp-photos in the blog root directory. Have a try.

    It works well with wp2.5.1

  802. doron:

    Thanks that did the trick. I didn’t realize it was as simple as that!

  803. dilys:

    doron, You are welcome! This plugin is great, I like it! I have used it from wp2.0x.

  804. The Circle H:

    First off: Postie is sweet, though it doesn’t work well with Videos from my ATT Treo 680. . .

    I do a lot of live blogging using Postie and would love to be able to append to existing posts . .. perhaps if the subject line is the same? . Just a thought.

  805. Johannes:

    great Plugin, although I have a little trouble with it. If I post via E-Mail and include an image over #img%#, it works fine and the image is shown where it should, but my validation is screwed up.
    Causing this is the following line:

    After this line, the for the image (which I changed into -tags) begins, but the -tag for the MIME Type is still open.
    I couldn’t get it done to change the code to close it. By the way: I am wondering where the -tag is coming from. I would prefer no before the MIME Type.
    Hope you can help me.
    Thanks a lot.

  806. babydoll:

    hello :) thanks for this plugin!!
    but I have 1 question.
    when I try to put “comments:0″ in message it didnt work.. the comments is still OPEN :(

  807. Sondra:

    Thanks for the plugin. Easy to install and config. Great idea and much better than over options. It would be great to see future release to have multiple Mailservers to allow for consolidated postings that filter categories based on what Mailserver email address was used.

  808. Paul:

    This is a great plugin, I have recently setup a blog and have started using this plugin. I have however had to edit the code to change when it deletes a message.

    As now, the email will be deleted before the post is made, and if it errors, then nothing is done, no post, no notification, no email back to the user on status of their post, nothing.

    I have updated it to make the post first, then delete the email as long as no error occurred, and I am currently working on a return email to notify the user of the status of their post.

    I would very much like to see an updated version out soon, that fixes a few errors users have had, and maybe incorporate the option of a return status email to the poster. Please let us know when we may get a new version out or maybe even a beta copy.

  809. Paul:

    It would also be nice if anyone has any clean up routines for common cell phone carriers to post their functions here so others may benefit from them and maybe the author can include them in the next version

  810. Gareth:

    Once configuring of Postie via WordPress Version 2.5.1 is complete, I then submit and update of changes. On the page refresh it returns with an error: Whoops! That Page Isn’t Here. when trying to from: “wp-admin/options-general.php?page=Postie/postie.php” to “wp-content/plugins/postie/config_handler.php”

    Please advise if Plugin is Supported.

  811. Stevef:

    hello. I’ve just installed Postie on my blog (version 2.3.2). Everything works except picture posting. I created the directories and they seem to work, but my images don’t show up at all. When I run the test config, I can see the large images, but the scaled versions don’t show up. Does anyone have any clues as to what I might look for or try to get this working? Once I get it all working right Postie will be a dream come true. Thanks!

  812. Stevef:

    nevermind, I got it. it was permissions. thanks!

  813. Mansu:

    FYI: To add send email to content edit postie-functions.php like below.
    $ grep -n from * | grep mailto
    postie-functions.php:47: $from1 = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["from"]));
    postie-functions.php:48: $content = “by “. $from1.”\n”. FilterNewLines($content);

    And question, is there any code change allow same subject email(or with Re:) to add to comment of original?


  814. Mansu:

    here is correct one;
    $from1 = RemoveExtraCharactersInEmailAddress(trim($mimeDecodedEmail->headers["from"]));
    $content = “<BR>by <a href=mailto:” . $from1.”>”. $from1.”</a><p>\n”. FilterNewLines($content);

  815. Mike:


    Wordpress 2.5.1
    Postie 1.1.1

    Done all it says, but cant find the Options page. Please advise.

    Thanks in advance.

  816. asheville real estate:

    asheville real estate asheville real estate [link=http://www.everytattoo.com/images/logo/topic-808.html]asheville real estate[/link] asheville real estate asheville real estate [link=http://www.everytattoo.com/images/logo/topic-808.html]asheville real estate[/link]

  817. clyde:

    BODY Part not being displayed anymore???

    Hi I dont know what has gone wrong – i have not changed anything is what was otherwise a perfectly working Wp 2.3 and postie 1.1.1

    All I know is that the Hosting provider just installed PHP 5 two days ago.
    And now postie seems to be completely ignoring the body part of an email.

    It posts the subject correctly and any images are also correctly posted. But the BODY is completely missing.

    Can anyone please help!
    Thanking you

  818. BreeptTet:

    http://walker-duct.dontcatch.com/guardian-envoy-460-economy-rolling-walker.html guardian envoy 460 economy rolling walker
    http://jhonny-walker-blue-label.dontcatch.com/megan-walker-model.html megan walker model

    http://debbie-walker.dontcatch.com/map.html nesmith walker chevrolet

    jane walker

  819. Neil T:


    I’d like to be able to post to my WP via email. My biggest issue is that I would need to be able to add customer field somehow on the email. Will Postie do this or does anyone know of another plugin that is capable of the custom fields ?



  820. Neil T:

    Sorry I meant custom fields not customer fields lol

  821. Mike:

    any suggestions????? I cant find the options page. I’ve installed everything correctly. Created directories, activated the Plugin, but NO OPTIONS page.

    mike T

  822. Jim:

    Mike – when you’re logged in as admin, on the right hand side of the page you will see 3 tabs (with the latest WP install, anyway) – these tabs say Settings, Plugins, Users. Click on Settings. Now, on the next line down you will see a row of menu selections that start off with General, Writing, Reading, etc… the far right selection on this row should be “Configure Postie”. Click on this.

  823. Bentley:

    I’m a newbie for sure; but feel I have everything installed correctly on the host server; but I don’t see the “Options” tab re: below. Any ideas?


    Login to WordPress as “admin”
    Goto the Plugins tab in the WordPress Admin Site
    Activate “Postie”
    Goto to the “Options” tab and click on the sub-tab “Configure Postie” to configure it.
    (Postie ignores the settings under Options->Writing->Writing-by-Email)

  824. Bentley:

    Disregard previous message. All “functioning” now; but getting a connection timeout for the email account; but I can access it via email clients such as Outlook / Microsoft mail, so not sure what to do. Any help appreciated. Thanks!

    Connecting to pop.secureserver.net:110 (pop3))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server Said POP3 connect: Error [110] [Connection timed out]

  825. Bentley:

    getting closer; but PLEASE HELP!

    I have played around with the issue a little bit and looked specifically at the snippet of code below found in class-pop3.php. The $fp variable never contains a value. From the log of the cron job: “The Server Said POP3 connect: Error [110] [Connection timed out] [pop.secureserver.net] [110] []” where the brackets indicate [$errno] [$errstr] [$server] [$port] [$fp] from the code below.

    $fp = @fsockopen(“$server”, $port, $errno, $errstr);

    if(!$fp) {
    $this->ERROR = “POP3 connect: ” . _(“Error “) . “[$errno] [$errstr] [$server] [$port] [$fp]“;
    return false;

  826. Robert Felty:

    I just downloaded the postie plugin today, (version 1.1.1), and saw that it does not work with wordpress 2.5.1 (actually, it seems that the categories have probably been broken since 2.3). I fixed the category handling, and I added a few new features that I needed. I know that you are not currently developing the plugin anymore. Would you like my changes, or should I post them somewhere else (preferably the official plugin repository).

    Thanks for all your prior work on this plugin.


  827. techieguy:

    Everybody’s talking about

  828. Dagfinn Aaslid:

    Good news! I have gotten Postie working nicely on 2.3, holding off 2.5 since getting things working again seemed tricky.
    I see no real viable alternatives to Postie, and find it invaluable for blogging on the road.
    If you would make your fixes and features available for download I’d be very grateful!

  829. RG:

    I love Postie, use it all the time. Problem is, whenever I sent a file that’s.. over 100k, thereabouts, it just disregards it and deletes it. Whether it’s JPEG or 3G2, I run the test script, and it tells me Mission Complete, message 1 deleted. Images that are less than 100kb are just fine, and processed normally.

    This is incredibly frustrating, upload_max_filesize is at least 10mb (by WP’s standards, I can upload >10mb files just fine), e-mail attachments have no limits, it’s something to do with Postie itself.

    The messages are GETTING there, but Postie just doesn’t want to deal with them for some reason.

  830. Bentley:

    Still can’t get it to work. Has something to do with the $fp variable not getting assigne in the fscokopen statement. See previous posts. Any ideas??

  831. manken:


  832. Chris:

    Postie has been a god-send – let’s two good friends dealing with a family illness keep their circle of loved ones informed.

    I’ve handled a glitch, but would appreciate advice on how to handle it more permanently: My friends use Yahoo Mail to post, and the text version of their messages, encoded in “quoted printable”, collapse multiple linebreaks into a single linebreak – =A0.

    The HTML version handles better – the regular paragraph as a DIV, then a DIV containing only a nonbreaking space char, and then another paragraph in a DIV – so I’ve set Postie to prefer the HTML version, and that seems to work.

    However, I’d prefer to tweak Postie so I could use text input, as before. Would it be best to do this in FilterNewLines?

  833. Mansu Kim:

    FYI only:

    I found if you have too large emails in mailbox(>php.ini (memory_limit) default 16M), you may seen php memory allocation failure. You can change that to larger size or delete that email will solve problem.

    And another I am not sure but it looks below like(“postieIMAP.php: if (eregi(“google”,$server) {” has missing ‘)’ ), so if you have problem with imap or ssl-pop3, try to check this file.

    And for debugging, you can run get_mail.php command line by “php get_mail.php” (you need to change “/etc/wordpress/wp-config.php” by adding ” if (!$_SERVER['HTTP_HOST']) {
    $_SERVER['HTTP_HOST']=”your server-ip”;
    } ”

    I use this for crontab file also.


  834. Joel Giddey:

    Plea to coders everywhere

    I’m a great fan of the postie plugin, of course since its not supported we’re all left our own devices like reading these threads to make little changes to code here and there.

    I’ve a holiday travel site over at http://travel.accommodationsphere.com that I use postie to take the emailed form submission for new accommodation listings and add them to the database (yes its a CMS based on WP). I’ve written a few functions and ‘hacked’ postie pretty bad to get it to do this.

    What would be really great is if there is someone who is out there who has been really into postie and got a well maintained version of it could post a link to it for the rest of us to compare how we’re doing with our versions.

    At the moment I’m ironing out some kinks with postie and wordpress 2.6 maybe I’ll post a ‘clean’ version of it some time over at my development blog.

    Great stuff!

  835. Anders Milton:

    Wordpress 2.6, Postie 1.1.1

    I don’t know if the max-height value for images is used at all, but it doesn’t seem like it. I’ve set both the max-width and the max-height values to 486 pixels, but both portraits and landscapes gets resized to 486 pixels wide.

    I also would be glad to see UTF8 support for subjects. The Swedish characters åäöÅÄÖ gets quite garbled. If i check the raw source of the mail the topic looks something like this:

    =?utf-8?Q?Topic goes here?=

    I really hope you can fix this!

  836. Lakshmi:

    The category never gets sorted out on the WP 2.5. It always puts in the uncategorized cat. I used cat no’s ,cat slug’s used :/[] no change. Please help.

  837. Niklas:

    Issue with swedish charaters/signs/letters åäö in Title (works in body text)

    Excellent work! Love your plugin!

    I got the setup working well did a fresh installation 3 days ago, downloaded the latest Postie from here. (wile writting this I now see that Anders (two post up) have the same issue I have. :)

    I tested from both Evolution mail client and from my iPhone. Same issue, åäö does not work if used the subject. (the title gets cut of just before the first swedish letter).

    this is my subject (raw format):
    Subject: test if =?ISO-8859-1?Q?=E5=E4=F6?= works in the posti / wordpress

    Also I have noticed the issue with category, meaning I can not select this in the dropdown of the postie config.

  838. Scott-O-Rama:

    Any chance of getting this updated for better compatibility with WordPress 2.5/2.6?

    I’d be happy to donate to a tip jar to get this going!

  839. Therese Lachance:

    I’ve tried posting by email with Postie in order to resolve an issue with UTF-8 characters not showing up correctly, but without success. Even with Postie all accented characters appear as garbage characters. I used Outlook Express, Outlook 2003 and Netscape and all are doing the same thing. WordPress version is 2.6. Do you have any suggestions. Also, I am receiving this error when I test configurations: Fatal error: Call to undefined function testwpversion() in /home/moon3124/public_html/blog/wp-content/plugins/postie/postie_test.php on line 35 and when I try to configure Postie the changes are not saved.

  840. Matt:

    Hi, just to let you know I found a syntax error in postieIMAP.php there needs to be one more bracket around that eregi statement.

  841. Therese Lachance:

    Please disregard my previous comment, I’ve found the problem. I was originally using wp-mail.php and forgot to change the iframe link in my footer, so everytime I browsed my blog the wp-mail was activated and fetching the mail instead of postie. Now everything is back to normal and Postie is working perfectly, thanks so much for such an excellent plugin!!!

  842. John:

    Our family blog has used Postie successfully for several years. I just upgraded WordPress from 2.1 to 2.6 and Postie no longer works. Can anyone give advice on what to do?

  843. Alexander Higgins:


    This looks like it has some very nice features, but I see alot of comments about bugs? Is this working or?? Is there some one here who “supports” this plugin.

    I am looking for suggestions or advice on what plugins I should use. If any has any suggestions please send me a comment.

  844. Jeri:

    I have the same problem as Bentley, above. WP 2.5.1, Postie 1.1.1. I’ve followed all install steps faithfully.

    Connecting to pop.secureserver.net:110 (pop3))
    Mail Connection Time Out
    Common Reasons:
    Server Down
    Network Issue
    Port/Protocol MisMatch
    The Server Said POP3 connect: Error [110] [Connection timed out]

    I’ve tried both a gmail account at port 995 (ssl) and a godaddy account at port 110 (non SSL) and cannot get either one to connect, both timeout. I can, however, connect to both accounts with a pop client. My pulldown options for port in postie let me select either pop or a selection called “imap/imap-ssl/pop-ssl unavailable”.

    I’ve seen some comments abut Postie being incompatible with 2.5.1 – is that so? I’m not a coder – although I can cookbook with good documentation – but if it’s no longer compatible I need to find another solution.

    I’d really like to be able to post photos by email. Sigh.

  845. Bentley:


    I honestly haven’t had time to play with it since the 1st couple of rounds; but I’m still where I left off = same place as you = connection timeout message & no clear instruction on what to do.


  846. Dan Alstrup:

    Robert Felty.
    I would like to get the fixed version, or just the fixed files, you have made. Is there a place where I can download.


  847. Robert Felty:

    I have put my updated version of postie, which works with WP 2.5+ at:
    Look at the history file for changes.
    Also note that this is just a temporary location. Hopefully we will get something better (like the official wordpress repository) setup soon.

  848. Dan Alstrup:

    Robert Felty.
    I have just downloaded. Thanks a million


  849. Dan Alstrup:

    Robert Felty.
    It seems like the zip file is not working. I can not open it. Get an error.


  850. Krezz:

    Hi there! Is there any way that Postie automatically can add the first image URL to a Custom Field like ‘Image’? Or do you have any other suggestions on how to get the image URL to this field? -Krezz

  851. Ian T (n03lm):

    Hi there

    This looks like it might be just the plugin I need, but I can’t get it working.

    Using wordpress 2.6 postie 1.1.1 installed in the plugins dir. I’ve made the root level directories, set permissions on postie dir to webserver user and execute for PHP files (as needed by my ISP). I’m still getting 404 errors when I try to submit the configuration or access any other features (e.g test config). Any suggestions.

  852. Ian T (n03lm):

    sorry missed one last config issue: postie dir was 775 and it need to be 755 or files got blocked by ISP security. forget my last post

  853. Krezz:

    Hi there!

    Solved my issue, to add the first Image in the post, by adding this code to single.php, a bit “quick and dirty” perhaps but it works. Perhaps it’s possible to refine it since the post has to be viewed once before the image is added.

    $StrContent = $wp_query->post->post_content;

    ID, ‘Image’, $StrImageUrl, true);


    Best Regards Krezz

  854. Krezz:

    Something went wrong with muy post so if anyone iterrested in what I have done please contact me st soren(a)krezz.se BR Krezz

  855. Ray Mercer:

    I am using the version you posted here (still says 1.1.1)
    With WP2.6 – the configuration seems to work but when I “run postie” via the web interface I get:
    “#!/usr/bin/php -q The web server cannot write to / please correct the permissions”
    and when I test config using the web interface I get:
    “Sorry only admin can run this file”

    Any idea what could be wrong? I am logged in as admin and I have set permissions for postie and wp dirs. I followed the readme and create the dirs in wp root too.

    Thanks for this – I would really like to get it working.
    -Ray Mercer

  856. Robert Felty:

    Ray – Try logging out of wordpress and back in again. That might fix the admin problem. Could you provided a `ls -l` of your website directory? I didn’t change any of this part of postie, so I don’t think it has anything to do with the changes that I have made. My guess is that it has something to do with the wp-filez and wp-photos directories. Are you sure that those are writable by the web server? (usually group apache, www, or nobody). I am assuming you are on Linux. If you are on Windows, I really have no clue.

  857. freak:

    Hi Guys,

    did anyone of you find out how to solve the “large image” problem?

    I don’t get very far finding out the solution.. probably due my lack of php skills.

    When posting via email with an image >2 MB as attachment get-mail.php just stops at :
    Connecting to pop.googlemail.com:995 (pop3-ssl))
    Confirming Access For freakblablaMessage Id is :
    Email has following attachments:multipart alternative
    image jpeg

    it seems that this is coming right after
    postie-functions.php line 21: function post email
    print(“Message Id is :” . $mimeDecodedEmail->headers["message-id"] . “\n”);
    print(“Email has following attachments:”);
    foreach($mimeDecodedEmail->parts as $parts) {
    print(“”.$parts->ctype_primary .” “.$parts->ctype_secondary) .”\n”;

    Any help is highly appreciated


  858. freak:

    ahhhh sorry.. i forgot to mention that my php.ini max_upload_filesize is set to 10 MB

  859. djw:

    I’m trying to run Postie from a docomo phone (japanese) with WP2.6. It gives me the following error when sending from the phone:

    Call to undefined function: iconv() in /…./postie-functions.php on line 808

    I think it has something to do with the character set/encoding? Any comments or suggestions welcome!

  860. Chris R.:

    Has ANYONE been able to get this working with Gmail??? I’m pullling my hair out here. I would LOVE to see a solution to this issue. I downloaded Robert Felty’s update, but I still can’t use it properly. I am using GoDaddy as the host and it is on a Linux box. This is the error I get:


    Connecting to pop.gmail.com:995 (pop3))
    Mail Connection Time Out

    Common Reasons:

    Server Down

    Network Issue

    Port/Protocol MisMatch

    The Server Said POP3 connect: Error [110] [Connection timed out]

  861. Bentley C.:

    Chris R.,
    I’m wondering if the common denominator if GoDaddy. I’ve not been able to get this working (see previous, more detailed comments), on GoDaddy, regardless of if I use Gmail or GoDaddy’s hosted email.

    The issue seems to be with the statement $fp = @fsockopen(”$server”, $port, $errno, $errstr);

    but I have been unable to resolve to date.

  862. Chris R.:

    Bentley C.,
    I WAS able to use GoDaddy’s email solution! But I have since let my email hosting lapse and started to use Gmail’s free hosting…why pay for what you can get for free, right?

    So, I can VERIFY that it DID work before with GoDaddy’s email hosting.


  863. Paul Roberts:

    for gmail you need to conect via ssl, this is the code i use in another script that uses the imap functions.

    imap_open (“{imap.gmail.com:993/imap/ssl}INBOX”, $user, $pw)

  864. Chris R.:

    Paul Roberts,

    Please excuse my ignorance, but where do I put that in and in which file?


  865. Paul Roberts:

    for gmail

    just go to the postie sttings page and go down to Mailserver Settings


    Mail Protocol: POP3-SSL
    Mail Server: = pop.gmail.com
    Port: = 995

    and your Mail Userid: and Mail Password:

    that should work.

  866. Chris R.:

    I don’t have that option. For mail protocol, it says “IMAP/IMAP-SSL/POP3-SSL unavailable”. Is there a newer version that I am missing?

  867. Robert Felty:

    @Chris R. – you need to have php-imap installed. On Fedora, this can be installed with:
    sudo yum install php-imap
    If you are on shared hosting, you might be out of luck.


  868. Chris R.:

    Robert – Yeah, my hosting’s on GoDaddy, so I won’t be able to make any server level changes. Man I wish there was a way to get this working with gmail. I really hate to have to go out and pay for email hosting becuase of this. I hate to ask this here, but is there any other options? Any other plugins that might help me out?

  869. steve:

    I saw comment #1380 and wanted to know if my WP2.6, Postie 1.1.1 can reply to a post via email and has it show up as a comment?

  870. Robert Felty:


    The version I have hacked (calling it 1.1.2) has the functionality to add replies as comments. It simply looks Re: in the subject, and if it is there, then it finds the id of a post with the same title (subject), and adds a comment to that post.
    It is currently available at:

  871. steve:

    Thanks Robert, the plugin hack is a nice feature. I can create a post via email, and respond via email. The only problem is that when I respond via email, it updates the original post and does not update the comments section. Any thoughts as to what I’m doing wrong?

  872. Robert Felty:

    @Steve – hmm. It seems to work for me. I just tested it on my test blog -

    Did your reply start with “Re: ”
    it currently looks for “Re: ” explicity (case sensitive).

  873. Naseer Ahmad Mughal:

    i really need this. i will test this and let you know my experience.

  874. Muhammad Kashif Majeed:

    Nice plugin, Thanks

  875. steve:

    does my reply have to start with “Re:” or does it look at the “Re:” in the subject?

  876. steve:

    i had to many cron options going, so i deleteed and started over. i’m using wp-control and you version of the plugin. now when i click on ‘run postie’ it takes me to my web site and says ‘page not found’

  877. Fernando:

    Robert i have installed the plugin and it works well but i still trying to post categorized dispite to use apropriated tag ( categ: or [categ] in subject )
    what could be wrong ?

  878. John:

    I have installed plugin, I tried run postie and it run great, but the category always come to not categories. Any idea?? Thx

  879. Davey:

    I have the same problem… no matter what i do, the category is always Categorized. Is there any fix someone can tell me

  880. Davey:

    woops, i mean it’s always *Uncategorized

  881. Robert Felty:

    I don’t know what to say. It works fine for me. If you don’t specify a category, it will end up being the default category, which is an option. I think it is “uncategorized” by default. If you send an e-mail, then click on “run postie” from the settings page, you should see all sorts of debugging info. Take a look at that, and if it doesn’t make sense, paste it here.


  882. Davey:

    I dont remember seeing any debugging info… ill look again.
    Also, the drop down box to choose a default category comes up empty. I ready some other people with the same issue a while back, but i couldn’t figure out what the problem was. I read something about replacing “term_id” but i couldnt make any sense of it.. sorry, im pretty new to php and coding

  883. Jeff:

    Robert Felty:

    Thanks for your modifications — the FeltyPostie.zip is working great.

    I made one small modification on line 570 in postie-functions.php, I changed the line to:

    $filename = date(“Ymd-His-”) . $part->ctype_parameters['name'];

    Basicially, all video files I was sending via MMS were being overwritten by one another. So I pre-pended the date format they use for the images and that seems to work OK.

    (I suppose we could add ‘u’ to the date format to grab the millisecond to help avoid filename collision, but I’m that high traffic for it really be an issue.

  884. Rich Pav:

    I’m not sure which WordPress upgrade caused this bug, but the body of email message no longer appears as the text of the post. The subject of the Email become the tile of the post and the photo is displayed, but there’s no text. Has anyone found the solution to this problem?

  885. Bill Oley:

    Issue in Robert Felty’s version 1.1.2.
    BTW – great fix to support the new database tables. Thanks!

    I found that my posts via email were not being delayed as requested. The delay: was being properly parsed, but around line 2218 of postie-functions.php in DeterminePostDate() I changed

    if (!empty($message_date)) {
    $dateInSeconds = strtotime($message_date);
    else {
    $dateInSeconds = time() + $delay;


    if (!empty($message_date)) {
    $dateInSeconds = strtotime($message_date) + $delay;
    else {
    $dateInSeconds = time() + $delay;

    If the message_date was populated, the delay was not being used. I didn’t trace through the whole call chain, but this fix worked for me. Maybe Robert can look at this for a subsequent update.

  886. John Halloran:

    I just wanted to say this plugin is awesome. I have tried many ways and this is the best for Bloggin from my Blackberry.

    I still haven’t figured out why my .3gp files don’t embed (they show a link).

    Thanks to all those who have worked on this plugin.

  887. jephens:

    “I still haven’t figured out why my .3gp files don’t embed (they show a link).”

    Wordpress strips out “” code as a security precaution. You can enable it via a plug-in; even tho everything you read will be accompanied a breathless torrent of fear of enabling this tag.

    Here’s to get you started:


  888. jephens:

    Here’s another — “official” one…


  889. John Halloran:


    Thanks for the reply. I am not using WordPress MU, only single user.

    This is the code that gets embedded:

    VID 00002.3GP

    Shouldn’t the Mime type be “Video” or something?

  890. John Halloran:

    oops. it allows the code in the comments :)

    basically, it shows this before the link:

    Mime Type of File is application/octet-stream

  891. jephens:

    I used the code here –


    copied and pasted it into my plugins directory and away I went.

    Like I said, WP STRIPS out the object code, so all you’re left with is the link.

    You’ll note, if you run the get_mail.php directly, you’ll see the video embeeded in the stream. Postie is putting it there, but WordPress isn’t showing it when the page is displayed for security reasons.

  892. John Halloran:

    I don’t see it when I run get_mail. It just shows the link.

  893. John Halloran:

    I am pretty sure it is the Mime issue as it should be showing as video, not application. I enabled the 3GP as a video/3gpp mime type on my server, but it still posts as application/octet-stream from Postie. I wonder if it takes time for the mime type to be active after I add it.

  894. jephens:

    When you view source on your page, do you see an OBJECT tag?

  895. Norbert:

    There is a missing “)” in postieIMAP.php in line 70.
    Good work, everything works fine for me, except the posting into a category.

  896. Reuben:

    Sorry if this question has already been answered, didn’t feel like reading all 800 comments.
    When I run postie, I get the error message
    “Connecting to pop.1and1.com:110 (pop3))
    Mission complete, message 1 deleted.”
    Anyone have any idea why?

  897. Paul Roberts:

    @Reuben: it should show the message after that, does anything post to wp?

  898. Reuben:

    @ Paul: I have had it in the past where it does post, but recently it has not been posting anything at all, that is the extend of the message.

  899. Paul Roberts:


    i get with a test email

    Connecting to pop.1and1.co.uk:110 (pop3))
    Mission complete, message 1 deleted.
    Confirming Access For

    Message Id is :

    Email has following attachments:
    text plain

    text html

    Posting categories: Array
    [0] => 1

    Post Author: 1
    Date: 2008-08-29 20:37:49
    Date GMT: 2008-08-29 20:37:49
    Ping Status: open
    Comment Status: open
    Subject: test
    Postname: test
    Posted content:
    Tetley Tea folk

  900. Reuben:

    @Paul: Weird
    I posted a test which technically came from an email that is not on the approved list and it posted in a similar fashion as yours.
    phone#@vzwpix.com is approved…does not accept
    phone@VTEXT.com is not approved…accepts

  901. John Halloran:

    @jephens: No. There is no embed tag

  902. John Halloran:

    oops. or OBJECT tag.

  903. John Halloran:

    heh. thanks for your help jephens. I tested again and the problem was in fact the mime type. I added the mime type to my server in the .htaccess by adding the following line yesterday:
    AddType video/3gpp 3gp .3gp 3gpp 3g2

    Today it now seems to embed OK as it is showing up as mime type video/3gpp in the source now. Woohoo.

    My video was still getting embedded really small though. My videos are taken at 240×180 on my blackberry, but they were getting embedded much smaller.

    I changed the code in postie-functions.php to be:
    '<embed '.
    'src="'. $config["URLFILESDIR"] . $filename .'" '.
    'width="240" '.
    'height="200" '.
    'autoplay="true" '.
    'controller="true" '.
    'type="video/quicktime" '.

    The 200 height leaves room for the quicktime toolbar. It works perfectly from my Blackberry Curve.

    My only remaining issue is that it says the word "Video" with a link to the video to the left of the picture which I haven't figured out why.

  904. John Halloran:

    OK. I modified the file again so it doesn’t show the word “video”.

    I also changed ‘autoplay’ to “false” but it still autoplays. The html code doesn’t show any of the embed commands except for height and width.

    any ideas on how to make autoplay turned off?

  905. Tanja:

    Postie used to work for me but somewhere along the way it stopped working. All I get now is an Internal server error. Any ideas why this happens?

  906. Team Myloverswish:

    I am using WordPress version 2.6.1 The latest version. I am suing Postie 1.1.1. It behaves strange some time. Some time the emails got posted perfectly and many of the times they just not got posted. What would be the reason. I am using hotpop.com address. Is it possible to use gmail account in postie. How?

    Myloverswish Team

  907. Julia:

    Hi, for some reason, the post to category does not work properly. I have tried all variations but it only posts messages to the default category.

    I have tried abc: -abc- [abcdefg] as suggested in the subject line bit it keeps posting to the default category.

    Please help

  908. Leigh Burke:

    I am having trouble getting this working, getting a connection error with both my Gmail account and godaddy own domain name account.

    I am running WordPress 2.3.3 and the latest plugin from the top of this page.

    Can somebody offer a paid install service? I need to be able to send blog updates with p[hotos from my Nikia mobile.

  909. Celso Barriga:

    Hi Dirk,

    I am trying to use postie 1.1.1 on my site which is WordPress 2.6.2 (problem was found and fixed in 2.6.1). I think there is a change in the database starting at least in 2.6.1 which is when I found out about postie, that broke postie. I enclose the diff of my change below.

    Also, how difficult would it be to add another option for a time stamp of the post? I know there is already a delay post feature, but I want to be able to specify a specific date and time. If you can just point me to the files to look at, I’d be happy to tweak it myself and send them to you if you want them.

    Anyway, thanks for maintaining this plugin, and here’s the diff I promised above:

    MaxPower:postie cbarriga$ diff postie-functions.php postie-functions_orig.php
    < $sql_name = ‘SELECT term_id
    terms. ‘
    < WHERE name=\” . addslashes($match) . ‘\”;
    < $sql_id = ‘SELECT term_id
    terms. ‘
    < WHERE term_id=\” . addslashes($match) . ‘\”;
    < $sql_sub_name = ‘SELECT term_id
    terms. ‘
    $sql_name = ‘SELECT cat_ID
    > FROM ‘ . $wpdb->categories. ‘
    > WHERE cat_name=\” . addslashes($match) . ‘\”;
    > $sql_id = ‘SELECT cat_ID
    > FROM ‘ . $wpdb->categories. ‘
    > WHERE cat_ID=\” . addslashes($match) . ‘\”;
    > $sql_sub_name = ‘SELECT cat_ID
    > FROM ‘ . $wpdb->categories. ‘
    > WHERE cat_name LIKE \” . addslashes($match) . ‘%\’ limit 1′;
    MaxPower:postie cbarriga$

  910. jessica simpsons butt:

    jessica simpsons butt jessica simpsons butt [link=http://equinefriends.com/uploads/images/icons/topic-2122.htm]jessica simpsons butt[/link] jessica simpsons butt image porn young [link=http://habless.com/b/imagehosting/pics/news126.html]image porn young[/link]

  911. D:

    Anyone know why my mailed posts don´t show any thumbnail on frontpage?

    I get only the subject and a white image on the frontpage. That one is linked correctly to my resized picture, and that one is linked to the original.

  912. lindsay lohan video clip over:

    guru guru [link=http://hayrabolu.biz/smf/Packages/backups/dump/article-225.htm]guru[/link] kindergarten graduation songs kindergarten graduation songs [link=http://edwardsofconwy.co.uk/images/products/thumbs/comment-87.html]kindergarten graduation songs[/link] lindsay lohan video clip over lindsay lohan video clip over [link=http://itc-fukuzawa.net/wp-content/uploads/2006/10/etsavars.htm]lindsay lohan video clip over[/link]

  913. Sergio:

    I just wanted to thank you. I’ve been fighting with posting via e-mail with pictures/HTML included, and this solved all my woes.

    Thanks, and I’m available if you need any help…

  914. Daniel:

    Is it possible to get Postie add a thumbnail image on frontpage?

  915. Rodrigo:

    Theres an error on the last distribution (1.1.1) in the file postieIMAP.php on line 70 that appears only for gmail access. The IF statment in that line lacks the closer “)”.
    But anyway, the php calls the error control for debug, showing exactly where the problem is.
    Thanx for this great plugin.

  916. apa writing style:

    apa writing style apa writing style [link=http://fishsnapshot.com/images/skeleton/files/domrac-2001.html]apa writing style[/link] apa writing style apa writing style [link=http://fishsnapshot.com/images/skeleton/files/domrac-2001.html]apa writing style[/link]

  917. Mike Zurer:

    Hi! I have been using this with no problems and then I updated my wordpress install – Now the photos no loner embed into the post where they were in the email, but end up at the end of the message. Is there any easy fix for that, or should I roll back my wordpress install?

    Thanks for all the work!

  918. Steve:

    I’m running wordpress 2.0.x and postie 1.0.1 and it seems to be working ok. Problem is when i activate the plug in i can’t see my Authors and Users list anymore (justa white screen). I can see my own profile. As soon as i deactivate it it comes back. Can you help?

    Also anytime i send in an email with a jpg attached it just dumps it in the trash. I haven’t changed any of the default setings.


  919. RussH:

    I have installed WordPress 2.6.2 and the Postie plugin from above on a server that is also running Sendmail as a service. I would like Postie to get the e-mail directly from the local server, however, it complains about pop3 not connecting. I don’t really want to install a pop3 server. I’ve tried using ‘localhost’ as the mail server hostname, but, it’s still complaining about pop3. Is there some way to configure it to just use the local mail account?


  920. Simon Branton-Housley:

    Celso, I tried your changes, and they didn’t work. I think it has something to do with the formatting on this blog. Is there anyway that you could post the diff as a download?

  921. Tuckey:

    I am also having a problem getting the category to work. When I send a test message and use the : in the subject line, the posts are going to the default category. When I run Postie, the end of the Postie status report says “Working on Snow” Snow is my category. I am running WP 2.5. My other sites are running a lower version of WP, and Postie works like a champ.

  922. Trumpetto:

    Thanks! Great plugin.
    How to get your pop ssl mail going.

    I had trouble getting my ssl mail working so I guess I should post my working settings for ssl mail:

    mail protocol: POP3 (Yes, NOT POP3-SSL)
    mail server: ssl://pop3.yoursite.com
    port: 995
    mail userid: username@yoursite.com
    mail password: duh

    I also posted some mails with pictures that were bigger than the default 400 pixels. It took me a while to understand the pics then just disapper.

    This works for gmail as well!

  923. Dan:


    See this site for how to fix this. There is a zip file there you can download to replace two files in your Postie plugin folder that will fix this. Did for me (I’m using WP v2.6.3)…


    - Dan

  924. Jörn:

    nice plugin! I try to embed Tag Support with the function from Jay in Comment #41946 (http://www.economysizegeek.com/wp-mail/#comment-41946).
    but what is the string in my mail, witch activate the following line as Tags…


  925. Ram:


    I would be able to help you with it. you can contact me at ram__megalinux dotnet

  926. Yaron:

    I’m new to wordpress and not a programmer at all. I’m learning as I go…and I go slow. I installed the Postie Plug-in and configured it through the dashboard after installation. I have 2 separate problems:
    1. I don’t know what else I need to do in order for the emails to post. I set up a separate email address to receive emails to be posted, but they are not showing up on the blog. Am I supposed to add any code to the WP files? If so, can you tell me what code and to which file? Since I am really a novice, if you could be specific it would be great. I looked on the WP forums and tried to install the code:

    to the bottom of my wp-mail.php file. I just entered it as the last line. but that didn’t seem to do anything. I’m sure i’m doing it wrong. any guidance would be appreciated.
    2. I don’t have wp-cron set up. is that something you recommend? again, any suggestions on process would be great.
    Thanks in advance for taking the time to help me.

  927. Björn Elfström:


    I’ve used Postie since the beginning of summer, but somewhere around August it stopped showing images in the posts. Now it only show an image link, and when I click that opens up a small (thumbnail?) verison of the image. I have a standard WordPress 2.6.2 on own (hosted) Linux server. The only changes I’m aware have been changing the server environment from php4 to php5, and upgrading WordPress to 2.6.2.

    I downloaded and tried the Felty version mentioned here, but it exhibits the same behaviour. When ran manually the debug information is a lot more detailed, but there isn’t anything I would notice as an error in it.

    Would anybody have any clues on this?



  928. Björn Elfström:


    Another question while I’m at it :). I couldn’t figure out how one is supposed to enable several bloggers get their posts under their own user names. The instructions mention that the WordPress users should exist, which they do, but what’s the next step?



  929. Björn Elfström:


    Partial answer to myself regarding having posts show up under several users name: you can delete email addresses from the ‘Authorized addresses’ -box that are registered as the email addresses for users.

    This seems to work well, but there’s a potential problem that I need to look into regarding being able to save only one email address per user. At least before some of our bloggers phones exhibited various phone operator generic sender identifications (e.g. 123456789@mms.phonecompany.com) instead of the sender’s real mail address.

    Perhaps creating parallell users only to register several mail addresses could work, but it seems like a workaround bound to break something else…



  930. Uwe:

    Hi, i want to send at first a text, then a picture, then a text an so on via e-mail/moblog.
    Any ideas, couldn’t find a solution jet,

    Thanx for help cheers Uwe

  931. Seth:

    Have postie installed but I’m having some problems with the Crontab.
    It doesn’t seem that I have access to lynx through Cron, but php and wget both work. What would be the correct cron job if I was to use wget?

  932. Willem Kossen:

    Hi, Great plugin. I would however like to have each e-mailed post on pending status instead of immediately published. How can i change this setting (should be a configuration item?)


    Willem kossen

  933. Steve Garth:

    I too have the category problem mentioned on the 8th September. Iam using wordpress 2.6.3, a new install.
    To recap, whatever I put in the subject area, the post is placed in the default category. This is whether I use category: cat: [1], whatever.
    Any chance of a fix?
    Other than this, an excellent, very useful plugin, Thanks

  934. Cees:

    Hi – Did anybody find a solution yet to the problem that positie doesn’t display links in the blog post? In other words, the link isn’t clickable. Thanks & great work!

  935. Allan Clark:

    Hi… Are you willing to re-issue your plugin with Celso’s patch applied, and your blessing?

    I release an RPM for wordpress-mu, I’d like to include your plugin as a workaround for the functionality wordpress.org drops from wordpress->wordpress-mu.

    As admin, you should be able to see my email as well — google it for pedigree. :)

  936. Brian Hubbard:

    I am using wordpress 2.7 and using postie but can’t get it to connect my gmail apps email account. I get a conneciton timed out error when i test. any ideas.

  937. Sam Edwards:

    So I updated WordPress to 2.6.2 and this has broken postie somehow. I have installed the version available from the ZIP above but I continue to get the message below:

    Warning: ini_set() has been disabled for security reasons in /data/members/paid/o/m/omniloth.net/htdocs/www/thestorm/wp-content/plugins/postie/PEAR.php on line 63

    Parse error: syntax error, unexpected ‘}’ in /data/members/paid/o/m/omniloth.net/htdocs/www/thestorm/wp-includes/class-pop3.php on line 68

    I think the first warning is okay, it’s the second that probably stops postie dead in its tracks. Any ideas?

  938. Dave Brightbill:

    I am looking for a solution for migrating a yahoo email group to a WordPress site running 2.7. It’s not for the site I linked here, but for a private site used by a local community.

    The built-in solution isn’t working well with inconsistent results. Is there any work going on with postie to port it to 2.7?


  939. Joe:

    I’m looking for a way to get postie set the STATUS to DRAFT. Any idea how to do that?

  940. ChaichPag:

    Круто, спасибо! ;)
    ps.may lifefertytyua

  941. Serge Norguard:

    WP 2.7 , postie 1.1.1

    error :


    o Dashboard
    o Blog Metrics
    o Dashboard Managment
    o Akismet Stats


    o Edit
    o Add New
    o Tags
    o Categories
    o Tweet
    o Automatic Upgrade

    o Library
    o Add New

    o Edit
    o Add New
    o Link Categories

    o Edit
    o Add New

    Comments 0


    o Themes
    o Widgets
    o Editor
    o Shutter Reloaded

    Plugins 0
    Plugins 0
    o Installed
    o Add New
    o Editor
    o Related Posts Options
    o Sphere Configuration
    o Redirect Options
    o Akismet Configuration

    o Authors & Users
    o Add New
    o Your Profile

    o Tools
    o Import
    o Export
    o Upgrade
    o Bad Behavior
    o Plurk Updater
    o Subscriptions
    o Twitter Updater
    o Backup

    o General
    o Writing
    o Reading
    o Discussion
    o Media
    o Privacy
    o Permalinks
    o Miscellaneous
    o AntiLeech
    o Bad Behavior
    o Blog Metrics
    o coComment Enhancer
    o Favicons
    o FeedBurner
    o Better Feed
    o Post Avatar
    o Post Teaser
    o Configure Postie
    o runPHP
    o Search Everything
    o Slug Trimmer
    o Subscribe to Comments
    o Twitter Tools


    o cformsII
    o Global Settings
    o Styling
    o Help!

    o Overview
    o Add Gallery / Images
    o Manage Gallery
    o Album
    o Tags
    o Options
    o Style
    o Setup
    o Roles
    o About

    o Overview
    o Details
    o Spy
    o Search
    o Export
    o Options
    o StatPressUpdate

    Support Forums
    WARNING! – You must be logged in as “admin” to configure Postie.

    I’m working on some more detailed instructions, but for now this will have to do.

    Warning: include(README) [function.include]: failed to open stream: No such file or directory in /XXX/plugins/postie/postie_read_me.php on line 9

    Warning: include() [function.include]: Failed opening ‘README’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /XXX/plugins/postie/postie_read_me.php on line 9

    Cant seem to figure out why it is doing this, even though i am an admin

  942. Serge Norguard:

    sorry did a wrong copy and paste

  943. FX:

    Therefore your comment on this post

  944. Gareth:

    #Celso – Could you clarify the change you made above. Is this a DB change itself or postie file adjustment. I am taking it that it is a the former. Needing to fix the category assigment which is not adhering to the Plugin assigned category.

    #Headgeek – Postie seems to work on WordPress 2.7 at its basic need in terms of an Email composed on a BlackBerry with an attached Image. Placing the iframe on the footer as mentioned in the codex page works to process the mail and post the post. I have not cheked the other options and settings for content but will be doing so soon.

    #Rob Felty – Hopefully you still subscribed to these comments, The file you have linked to with your release seems to be broken when I download.

  945. Sam Edwards:

    Okay, never mind, I figured out why the error message was being generated, because on line 67 of class-pop3.php there was a // commenting out a line of code. Unfortunately this breaks the if statement on line 66 leading to the ‘Whoa, what’s this } doing here?!’ message.

    It works, but the line break fixing doesn’t seem to take. Need to look at that some more, I guess.

  946. Sam Edwards:

    There’s an option in postie-functions.php to filter new lines, but for whatever reason it was commented out in the code. So when I commented it back in it worked as required. It’s quite close to the top of the file, just search for FilterNewLines if you need to turn it on.

  947. Krystian:

    First of all, thanks a lot for this great plugin. It is awesome.

    I’m using Worpress 2.7, MySQL 5 and PHP 5.

    My problem is: I write the three different codes to post to a specific category, but it doesn’t appears.

    In the POSTIE options the “Default post by mail category:” dropdown box is blank. It doesn’t show anything.

    Also I would like to know if it is posible to create some tags trough the email.

    Thanks a lot for your hard work. I think this is the plugin I like the most.

    GOD bless…

  948. MikeTheActuary:

    Out of curiosity, does anyone have a patched/hacked updated postie they would care to share.

    One of my projects for the holidays was to dust off postie and see if I could get it up and running under WP 2.7. Sadly, my php-fu is not strong, and I’ve developed a nasty headache sorting through comments, patching…and I don’t see a fix for a role-related error in postie-functions.php I’m getting when attempting to update my config.

    I can certainly empathize with Dirk having better things to do than to release a Postie 1.2. So, would anyone like to share an unofficial update? :)

  949. Waseem:


    I’m having a problem with postie, mimiked above comments but couldn’t find any soution, problem is that all the posts by are being sent to UNCATEGORIZED, I tried with : and [] too but none of them worked. Hopefullly somone would help.

    At the end I must say that this plugin is going to save my days and nights for my this new website :)

  950. Mobile John:

    Hi, thanks for that! I realised postie was no longer being worked on by the designer… Great to see someone else is keeping it alive :-)

    Cheers mate, I will be sure to give people this URL when I talk about the postie plugin :-)


  951. Gareth:

    Hopefully someone can work on this, currently my Categories show but only a select few which seem to be randomly chosen in the listing. I have had the Category assignment work once and never again due it being dropped from the Cat list in the options. If I had the advanced coding skills I would have no problem taking this on.


  952. Jeremy Edmiston:

    I have just updated Postie to include the new taxonomy structure in WP 2.7 – if interested shoot me an email and I will send out the new file. The only changed file is postie-functions.php – I just had to change the SQL for pulling the right categories.

    I still need to look through more of the code to see what is not 2.7 compliant, but I am now a Happy Camper! Thanks for this great plugin!

  953. Jeremy Edmiston:

    You can find the updated version for WP2.7 here: http://jeremy.1011i.com/scripts/postie-functions-wp-27-fix

  954. Krystian:

    @ Jeremy Edmiston:

    Thanks a lot for your contribution. I’ll give it a try.

  955. Filiph:

    @Jeremy, I tried your update but still same problem in WP2.7? Any tips for me?

  956. Jesper Balslev:

    Hi, I’m running WordPress 2.7 and I get the error
    Parse error: syntax error, unexpected ‘{‘ in /home/.littlefoot/knutrn/s/wp-content/plugins/postie/postieIMAP.php on line 70

    I tried to make the change as suggested here:
    http://www.economysizegeek.com/wp-mail/#comment-1737 – didn’t help.

    I’m trying to access a Gmail account (and I have enabled both POP and iMap) and I’ve chosen the mail-protocol “pop3-ssl” , mail server is “pop.gmail.com” and port is “995″- Can’t figure out what’s wrong, and would love to use this plugin!

  957. kutay:

    hi there.
    I have installed postie, and it seems that everything is fine, however I can not connect with the mail server. Either in manuel run or in test, it gives me the following error. Do you think something to solve this problem? Thanks

    Parse error: syntax error, unexpected ‘{‘ in C:\webspace\NWB30396\dusunmeler.org\www\wp-content\plugins\postie\postieIMAP.php on line 70

  958. SuepSpoum:

    There are 5 houses in five different colors
    In each house lives a different nationality.
    These 5 owners drink a certain beverage, smoke a certain brand of cigar and keep a certain pet.
    No owners have the same pet, smoke the same brand of cigar, or drink the same beverage.

    The CLUES:

    The Brit lives in the Red house.
    The Swede keeps dogs as pets.
    The Dane Drinks tea.
    The Green House is on the left of the White House.
    The Green House’s owner drinks coffee.
    The person who smokes Pall Mall rears birds.
    The owner of the yellow house smokes Dunhill.
    The man in the center house drinks milk.
    The Norwegian lives in the first house.
    The man who smokes Blends lives next to the one who keeps cats
    The man who keeps horses lives next to the man who smokes Dunhill.
    The man who smokes Blue Master drinks beer.
    The German smokes Prince.
    The Norwegian lives next to the Blue House.
    The man who smokes Blends has a neighbor who drinks water.

    Who owns the fish?

  959. Robert Felty:

    I haven’t played around much with postie lately, nor do I have time to answer any questions, but the version of postie that I hacked together about 6 months ago still seems to work with 2.7

    Maybe some people will find it useful.

  960. Jeremy Edmiston:

    @Filiph can you send me some more info off-list – it works perfectly under my 2.7 installs (I have 6 separate installs currently of 2.7 with postie) – the only piece that does not seem functional is the default categorization in the admin area – haven’t had time to work on that, just got a major site launched this week, I’ll be able to spend a bit of time next week on it though.

  961. Adam Wiseman:

    @Jeremy Edminston: Thanks! I’m getting ready to head off on deployment (U.S. Navy), where bandwidth is, well, almost non-existent, so being able to post to my family blog with the ability to choose the post category is a godsend. Thanks for fixing an already awesome plugin for me!
    (WP 2.7, Postie 1.1.1)

  962. Gareth:

    @Jeremy – The postie_functions fix seems to work well picking up all categories on WP2.7 and Postie ver. 1.1.1. I have not yet done a test post but believe it will work as normal. Thanks.

    @Robert – Thanks, I have now managed to download the full file and able to extract unlike before. I will also be testing this release to ensure it works, I will then use the better performing plugin. Thanks.

  963. Gareth:

    Currently being trying the fix from Jeremy and am finding that when I run the Postie url to process the mail fetch it is telling me that “Postie Only Works For Word Press 2.0 and above.” which never did before. I reverted to the original zip file and re-uploaded and it still does. I may need to clean up the DB of posties and re-activate the plugin. I am not sure if this is due to the postie-function fix or not.

  964. Gareth:

    Still getting the “Postie Only Works For Word Press 2.0 and above.” when running the Postie url that processes the email fetch after database clean up and trying out Robert Felty’s version (1.1.2), even though I am on 2.7. I cannot figure out what has affected this as the url worked wihout a hitch before. If there are any thoughts on where to look and fix this please advise.

    Regardless though the Category listing aswell as the Tags are being recognized on the admin options, which is great news.

  965. Gareth:

    DOH! http://www.economysizegeek.com/wp-mail/#comment-30778

    Working now.

    Commented out (Using RoberyFelty’s Version):

    // if (!TestWPVersion()) {
    // print(“Postie Only Works For Word Press 2.0 and above.”);
    // exit();

    // <?php
    // if (!TestWPVersion()) {
    // print(“Warning!
    // Postie only works on on Word Press version 2.0 and above”);
    // exit();
    // }
    // ?>

    // if (!TestWPVersion()) {
    // print(“Warning!
    // Postie only works on on Word Press version 2.0 and above”);
    // exit();
    // }

  966. Carlos:

    Great plugin, I gave up using blogger few months ago and I’m loving WP just because of the great user-developers out there!

    Now, is there any way to choose wheter the rotation is counter / clockwise? I’m not that good at programming.

  967. Andy McDonald:


    I can use the delay and comments:0 fine

    however; whenI try to put the category in the subject line it does not work. postie parses it and removes it but does not add the post to the category.

    can anyone help?

    Thanks in advance


  968. Jeremy Edmiston:

    @Andy – what version of WP are you using and which version of Postie are you using?

    there are two patches available in the comments above – it appears that the author is pretty hands-off here – hasn’t posted in almost a year!

  969. Andy McDonald:


    I am using WP 2.7 and poistie 1.1.1

    it looks like the table wp_categories does not exist in WP 2.7 is this correct?

  970. Jeremy Edmiston:

    @Andy – that is correct, you will need to either download my update or Felty’s 1.1.2 – I think Felty’s version has the admin category fix, so go with that one – mine doesn’t…


    Mine: http://jeremy.1011i.com/scripts/postie-functions-wp-27-fix

  971. Reuben:

    Connecting to pop.1and1.com:110 (pop3))
    Mission complete, message 1 deleted.

    This is what I get when I connect and the post doesn’t post, any ideas?

  972. demonboy:

    Nice plug-in, it’s what I’m after. However I notice the question of custom fields has been asked before and I can’t find an answer. Does this plug-in support custom fields?

  973. Jon:

    @Robert Felty,
    Thanks for the fixed version of this plugin, i just installed it on WP 2.7 and it works great!

    And thanks to Dirk for the original Postie code….

  974. HÃ¥vard:


    I’d just like to say thank you for this plugin :)

    I’m running WP 2.6.3 and were having the same issues as the 2.7 users are reporting. The fixed version of postie-functions.php for 2.7 seems to work properly for 2.6.3 aswell.

    Thanks to everyone who has contributed to this.

  975. Techno Station:

    I have installed and activated Postie at WordPress 2.7 but I can not see/find “Configure Postie” menu under Settings.
    Please help.

  976. Angelia C:

    I was wondering if anyone has the latest working copy of Robert Felty’s zip file? I could not unzip the file from his website.

  977. Pete:

    I usedpostie on every version up to 2.5 I think but now simply cannot get it to work.

    I have just uploaded feltys files and whilst I can get to the config screen, as soon as I try to update, reset to default or do anything I get a permissions error when it appears to be calling config.handler.php. IT is currently 755 but when I change it nothing happens anyway. What are the permissions needed inthe various directories for this?

  978. Laurent Rathle:


    I’ve tried Postie to publish posts from inside Secondlife. I send a picture with a comment by mail, but only the text appear and not the attached picture. Could it be a problem with the format of the mail or should I look elsewhere ? I’d like to show you the mail but I don’t know where I should send it.

    Thank you…

  979. HÃ¥vard:

    Hi! I’m working on localizing postie.
    I’m using postie 1.1.1 under wordpress 2.6.3.
    I’m nearly finished preparing it for language support.

    Do the “owner” of postie want to recieve my version?

    Techno Station: I also had the issue you’re mentioning… Did you log in as admin? I had to login in as admin to make it work
    (Weird to me as my user profile is administrator aswell)

  980. Adam:

    thanks! this is great work

  981. John:

    This plugin makes it easy for my users to submit content without any technical skills. But is it possible to have an option so that if a user emails an entry with more than one image, they will get added to the post Side by Side instead of vertically?

    My main entry .div is 500 pixels wide, and thumbnails are set to 200 pixels. I would like the images to display in horizontal pairs. If there are three, then the second image would be beside the first and the third image would be below the first. (Does that make sense?)


  982. HÃ¥vard:

    John: That can be done by setting rules for
    (and maybe also for div.postie-image-div img)
    in your themes style.css

    div.postie-image-div {
    width: 250px;
    float: left;
    border: none;

    Would be my first try, but that might not work…..
    Please tell me when you’ve tried it :)

  983. DanoNH:

    @ Robert Felty: Much obliged for your efforts in getting this to work. I have finally been able to successfully use Postie with WP2.7. I hope you will consider continuing work/play with this…

    @Bill Oley: Thanks for your delay contribution fix for postie-functions.php. The line number for me was 1378.

    I have found an issue where the Postie options under Settings>Configure Postie were not showing up at all. As it turns out, disabling plugins a few at a time revealed that the WP SuperCache plugin was in conflict for some reason. I did not spend the time to investigate why yet.

    What we Postie users really need is to get this granular functionality incorporated into WordPress itself…


  984. DanoNH:

    I just wanted to add that I couldn’t get Postie to work on my Linux shared hosting plan using a dedicated email address that I had created. I could see the emails in the POP inbox, but running Postie get mail in an iframe in the footer of my blog would do nothing.

    Once I changed the email to a different domain, it worked perfectly and every time. This must be some kind of limitation of my web host, 1and1.


  985. Andy McDonald:


    I have found that if there are more than 25-30 emails then the script fails

    Is there anyway to extend the cron timeout?


  986. Tarsem:

    Subject: Gen: New News is not working

  987. Tarsem:

    I find answer here
    - https://stairway27.net/blog/2007/11/25/fixing-postie-for-wordpress-23/
    How about create a new category through mail with postie.

  988. Tarsem1:

    I find answer here
    - https://stairway27.net/blog/2007/11/25/fixing-postie-for-wordpress-23/
    How about create a new category through mail with postie.

  989. Gayan:


    I seem to have trouble getting this pluggin to work. My mailserver setting are not getting saved due to some reason and what ever i do, i get an error saying missing mail server configuration.

    I use WP 2.7 and the postie 1.1.1. But i have mistakenly installed the 1.0.1 version and i reloaded the new version later, but i still can’t get this to work.

  990. Gayan:

    Fixed it. I think everyone must know this. The readme file of this plugin is missing one critical information. That is

    the config data are being stored on a new table of your wp database. therefore before config this plugin make sure you have enabled ‘create’ previlage of the associated user.

  991. Johne:

    I am getting the same error message that Reuben was getting:
    Connecting to pop.1and1.com:110 (pop3))
    Mission complete, message 1 deleted.

    I get this when I try and post an image via email. A message with just text works fine, but anything with an image provides this error message.

    I am also using 1and1 as my hosting provider and running WP 2.7 with Postie 1.1.1
    I updated this using Robert Felty’s updates. Thanks Mr. Felty

    Thanks to all that have contributed and made this possible. Why doesn’t WP include this as core?

    Any ideas?

    - Johne

  992. Reuben:

    johne, sorry that you are having the problem, but I am also glad because it means I am not the only one. I posted on here before and it seemed like no one knew what i was talking about. It seems it may be a1and1.com issue? Any one who has any info about this would make me grateful.

  993. Michael:

    Parse error: syntax error, unexpected ‘{‘ in /mnt/local/home/myusername/mywebsite.com/wp-content/plugins/postie/postieIMAP.php on line 70

    I’m trying to connect to a Google Apps email, POP3 is turned on, POP3-SSL is selected and input in the appropriate fields.
    Running WP2.7 and the postie version linked at the top of this page.

    What’s wrong??!!

  994. Stephen Newton:

    I’ve been using Postie to send photos and video to my blog for sometime am very disappointed that it’s broken and neglected.

    I’d be be prepared to pay someone to fix and customise it for me.

    If you’re interested contact me via my blog.

  995. Laurent Rathle:


    I can’t make the pictures appear in the posts on my blog. The best I get is a link to the file, and the worst, nothing. Is there some modification I should do on the theme I use for wordpress ? I use PressRow.

    Thank you…

  996. Benjamin:

    My version of postie from October 2007 works perfectly with wp 2.7 images and all

    I only use POP though, haven’t tested the imap

  997. Robert Felty:

    Ok. Let’s do this right. Dirk has been too busy to maintain postie, but nice enough to let people continue to post comments here. I just put the version of postie that I hacked up on wordpress.org at
    And I set up a forum on my website at

    Thanks for all your work Dirk. If anyone else has any code they would like to contribute to postie, I would be happy to look at it and try to incorporate it.

  998. Benjamin:

    Ok, I did a whole bunch of cleaning up my code for public use (I’m using HTML PURIFIER and a bunch of regex which may not be of general interest) and started a google code project for any developers interested in collaboratively developed the new POSTIE RELOADED
    I also added a number of changes to the project that got it working for me
    Download it at http://postie-reloaded.googlecode.com/files/postie-reloadedv1.1.2.zip

  999. Бронислав:

    Ребят, так все-таки это действенный метод или нет?

  1000. Yogie:


    I have postie installed and it says that it is version 1.1.1 and that 1.1.2 is out but installing that version keeps saying it is 1.1.1 and that 1.1.2 is out :-(

    What is going on here?

  1001. Ванек:

    Добавил в свои избраное ваш сайт. Теперь буду вас почаще читать!

  1002. Анфиса:

    Классно, вещь полезная!

  1003. Shahin:


    I am try to use postie in windows, I want to run it as btch every night, when I run it directly from commond line no problem at all, but when I try to run it from a btch I get no mail at all,

    I did create a config file with just these lines:
    ############### POSTIE Configuration File #####################
    # Uncomment and edit lines to suit…
    # Put NO in font of a keyword to negate it.
    POSTIE_PATH e:\postie
    FROM jhicks@2dogs.com
    SMTP_HOST mail.2dogs.com
    REPLY_TO: LANAdmin@2dogs.com
    LOG e:\logs\postie.log
    # End of file
    and did create a batch file directly in the c:\postie with these line:

    @echo off
    set POSTIE=e:\utils\mail\postie\postie.exe
    set REPORT=\\LANSRV01\report$\nightly.xls
    set SUBJ=”Overnight Report”
    set SENDTO=AManager@2dogs.com,BABoss@2dogs.com,SuperTech@2dogs.com
    set MSG=”Here is the overnight progress report. Please report any errors to me as soon as possible.”

    But I get no e-mail any idea? I am using the trail version can this has some thing to do whit this issue?

    %POSTIE% -to:%SENDTO% -s:%SUBJ% -msg:%MSG% -a:%REPORT% -config


  1004. dfdsfdsf:


  1005. Jeffrey:

    For some reason why my emails are pulled to word press using postie. It has them scheduled to post 6 days from when it was posted. How can I change this?

  1006. essexboyracer:

    Is there anyway of not needing 0777 permissions on the filez and photos folders? Can the permissions be set then reset when an email gets processed by using chmod() ?

  1007. Andy McDonald:


    I have installed 1.1.5 on WP2.71 and am getting the following error when I try to run.
    #!/usr/bin/php -q Sorry but / is not a valid directory.

    Also when I run the test it says it can not find the directories, I have created the dirs in wp-content is this the correct place for them?

    Thanks in advance


  1008. Rui Pedro:

    hey all,
    nice plugin

    i configured postie and it still works but suddenly i lost access to postie settings and get a 500 error when i click postie setting in administration

    i’m totally noob to php and eventualy some server settings i can change to solve or to diagnose this

    go the latest of wordpress and latest of postie.
    any clues to solve/diagnose?
    thank you

  1009. bile:

    preg_replace in GetPostTags is returning empty context. Shouldn’t the $matches[0] be escaped? Or just use str_replace?

  1010. Rui Pedro:

    i don’t mind making a full reset and setting all up again

  1011. Koen:

    I want to combine using Postie with using Geo Mashup, but apperently Postie parses a ” (quotation mark) preceded by a \ (backslash).
    I am trying to get “[geo_mashup_save_location lat="5.5555" lng="5.5555"]” in a post, but postie parses “[geo_mashup_save_location lat=\"5.5555\" lng=\"5.5555\"]“.
    Is there a way to fix this?

  1012. Robert Felty:

    @Bile – I don’t see what the problem is. Tags are working fine for me. Could you elaborate a bit more? By the way, postie has now moved to

    There is also a forum at:


  1013. DanoNH:

    @ Rui Pedro:

    500 Errors often result from permissions setting problems.

    Another thing you might check is what version of PHP you are using. You may have PHP5 installed, but some Apache configurations specify PHP4 as the default for .php files. I had to change this once and it fixed my incessant 500 errors.

    To confirm what version of PHP you are actually using, you can temporarily place the following line of code somewhere in your site (header, footer, homepage), or create a new PHP file with only this line inside it (e.g. my_php_info.php):

    Hope this helps

  1014. DanoNH:

    Try “” without the quotes

  1015. DanoNH:

    <? phpinfo(); ?>

  1016. Rui Pedro:

    postie always received mail and worked fine.. when i went to settings i had a 500 error

    i have php 5.2.9-1
    on Windows Vista System with IIS

    all wordpress stuff works

    i’m a .net guy and , in .net, i know where is the setting that says errors are “nicely displayed (like a 500)”… are shown on console only or are shown everywhere

    can’t i have a dump saying, instead of 500, “i tryied to write here but i couldnt”

    meanwhile i guess it had something to do with GD cause i resinstalled PHP without the GD extension… but.. without some kind of dump or report i cant help someone more…
    deinstall GD doesnt say much but the seetings page reappeared

    ty for your attention and hope my issue helps someone else

  1017. DanoNH:

    your php.ini file should have configuration options for logging and displaying errors in the php root folder

  1018. Matt Byrom:

    My version of Word Press is 2.7.1. I am sending mail with Mac’s Mail program. When i test postie, i get yes’s to all the questions and i can see the photo’s properly so i know i have set it up properly.

    I then send an email from the email address i have configured in postie to allow emails from. I check the email has been received ok by the email address i have configured in postie to receive emails. It has.

    I then run postie in the settings manually and get this shown on the screen:

    #!/usr/bin/php -q

    Postie Only Works For Word Press 2.0 and above.

    Should it say this? I’m not sure if this is an error or not… i am running a version of postie above version 2.0. Anyway, when i check my new posts, there are none.

    I cannot work this out, can you help?


  1019. Robert Felty:


    Are you using the latest version of postie?

  1020. Jeromy:

    Great plugin guys. I just installed the latest version on WP 2.7.1 – but after activating it (and cron postie), there’s no options page anywhere – I can’t configure it or anything. Ever heard of that happening?

  1021. Matt Byrom:


    Yes, thanks for your comments. I am using the latest version of Postie and the latest version of wordpress.

    Does postie need mod rewrites enabled or is there something i am missing?

    I have definitely got it set up correctly coz i have checked loads of times but still when i run the postie settings manually, i get this error. Its like the file is not running correctly.

    Can anyone help?

  1022. D.K.:

    Thank you. I just had my website on orgfree.com deleted after install this plugin. Now what? Just lost everything.

  1023. Rui Pedro:

    i read this with great sadness. a lot of work thrown out. :(

    (i suggest something like “http://wordpress.org/extend/plugins/wp-db-backup/” to be used often.. the database isnt that big)

    can you be more specific though?
    i’m not a poweruser of postie but i use it everyday and i am also a programmer so can you tell us with more accuracy for some1 to help you and, of course, to prevent future damage

    installed plugin, activated, website deleted?
    installed, website deleted in activation?
    installed, activated, getting mail, website deleted?

    honesltly.. got no words to confort you :(

  1024. Rui Pedro:

    just noticed 15 days went on…
    have you got this solved?

  1025. fullFx:

    is this feature available on postie ?

    i am using wordpress 2.7 and latest postie 1.1.1
    i notice that when i sent a mail with pictures in it, they get appended at the end of the post, rather than coming at the place where they were inserted.

    is there any way by which I can accomplish this? ie, rather than replacing the picture with its name on the post, i want the picture to be there.

    the sheer volume of comments on this page has made it impossible to look for an answer, if already put up here. please help me.

    – regards

  1026. Robert Felty:

    The latest version of postie is 1.3.alpha, from

  1027. sebastian:

    got a problem with the cronjob. i have postie installed successfully and configured it the right way. when i manually check the mails in the postie options, it checks, and receives the mail INCLUDING the image.

    now i set up a cronjob @ cronjob.de which triggers my get-mail.php file every 15 minutes… now the post does show up, the text is displayed but NOT the picture… any idea? i’m kinda stuck now… :(

  1028. lewen7er9:

    For those of you wrestling with gmail config settings, I too struggled for a little while, but following a suggestion in an earlier comment eventually got the test and the connect to work with the following settings. NOTE that should select POP3 as the protocol (NOT POP3-SSL), and need to prepend the ssl:// protocol fragment at the beginning of the server url.

    Mail Protocol: POP3
    Port: 995
    Postie Time Correction: -4
    Mail Server: ssl://pop.gmail.com
    Mail Userid: myuser@gmail.com
    Mail Password: mypassword

  1029. sweerty:


    Can I use the function mail() of php to send emails?

    if you know, how I do it?

  1030. Lisa:

    Can you help me figure out why Postie is including “=” symbols in emailed posts?

    Here is an example:

    Posted: 15 Dec 2009 03:16 PM PST

    The Youngest Group are learning all about Violet and her interests this wee= k. We have painted with blue and green and today we played with cars=2C bus= es and people as well as eating some VERY ripe cantelope melon. The juice d= ribbled down each chin=2C producing wild and happy grins!
    Hotmail: Trusted email with Microsoft=92s powerful SPAM protectio= n. Sign up now. =

    Version of Word Press – 2.8.6

    Mail Client that you are sending with – varies: Outlook, Hotmail, MSN,

    Link to the raw email – http://www.agassizpreschool.org/chalkboard/306

    Cronless Postie Version 1.3.4
    Postie 1.3.4
    Postie Filter 1.3.4

    Many thanks,

  1031. zeus:

    thank u for plugin ;-))

    any chance you can have additional [+] email with category/page selection…?
    ::) pleeease (::
    how much?


    happy new year ::))

  1032. Sagar:

    I was struggling to configure Postie, but finally after reading your discussion I was successful in doing it. Thanks a lot for sharing these tips.

  1033. af3:

    Any idea how can i determine the type of mobile phone from which the email is being sent from? i.e. like facebook, sent from Blackberry; or sent from iPhone etc?

  1034. wim:

    Postie has been working since I first installed it half a year ago. All of a sudden it quit yesterday. When I run it by hand I get this message:

    Connecting to pop.cultuurinwageningen.nl:110 (pop3))
    Oops POP3 delete: Command failed []\n

    I am running WP 2.9.2 with Postie 1.4

    I didn’t change any setting for the last months

    Any help is appreciated. Thanks.

  1035. Tony Vining:

    WLM- For the answer to that, visit: http://forum.robfelty.com/forum/postie

  1036. Elations:

    Comfortably, the article is in reality the best on this valuable topic. I harmonise with your conclusions and will thirstily look forward to your coming updates. Just saying thanks will not just be sufficient, for the wonderful clarity in your writing. I will instantly grab your rss feed to stay privy of any updates. Fabulous work and much success in your business dealings!

    Stuff I want to read

    Shelfari: Book reviews on your book blog

    Stuff I've Read

    Shelfari: Book reviews on your book blog
    Amazon Honor System Click Here to Pay Learn More