2 sam2kb Apr 01, 2011 17:43

I made changes getmail.php.
I get this error
Connecting and authenticating to mail server.
✔ Success
Reading messages from server.
➜ 1 messages
Message #1:
✔ MIME message decoding successful.
Subject: municipios: blog by mail
Could not parse date header!
Deleted 0 processed message(s) from inbox
where I put the date: in the email subject or body?
thanks
Miguel Filomeno
That's something different and unrelated to the previous error
Thank you for helping to solve ..
Can continue to support with this error?
Miguel De Gregorio
The date in email is in wrong format. It has to be in format "20 Mar 2002 20:32:37"
What is the exact date string was in your email (copy from source) ?
The date in email (Outlook) is Tue, April 5, 2011 12:52:13
If I use (H o r d e) now accepts date format, but getting this new error:
Connecting and authenticating to mail server.
✔ Success
Reading messages from server.
➜ 1 messages
Message #1:
✔ MIME message decoding successful.
Subject: municipios:prueba5
Plain-text message part saved as /tmp/b2evo1154202299/1
Message content: sgadfsgasfhg dgfdgasfg
Authenticating user: coordinador
✔ Success.
Category ID: 10
Blog ID: 2
Checking permissions for user «coordinador» to post to Blog #2
✔ Pass.
Fatal error: Call to undefined method Messages::has_errors() in /home/user/public_html/cron/getmail.php on line 680
grateful for their help
Miguel De Gregorio
Use this revision instead http://evocms.cvs.sourceforge.net/viewvc/evocms/b2evolution/blogs/cron/getmail.php?revision=1.44.2.2&content-type=text%2Fplain&pathrev=v-4-0
Currently you're using the file from development branch
grateful for their help ..
published post in plain text and images with success ..
a question:
according to manual. http://manual.b2evolution.net/Email
To: address@domain.com (You Set it in the config file)
Subject: blog: the post's title (you CAN change 'blog:'in the config file)
Body:
login: password (example: Jack: Starwars)
The content of the post, blah blah blah.
More blah blah.
but in version [4.0.5] can not find where to change Blog ID. thanks again
Miguel De Gregorio
The manual is outdated, you don't need to specify a blog.
All you need to do is define a default category in Blog Settings > Features > Blog by email. You can also override category in each email using this tag in email body (or subject ?).
<category>33</category>
The tag above defines category ID 33 as main category for new post.
By the way, you can define post title in body too with
<title>Post title</title>
Is it possible to post into a different blog_ID ?
Is there a list of tags to use for blogging by email?
You are not limited to any particular blog, just pick a category from another blog. See the above post.
Is there a list of tags to use for blogging by email?
Those two are probably the only tags you can use
Fixed in CVS, thanks.
Just edit the following code in /inc/cron/getmail.php line 690