Any idea about posting in blogs via email in durpal cms

Discussion in 'Blogging' started by VishalVasani, Sep 3, 2007.

  1. #1
    Hello,

    I am using durpal CMS & I want post blogs in durpal via email. Any one has any idea about this....
     
    VishalVasani, Sep 3, 2007 IP
  2. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #2
    Yah - but it's not easy:

    Step 1: Turn on the mailhandler module
    Admin -> Modules ... Click on the module

    Step 2: Set up an email account to which you will send email. This depends
    on what you are using for a mail hosting service.
    I use cpanel, click on Mail , click on Manage/Add/Remove accounts.. Click on
    Add accounts and set up the email address and the password. For my system,
    the email can be retrieved as POP3. Again, this depends on the mail hosting
    service you are using.

    Step 3: Configure the mailhandler
    Admin -> Mailhandler
    Click on Add Mailbox, fill in the appropriate fields.

    For email address, use the email address you set up in step 2
    e.g.

    (I have not used the Second email address for my purposes)

    In most cases, using INBOX and POP3 for the folder and Mailbox settings
    should work, again, it depends on your mail service.

    Mailbox domain
    Should be the domain that you are using. e.g. example.com

    Mailbox port
    Again, the default of 110 should work, depending on your hosting service.

    Mailbox username and password: Use the userid and password from Step 2, or
    whatever has been assigned for the email address.

    Mime preference: I always simply use HTML. You're choice. Not a biggie.

    Security: I leave this disabled. I believe there is enough security with
    the mail handler as it is. If you do enable it be sure not to use the HTML
    mime preference.

    Send error replies: I like to enable this and leave it enabled, unless I am
    tying somehow to a mailing list. Even if I am doing that, I would initially
    have send error replies on until I am sure things are doing what I want.

    From header: Again, for personal mail handling, I leave this blank. As
    noted, you may want to use Sender for mailing lists.

    Default commands:
    This is where I end up doing most of my tweaking.
    Currently, as an example, I use
    type: page
    taxonomy: [mail]
    promote: 1
    format: 3

    type: page causes the posts to be page entries. You can also use blog,
    story, forum, etc.
    taxonomy: [mail] I have a taxonomy term called mail for all posts coming
    in via email. This can be omitted if you don't want to place the entries
    into a taxonomy category
    promote: 1 For the site I'm using, I want email entries to be promoted to
    the front page. If you don't want them promoted to the front page, omit
    this line
    format: 3 This is my latest tweak to get it so the posts are processed as
    Full HTML instead of filtered HTML. If you are going to receive HTML email,
    you really should have this on.

    Signature Separator: I leave this blank. This is probably most useful for
    mail coming from a mailing list that appends some signature stuff, or if you
    have your own signature file.

    Delete Messages after they are processed: Yup. I do that. I don't want
    the mail box filling up with messages that have already been processed.

    cron processing: I generally leave this on.

    Once you have set up an account, send an email to the account.

    Step 4:
    Once you have the account set up, send an email to the account. Be sure to
    send it from an email address that has a userid on your site. Otherwise you
    will get a message something like:

    The e-mail address 'tester@example.com' may not create page items.

    You sent:

    From:
    ...

    Step 5:
    Testing the mail retrieval
    When the mail has been sent, go to
    Admin -> Mailhandler

    You should see the email address under the list. Click on 'retrieve' next
    to the email address. If everything is working properly, you should get a
    message something like:
    Mailhandler retrieve successful: 1 messages for

    You should then be able to go to
    Admin -> Content
    and find the message that you submitted.

    Assuming this is running properly, all you need to do is make sure that cron
    is running regularly and emails will be processed as they are received.

    I did not write this - it's taken from HERE
     
    Tearabite, Sep 3, 2007 IP
  3. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    HI Tearabite,

    Thanks for your updates i will try to configure as you have suggested....
     
    VishalVasani, Sep 4, 2007 IP