Recent Topics

1 Sep 16, 2011 22:19    

Trying to set up post by email. Got all the parameters set up in global settings. Did the tests and it works. php_imap extension is installed. Questions. How do you set up the taking the post from email to b2e and if I have multiple blogs how do you know where the post is going to end up?

3 Sep 21, 2011 01:40

I tried that and nothing seems to be happening. Do I have to modify any files like the cron_exec.php ?

4 Sep 21, 2011 01:59

You need to call /cron/getmail.php instead of /cron/cron_exec.php in this particular case. In future versions we'll fix this flaw.

5 Sep 21, 2011 07:02

I was wondering because I got a
/bin/sh: /hsphere/local/home/c258800/anucreation.com/blog/blogs/cron/cron_exec.php: Permission denied error.
I have changed to getmail.php and see what happens

6 Sep 21, 2011 08:46

Don't use /bin/sh, it needs to be /usr/bin/php or similar.
You can also try

wget -O /dev/null http://whatever.tld/cron/cron_exec.php

7 Sep 21, 2011 15:31

I didn't use /bin/sh, I was just using /hsphere... The server added /bin/sh to the error message. I changed it to getmail.php and now am getting a 500 Internal Server Error

8 Sep 21, 2011 15:58

also I tried running getmail.php from the url and nothing happened. It didn't post the email post.

9 Sep 21, 2011 20:23

Did you try to connect an post messages from backoffice first? There are links/buttons to test the feature.

also I tried running getmail.php from the url and nothing happened

It's normal, there will be no output. Try adding ?test=1 or ?test=2 or ?test=3 to the URL, you'll see some debug messages.

10 Sep 22, 2011 09:48

I tried to add all three test on the url and nothing still happened ( it just redirected back to the default blog).
When I tried back office

the connection test: successful.

The message test: the Authentication failed for user.

The verbose test: Wrong login or password. First line of text in email must be in the format "username:password".

So my first line is wrong. I put this as the first line

blog2163@anucreation.com:password

there is no spaces or punctuation in the line at all.

What am I doing wrong.

11 Sep 22, 2011 19:50

"username:password" are your b2evo login and password

You setup mail server config in backoffice.

12 Sep 22, 2011 21:02

now authentication works but am getting Fatal error: Class 'Item' not found in /hsphere/local/home/c258800/anucreation.com/blog/blogs/cron/getmail.php on line 691

14 Sep 22, 2011 22:17

Yeah, the whole feature is bloated :(
We are going to completely rewrite it in the future b2evo version.

15 Sep 22, 2011 23:06

working beautifully. Thanks for the help

16 Oct 10, 2011 19:44

now when I try to run it in crontab I now get a

Status: 500 Internal Server Error
X-Powered-By: PHP/5.2.17
Content-type: text/html

My server administrator saids :

/blog/cron/getmail.php on line 59
That is cause by issues in cronjob with include function.
On your 59 line - param( 'test', 'integer', 0 );
You should modify your code to run under cron and test it again.

17 Oct 10, 2011 19:52

Don't add "test=xx" param when you run the file in cron mode.

You may need to wait for b2evo v4.2 if it still not working for you.

18 Oct 10, 2011 23:40

not using any parameters in cron just /cron/getmail.php.

19 Oct 27, 2011 23:50

was anything done with the getmail.php in 4.1.1

20 Oct 27, 2011 23:55

Versions 4.1.x will not have this feature added. It's not just an updated getmail.php, there were some critical changes that cannot get into the stable version before they are fully tested.

Here's a log from dev branch

Post by Email: (@sam2kb)
- The standalone file getmail.php converted into internal scheduled job, you don't need to call it directly any more.
- Can create posts from HTML messages (rich text is not supported at the moment).
- Added support of inline images with relative to email URLs.
- Added an option to attach images to posts instead of inserting them with <img> tags.
- It's now possible to define main and extra categories for your post in the email.


Form is loading...