Sending email on Windows


#1

Hi!

I’m developing a different kind of Rails app. It’s an email client
*built on RoR *which users can download and use. It’ll look and feel
like a standard webapp, except that the server will be run locally
(maybe webbrick)… Basically, the idea is that:

* Web based apps are easier to upgrade, use etc.
* But people need to have their email and other stuff on the hard
  drive, so that it is easier to refer to, etc

The problem I’m facing is that I can’t find any libraries/resources to
send/receive email from POP in Rails
. The catch here is that the app is
meant to be /deployed/ on Windows, not just tested, and that I can’t
include any dependencies outside my app - so no sendmail equivalents
etc. (My plan is making it something like InstantRails, so users just
have to unzip and start using).

Any help is appreciated.


Yours,
Chinmay


#2

This is just a guess but I’d imagine you want to look for some Ruby
library that can deal with POP.

Peter


#3

POP doesn’t send mail. It retrieves it. SMTP sends it. ActionMailer can
handle all the sending. You’ll want the user to be able to configure the
application with their SMTP server info.

Not to discourage you or anything, but how is this different from taking
any of the dozens of free/open-source webmail apps that already exist
and packaging and preconfiguring it with a bundled webserver for use on
a local PC?

Chinmay K. wrote:

Hi!

I’m developing a different kind of Rails app. It’s an email client
*built on RoR *which users can download and use. It’ll look and feel
like a standard webapp, except that the server will be run locally
(maybe webbrick)… Basically, the idea is that:

* Web based apps are easier to upgrade, use etc.
* But people need to have their email and other stuff on the hard
  drive, so that it is easier to refer to, etc

The problem I’m facing is that I can’t find any libraries/resources to
send/receive email from POP in Rails
. The catch here is that the app is
meant to be /deployed/ on Windows, not just tested, and that I can’t
include any dependencies outside my app - so no sendmail equivalents
etc. (My plan is making it something like InstantRails, so users just
have to unzip and start using).

Any help is appreciated.


Yours,
Chinmay