email post problem solved (sort of)

Tags:

WordPress 1.5 has a nice email-to-blog feature, but it does not work out  of the box. I set everything up according to the instruction, but got  the following error message:

"Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant server" (try  Google it)

Found the following link:  http://wordpress.org/support/topic.php?id=3D5436

Support Maven carthik (http://blog.carthik.net/) suggests:

Try changing the username from example@example.com to just example if you see what I mean. For me, it works on one mailserver, and on the other, it gives me the  error described here. I think when a script tries to access the mailserver and the mailserver  doesn’t like it/something’s wrong, this error is generated, but I am not  absolutely sure

Posted: 2004-05-16 23:47:48 #

And then Member digory suggested the following hack:

To fix, edit wp-includes/class-pop3.php, and change this line:

if($this->RFC1939) {
to this: if(!$this->RFC1939) {
(add exclamation point).
Posted: 2004-06-28 16:24:01 #

It took both of these to work in my case. And my first post was a  disaster — I used HTML in my email with pictures, which was encoded in  BASE64. Everything was on the blog verbatum. And I have trouble deleting  it. Let’s see if this one works.

[Update: Plain text is also problematic. First, my email program does hard linebreaks/word wrapping. It adds "=" at the end of a line, which are shown in the blog. Need to filter these out. But secondly, plain text is not compatable with the WYGIWYS editor plug in I am using. Until these problems are fixed (by whom? not me!), it’s not a practicle route, unfortunately.]

Another questions — I don’t know whether WordPress automatically checks  the mailer account, and how often it does. I had to manually refresh  wp-mail.php

Leave a Reply

If the above Image does not contain text, use this secure code: QohvOQWp