.

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!!!

http://wordpress.org/extend/plugins/postie/

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

Postie.tar.gz
Postie.zip

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

Postie.tar.gz
Postie.zip

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

    rotate:90

    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

1032 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:

    –==DNGR-1124986411==
    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.

    Thoughts?

    Thanks again,
    -Aaron

  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 (0.9.8.4) 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 ???

    help?

  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.
    http://pictures.sprintpcs.com/?mivt=BEDr4m2dkm807YoozkmU&shareName=MMS
    _frsthgl

    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.

    Cheers.

  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.

    Tomkun.

  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 0.9.8.4

    Problem:

    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
    –\n
    but with
    – \n

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

    Regards.

  17. Michael Goguhnour:

    Ratatosk:

    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 0.9.8.5, 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!

    Dig

  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):

    http://www.phpkitchen.com/index.php?/archives/698-Fix-Email-Line-Breaks.html

    http://www.phpbuilder.com/annotate/message.php3?id=1004028

    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.

    Anyone??

  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?

    Thanks
    XB90

  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. 0.9.8.5 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:

    Hi,

    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.

    Thanks

    Graeme

  32. Graeme:

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

    Hi,

    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.

    Thanks

    Graeme

  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?

    thanks
    steve

  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.

    Cheers,

    Tony

  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:

    Hi,
    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?

    greetings.
    markus

  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 0.9.9.2. 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…

    greetings.
    markus

  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:

    Karpa-Diem:
    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.

    greetings,
    asleif

  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!

    cheers!
    Andre’

  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:

    Bodddydyd

    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…

    cheers!
    Andre’

  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,
    Mark

  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:

    Hello,

    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);
    with:
    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'];
    HandleMessageEncoding($mimeDecodedEmail->headers["content-transfer-encoding"],
    $mimeDecodedEmail->ctype_parameters["charset"],
    $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);

    return(array($post_date,$post_date_gmt));
    }

    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…

    Thanks
    Clifton

  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:

    get_settings(’home’)

    to this:

    get_settings(’siteurl’)

  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?

    James

    http://www.sns.ias.edu/~jns/wp/

  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?

    Thanks

  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.

    Cheers.

  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;
    }
    else
    {
    $scale = $xscale;
    }

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

    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.

    /thad

  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=”#”

    to

    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?

    Thanks.

  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:

    Hi!

    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:

    http://www.souzouzone.jp/blog/archives/009531.html

    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:

    ———CUT———

  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;
    require(’wp-blog-header.php’);

    }

    do_action(’check_postie’);

    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 0.9.9.2 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 0.9.9.2. but it dosen\’t seem to send a notification everytime i post thru postie..

  127. sebastian:

    hi!

    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:

    Hey,
    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 0.9.9.2
    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:

    Gabi

    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) {
    $marime=DetermineImageSize($file);
    $marimex=$marime[0]+20;
    $marimey=$marime[1]+20;
    //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:
    http://www.rommb.org/modules/newbb/viewtopic.php?topic_id=49&post_id=172#forumpost172
    and the results can be seen at:
    http://www.rommb.org/modules/wordpress/?p=39

  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?

    Thanks

  148. Gabi:

    Nik,
    Seems that Postie has just been upgraded to 0.9.9.3 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 0.9.9.3 - 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 0.9.9.3 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:

    Jack,
    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?

    Pietro

  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.

    -Aaron

  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?

    Regards,
    Marc

  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 0.9.9.2 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,
    andré

  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:

    Hi,

    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?

    Thanks.

  170. TomatoMan:

    Tom:

    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:

    Hi,

    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.

    Rameez

  174. TomatoMan:

    I’ve written a fairly large patch for postie-functions in version 0.9.9.3.2 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:

    http://frobnosticate.com/?p=146

    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:

    http://frobnosticate.com/?p=147

    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.

    m

  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:
    !!!Heading
    and it would produce
    Heading
    or, especially useful, is
    *blah
    to:
    blah

    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:

    !!!Heading
    and it would produce
    Heading
    or, especially useful, is
    *blah
    to:
    blah

  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 0.9.9.3.2)
    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.

    http://frobnosticate.com/?page_id=177

    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 0.9.9.3.2, Wordpress 2.0.2)

    Any ideas?

    Cheers,
    Takku

  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..)

    Cheers,
    Takku

  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:

    http://frobnosticate.com/?page_id=177

    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

    N.

    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?
    thank’s

  209. Carsten:

    Hello,

    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?

    tia
    Ciao
    C.

  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?

    thanks,
    Franky

  212. Schavuit:

    I just got Postie 0.9.9.3.2 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 ?

    thanks

  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 0.9.9.3.2 from 0.9.9.2. 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. :-)

    Cheers,
    -Aaron

  223. Gianpiero:

    Hello

    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
    1

    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

    PNG JPG GIF
    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.

    to

    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.

    http://frobnosticate.com/?page_id=177

  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

    1
    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.

    Regards,

    Phil

  229. Hi:

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

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

    thanks

  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
    Changed:
    ‘post_title’ => $subject,
    To:
    ‘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 0.9.9.3.2 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:

    shipguy,
    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 0.9.9.3.2. 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.

    mindamp
    mindamp@gmail.com

  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 0.9.9.3.2! 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:

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

    Can anyone help with taht one???
    Thanks
    Andy

  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 0.9.9.3.2

    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/.

    Cheers!

  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?

    Thanks!
    Tim

  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,
    Chris.

    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:
    —–
    MAKE SURE POP IS TURNED ON IN SETTING AT Gmail

    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:

    “MAKE SURE POP IS TURNED ON IN SETTING AT Gmail”
    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 0.9.9.3.2

  256. David:

    Hello!

    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!!

    david

  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…
    >POP3-SSL
    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 0.9.9.3.2 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:
    56c56
    $subject,

    > ‘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:

    Hy,

    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:

    Hi!
    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…

    Regards,

    Gérald

  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…

    Gérald

  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:
    http://www.jimhodgson.com/2006/07/19/postie/

    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:

    sssasasas

  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?

    TIA,
    Chris

  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:

    Hi!
    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 ?
    Gérald

  280. Håkan Carlström:

    WordPress 2.0.3/Postie 0.9.9.3.2
    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"]) {
    to:
    if ($config["ALLOW_HTML_IN_SUBJECT"]) {

  281. Håkan Carlström:

    WordPress 2.0.3/Postie 0.9.9.3.2

    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 0.9.9.3.2

    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.
    return();
    didnt make it.
    I tried
    return true;
    and it worked.

    fyi

  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,
    Steve

  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:

    Hi

    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…

    “Tom:

    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:

    Hi,

    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
    1

    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.

    Creag

  299. Matthias Jell:

    I use postie 0.9.9.3.2
    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
    ——————————————————————->>
    0){
    //$data = POP3::pRetr($conn, 1); //

    check it out
    jahid h khan
    dhaka, bangladesh
    011-99443456

  304. jahid h khan:

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

    or

    http://www.xpertmailer.com/forum/viewtopic.php?t=47

    check it out
    jahid h khan
    dhaka, bangladesh
    011-99443456

  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 0.9.9.3.2

    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:

    Hi,

    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: 0.9.9.3.2
    Wordpress: 2.0.3

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

    Thanks,
    Amit.

  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! :)

    Thanks!

  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:

    Hi

    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.

    J;-)

  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”;
    exit;
    endif;

    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 127.0.0.1 as the mail server. That traffic is assumed to be OK without encryption because it never traveled across the network.

  319. Roy Wasse:

    @raafman
    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

    fix
    added
    $subject = mysql_real_escape_string($subject);

    to postie-functions.php

    context:
    $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,

    thanks

  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:

    Hi

    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)

    J;-)

  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?

    Thanks!
    Josh

  326. Mike:

    Hi,
    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
    Mike

  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)

    Thanks
    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:

    http://www.bomega.com/2006/09/20/using-my-new-blackberry-to-blog/

    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
    thanks
    -p

  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:

    Hi,

    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.
    ndrea

  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?

    note:
    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:

    http://groups.google.com/group/hosted-misc/browse_thread/thread/76bc7e612ebecaee/3d2da94c91329908?#3d2da94c91329908

  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?

    Thanks.

  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?
    Thanks

  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 0.9.9.3.2.

    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!

    Congratulations!

  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:
    http://sammy.web.id/3gp_mail.txt

    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.

    http://www.yinsochen.com/blog/2006/12/08/postie-sql-injection/

  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:
    http://johannes.jarolim.com/yapb

    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,

    Johannes

  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:

    jim:

    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:

    http://www.jeff-hopkins.com/JeffHopkinsPostieTest.rtf

    POSTIE: 0.9.9.3.2
    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?

    thanks

  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,

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

    -g

  371. Twaize:

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

    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??

    Thanks!

  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.

    Salvador

  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 ..

    postie_test.php
    get_mail.php and
    config_form.php

    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/
    extension=imap.so

    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:

    “Warning!

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

  385. Michael Goodson:

    I have been using Postie (0.9.9.3.2) 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:

    Warning!

    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:

    Warning!
    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.

    Thanks!

    Tony

  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:

    “Warning!
    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:

    Hi,
    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!

    Regards
    Mike

  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-0.9.9.3.2 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!

    -Ken

  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:

    Hello,
    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 0.9.9.3.2
    Thanks for help
    Karin

  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?

    Thanks,
    Brian

  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) ).

    postie-functions.php

    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
    http://www.ietf.org/rfc/rfc1738.txt
    “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 > )

    Examples:
    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 0.9.9.3.2 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);

    por

    $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

    “Warning!

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

    I’m running 2.1…

    Has anyone seen this?

    Chris.

  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
    http://ragingliberal.com/?p=784

  416. Drumbo:

    Hi,

    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?

    thanks

  417. Mel:

    need more info on how to set it up.

  418. AndyK:

    Using postie 0.9.9.3.2 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
    AndyK

  419. wellness:

    I cant run postie under wordpress 2.1 !!!
    whan i whant to config postie it tell me

    “Warning!
    Postie only works on on Word Press version 2.0 and above”
    Please help

  420. silfver:

    hi!

    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.

    Cheers!

  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?

    Tx.

  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 9.9.3.2 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,
    Roel

  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…

    http://us3.php.net/manual/en/ini.core.php#ini.sect.file-uploads

  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
    “Warning!
    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.
    Jono

  442. erics:

    Jonathan,

    Your fix does nothing for me, still getting the infamous message:

    #!/usr/bin/php -q

    MAKE SURE POP IS TURNED ON IN SETTING AT Gmail

    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?

    Cheers,

    Tobias

  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 ?

    –Jon

  451. erics:

    Johano,

    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:

    http://pastebin.ca/384822

    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.

    –Jon

  456. alex:

    here :
    http://pastebin.ca/384834

    This is the hole code so just copy and paste the hole thing ;)

  457. Jonano:

    ok now I see these problems, lol, :

    http://pastebin.ca/384843

    normal problems or ?

    –Jon

  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.

    http://wordpress.org/support/topic/71314?replies=6#post-528908

    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:

    wp_clear_scheduled_hook(’check-postie’);

    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:

    Thanks about nice and useful - BUT IT REALLY DOESN’T GIVE A HINT THAT IT WILL MESS UP THE SELECTED INBOX!!!!

  465. Michael:

    Hi there!
    thx for the great plugin!!!

    BUT:
    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!):

    Return-Path:
    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) [168.144.250.211]
    by mx0.gmx.net (mx019) with SMTP; 10 Mar 2007 14:35:56 +0100
    Received: from [168.144.108.32] (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
    Message-ID:
    X-Priority: 3
    Reply-To: DD2044@sailmail.com
    X-Originating-IP: 84.135.99.129
    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;
    boundary=”—-=_NextPart_129261441010769133549471″
    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)

    Return-Path:
    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) [12.168.6.30]
    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
    Message-ID:
    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 ?

    –Jon

  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.

    Thanks

  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.

    Thanks!
    Matt

  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:

    Hi,
    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:

    Rebecca,

    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:

    http://www.economysizegeek.com/wp-mail/#comment-42066

    Marc

  478. Rebecca:

    Marc,
    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

    Phil

  481. Phil:

    ps..

    im using dagon design form mailer

    http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/

  482. Alex Wait:

    Argh.


    Photos Directory Exists Yes
    Files Directory Exists Yes
    Photos Directory Writable No
    Files Directory Writable No

    and


    #!/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…

    http://bugs.php.net/bug.php?id=29036
    http://bugs.php.net/bug.php?id=36496

    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.
    Thanks.

  486. erics:

    Mukunda,

    You need to extend the memory limit in the php.ini file. This is descibed above somewhere in these comments. ;-)

  487. Rich:

    @Mike:

    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!

    Help!

  495. Mukunda:

    Erics
    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.
    Thanks

  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.

    Thanks!
    Matt

  498. Keith Ford:

    To place image at left and wrap text, try this:

    Go into Admin
    Presentation
    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:
    http://www.economysizegeek.com/wp-mail/#comment-41996

    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
    Presentation
    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:

    Hi,
    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 100×100px squares with ‘overlay hidden’ style definition. Therefore 120×160px images sent from my cell phone becomes enlarged to 136×181px.

  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:

    @Andre:

    Refer to the earlier comment left by Zeek:

    http://www.economysizegeek.com/wp-mail/#comment-1737

  509. Mark:

    @erics
    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 :)
    -lite

  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
    like
    music_Wallpaper.jpg
    to
    20070407-010828-1.jpg
    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:

    Hello,

    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?

    Thanks!

  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. ;-)
    -lite.

  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

    1210,1222d1209

  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) {
    return($content);
    }
    $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 @.

    -Chris

  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….

    -Chris

  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:

    Hi!
    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????

    Renaud

  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?

    Thanks

  539. Daniele:

    Great plugin.
    Jay have made an hack for UTW. I use Simple Tagging plugin. Anyone have made an hack for this plugin ?
    Thanks!

  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);
    if(substr($address,-$cont,$cont)==$mydress){
    return true;
    }
    }
    //end of change
    return(in_array($address,$config["AUTHORIZED_ADDRESSES"]));
    }
    -

    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
    clift@publicus.net

    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?

    -David

  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:

    Greetings!
    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:
    http://www.afoto.com/wordpress

  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:

    hi,
    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?
    fabs

  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

    and


    #!/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 -
    plugins/postie/
    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)) {

    Best,
    Chris.

  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) {
    return($max_width/$width);
    }
    else if (!empty($max_height) && $height) {
    return($max_height/$height);
    }
    return(1);
    }

  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.

    ———
    Return-path:
    Envelope-to: tnwblog@patrizianorellibachelet.com
    Delivery-date: Sun, 08 Jul 2007 10:44:43 -0600
    Received: from hoboe1bl1.telenet-ops.be ([195.130.137.72])
    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 [127.0.0.1])
    by hoboe1bl1.telenet-ops.be (Postfix) with SMTP id 48749D4034
    for ; Sun, 8 Jul 2007 18:44:41 +0200 (CEST)
    Received: from [213.118.188.102] (dD576BC66.access.telenet.be [213.118.188.102])
    by hoboe1bl1.telenet-ops.be (Postfix) with ESMTP id 3A49AD401E
    for ; Sun, 8 Jul 2007 18:44:41 +0200 (CEST)
    Message-ID:
    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.

    Thanks.

  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:

    Hi,

    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
    Andy

  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:
    http://www.bradbury.biz/wordpress/wp-photos/imgsetpb.jpg

    and the message settings at:
    http://www.bradbury.biz/wordpress/wp-photos/msgsetpb.jpg

    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:

    Localisation
    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
    http://www.familjencarlstrom.se/WordPress/2007/07/25/sprakfiler-till-postie-111/lang/en/

  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 converttou