• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Post Office - Moblogging for Movable Type

Post Office is a plugin for Movable Type that allows users to post to their blog via email. It works by connecting Movable Type to an existing email account, like GMail or any POP or IMAP compliant mailbox, and periodically scanning for messages to post. Each user can be given a unique email address to which to post to uniquely identify them and the blog they want to post to when sending an email.

Setup

Before you begin be sure you have the following prerequisites and software installed:

  • Mail::IMAPClient (for IMAP)
  • Mail::POP3Client (for POP)
  • Email::Address
  • Email::MIME
  • IO::Socket::SSL

Then install the plugin per its README.txt file. Finally configure the plugin via Post Office's plugin settings screen. When the plugin is configured, and if the current user has setup an API Password, then a link will be surfaced at the bottom of the Write Entry screen. The link contains the email address to which you should send your messages.

Requirements

Mail::IMAPClient (for IMAP), Mail::POP3Client (for POP). Email::Address, Email::MIME

16 Comments

I have it installed and once I got the proper perl modules installed it quit throwing errors but it's not doing anything and the email link that shows under the create entry screen is incorrect.

Any way to troubleshoot this?

Arindam Ganguly

Arindam Ganguly

is the email the one you setup for this purpose? is it pop3 compliant? gmail provides this.

if it is..the email in the entry page should be the same with a +number
in it. the number is the id of your blog. so the plugin knows where to post to

If I set up a mailbox called mailboxname, and the email in the entry page is mailboxname+1, the mailserver is going to reject mail to mailboxname+1@example.com.

Add requirement:

Your e-mail server MUST ignore the +n added to the local-part.

To verify, set up an email address (test@example.com). Send an e-mail (test+1@example.com). If the e-mail is successfully received (at test@example.com), your e-mail server is capable of working with this plugin.

A few things to note:

1. The plus-style email addressing is only required if you have multiple blogs running off a single installation
2. Not all service providers accept plus-style email addressing. Gmail does. Use gmail.
3. When configuring PO, for "host" enter pop.gmail.com, and tick ON SSL required.

Thanks for the tip Gautam Patel!

There’s plenty of unofficial documentation at the Movable Type Wiki.

I've installed PostOffice and the additional software but can't get the Settings option on the Plugin configuration page, only Info.

Help please!

We have installed the PostOffice plugin and have our default post status set to draft but it still automatically posts. Can anyone help?

Has anyone made this go with the Enterprise version? I'm trying everything using a pop3 Gmail account, but no posts ever show up. I've tried using the "+" syntax, not using it, setting the permission on the top-level plugin screen and the blog-level plugin screen.

The docs say it runs a process "periodically." What's the period? Can it be modified? And what is the process? I don't see it anywhere in the crontabs.

I've got to say, too, that as usual the documentation is sketchy, confusing and incomplete. For example, there's nothing called an "API Key" in my enterprise version. I have a blog ID number and a Web Services Password, nothing else. Can't we at least have some consistent nomenclature to work against?

is there anyone who has gotten this plugin to work on 4.21?

are there any other mobile blogging with photo possibilities out there? i wished that this plugin would work but i cannot find anyone who has been able with it's documentation (very sketchy) to make it work.

any other free options out there?

Hello,

if I have correctly understood the documentation of the postOffice plug
then it doesnt supported to filter tags out of a email.

but how to solve this problem now, is maybe a ready solution existing or not? certainly i cant find anything.

can someone give me please a little bit information?

thanx!

Man, the move to github has been a complete trainwreck for the people who actually want to use these plugins. Is it anyone's job to make sure the links on these plugin pages (1) actually work and (2) go to the latest version of these plugins? The download link goes to PostOffice version 1.0, but version 1.1 has been on github since March! :(

The really sad news is that I only realized that after I downloaded 1.0 here and hacked on it for two days. I was going to make a patch, but now I don't have time to port in the 1.1 stuff and make a patch, so forget it. You can download what I did here and patch it yourself:

http://acatysmoof.com/posting/problems/mtos/PostOffice.zip

The only file I changed from 1.0 is the PostOffice.pm module. Here is what I added/fixed:

- detect html or text email format and set the line breaks for the entry automatically. This makes text emails appear correctly, and html emails appear correctly without having to change any blog settings.

- process message parts in a single loop (instead of two loops as in 1.1) while still replacing cid and loc links with the correct asset. The structure allows for future modifications, such as the automatic embedding of youtube videos, quicktime movies, audio files, etc.

- auto-rotate email images based on EXIF tags. This allows iphone users to mail images to their blog and have them appear correctly. The EXIF tag is updated after rotation so that Mobile Safari and some other browsers do not rotate the image again based on the Orientation tag.

- deposit asset files in dated folders like 2010/10/17/asset.jpg instead of placing them all at the site root level of the blog and making one hell of a mess.

Tested with iPhone 4, GMail, and OpenWebMail. HTML and text formats. MTOS 4.23.

A link to github anywhere on this page would be helpful as well.

I should also mention that the parts processing in my version is recursive to any depth, like an email message. This ensures more accurate re-creation of the email as a post entry.

Does this plugin work with MT 5.04?
Why not add an option to check the mail box manually so that we can make sure whether it works or not?

Leave a comment

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.