Thanks Owen. I finally got it to work, basically in the imap field, the whole expression shouldn't end with a /, as it does in the email that I found originally. To cap this one off I think it would be good to have a description of how to get it to work and how it works as part of the help file/question mark item for the plugin. Dunno how to put that into the plugin (will find out eventually) but here's the text if someone would like to update the plugin to allow others to get an answer straight away.
One final point, do we know how often the plugin checks the email server for a new email? Is this something that can be modified? Obviously if anyone wants to further edit to make it clearer this is just meant to be something to make the process easier: How the plugin works: Habari needs to connect to some email account to read the email that comes into it so that it can turn those emails into posts. You provide login details for Habari to log in to that account The title of the email is used as the title of the post. The content of the email is used as the content of the post. Configuration: *Mailbox (**imap_open* <http://php.net/imap_open>* format):** * There are several ways in which you can set up a mailbox (the documents for this can be found here: http://php.net/manual/en/function.imap-open.php). If you are planning on using a gmail account, the field can be filled as follows, more information can be found here ( http://mail.google.com/support/bin/answer.py?answer=78799): { imap.gmail.com:993/imap/ssl} *Username & Password:* You should include the username and password of the actual mailbox. *Senders to accept (messages sent by any others will be discarded):* This field allows you to specify which emails Habari should use to post. Multiple emails are separated with a space. *CSS Class for attached images:* The plugin wraps any attached images with this with a specific CSS class, which allows images to be styled differently. *Save posts as:* Choose whether or not to publish posts or keep them as drafts. ----------------------------------------- Khaled Abou Alfa www.brokenkode.com On Sat, Nov 13, 2010 at 5:47 PM, Owen Winkler <[email protected]> wrote: > On 11/13/2010 7:02 AM, Khaled Abou Alfa wrote: > >> So i've got a question regarding the PBEM plugin. How the hell do you >> configure the damn thing? Read the original thread: >> http://www.mail-archive.com/[email protected]/msg02410.html >> >> But I'm not sure how the fields are meant to be configured. There are >> four fields: >> >> *Mailbox (imap_open <http://php.net/imap_open> format). * >> >> Do I insert the following exactly as it's written (including the curly >> brackets): {imap.gmail.com:993/imap/ssl/ >> <http://imap.gmail.com:993/imap/ssl/>} >> > > The value here looks like a php imap_open connect string. The docs for > this function are here: > > http://php.net/manual/en/function.imap-open.php > > And give a general description of what is needed. The string you've posted > is generally correct for a GMail account. > > What is going on here, just to recap, is that Habari needs to connect to > some email account to read the email that comes into it so that it can turn > those emails into posts. You provide login details for Habari to log in to > that account, and it does the work. That said... > > *Username and Password* >> >> Just to confirm this is the blog username and password. >> > > No. This is the email account username and password. > > As for the rest of your questions (specifically those about labels), > someone else might be able to answer them better. But hopefully this gets > you going in the right direction. > > Owen > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-users -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
