Content by email

I want to add a feature to an application to allow users to add content
to their account via email, sort of like the “Blog by Email” feature in
wordpress. Has anyone done this, who would be willing to point me in the
right direction?

Ruby has a built-in POP3 and IMAP library:
http://www.rubycentral.com/book/lib_network.html#Net::POP.new
http://rubymanual.org/class/Net%3A%3APOP3
http://rubymanual.org/class/Net%3A%3AIMAP

You could have them e-mail a “secret” e-mail address with a special
subject line that indicates it’s a blog entry (or to indicate
category…whatever you want). Use those libraries to fetch the mail
with a Ruby script, parse the message, and post the entry.

–Jeremy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs