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
This is just a guess but I''d imagine you want to look for some Ruby library that can deal with POP. Peter On 4/7/06, Chinmay Kulkarni <f2005388@bits-pilani.ac.in> 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 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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 Kulkarni 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-- Posted via http://www.ruby-forum.com/.
Hi! First off, thanks all for the prompt replies. Second: When I said send mail, I meant send/receive: as Steve rightly points out, POP doesn''t send mail. But then, I do need to interface with a POP server.... so any idea how I might do this? @Steve: yeah, at first glance, it does seem like taking a generic webmail app and repackaging it. Actually, what I''m trying to do is not exactly that... the actual project is building a groupware/ project management app that does not require the use of a central server. (I''m at a University that doesn''t allow studetns to run public servers. So this is the second best thing). I''m using email as the comm. platform between the peers. Hope that answers the question you raised. Essentially then, the question remains: how do I talk to a POP/SMTP server through Rails? Thanks in advance for any help. Chinmay> Subject: > [Rails] Re: Sending email on Windows > From: > Steve Koppelman <hatlessnyc@yahoo.com> > Date: > Sat, 8 Apr 2006 08:13:07 +0200 > To: > rails@lists.rubyonrails.org > > To: > rails@lists.rubyonrails.org > > > 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 Kulkarni 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 > > > > ---------------------------------------------------------------------- > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-- Yours, Chinmay
On 4/8/06, Chinmay Kulkarni <f2005388@bits-pilani.ac.in> wrote:> Hi! > > First off, thanks all for the prompt replies. > Second: When I said send mail, I meant send/receive: as Steve rightly > points out, POP doesn''t send mail. But then, I do need to interface > with a POP server.... so any idea how I might do this?I think you will have to use Ruby to do this. I doubt rails has something extra built for this job. http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html Peter
SMTP on Windows just needs to use an SMTP server. Your clients will have to provide one so make a configurations table sothey can set it. POP can be done with ruby''s net/pop library and it''s pretty simple. On 4/8/06, Peter Michaux <petermichaux@gmail.com> wrote:> > On 4/8/06, Chinmay Kulkarni <f2005388@bits-pilani.ac.in> wrote: > > Hi! > > > > First off, thanks all for the prompt replies. > > Second: When I said send mail, I meant send/receive: as Steve rightly > > points out, POP doesn''t send mail. But then, I do need to interface > > with a POP server.... so any idea how I might do this? > > I think you will have to use Ruby to do this. I doubt rails has > something extra built for this job. > > http://www.ruby-doc.org/stdlib/libdoc/net/pop/rdoc/classes/Net/POP3.html > > Peter > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060408/a2d73ef2/attachment.html