Receiving email w/ rails... configuration on multiple hosts

Okay, so I have a weblogging app (SimpleLog, I
want to add a feature where the user can email new posts to the app and
it will post them.

The problem is, many people use this in many different environments,
setups, hosts, etc.

Does anyone know of a somewhat common way to get this feature working? I
don’t mind if only certain users can do this, but I would prefer to make
it as easy as is possible for people to set up.

Any help is appreciated.


i hate to bump. i don’t want to bump. but i need to, because i really
need help with this issue…

don’t hate me!

well you could write a program to fetch from a pop3 or imap account and
let the user enter in the server details and username and password for
the email account. The problem is that your program will need to run
outside of the rails environment - or at least be activated from
outside, because you probably want it to poll the account rather than
just check it when someone goes on the website.

Ruby has libraries Net::IMAP and Net::POP, which provide all the
commands for retriving from accounts, but obviously you still need to
write an admin console so the user can tell the application where to get
things from.

Garrett Murray wrote:

Any help is appreciated.


Jeremy W.
Serval Systems Ltd.
Tel: 01342 331940
Fax: 01342 331950