T
T
tony_vi2012-04-27 00:20:47
Ruby on Rails
tony_vi, 2012-04-27 00:20:47

Rails Or PHP: Email Handling?

It is necessary to receive and process mail in a web application. I am going to do the project on rails, but I can not find an adequate solution for this. It can be done in php, but the lack of trendy stuff like active record, clear MVC, short rails tags for html, etc. is annoying. I'm all swept away, I love rails and don't want to write a bunch of php code. Maybe someone knows solutions for Rails or how to turn php into a language that is pleasant for self-esteem?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
T
tony_vi, 2012-04-27
@tony_vi

Most suitable titanous/Mailman and mikel/Mail gems

B
Boris Syomov, 2012-04-27
@kotomyava

> how to turn php into a language that is pleasant for pride?
Take MVC framework in php. And get both AR and MVC, and some kind of template engine if you want short tags.
And then you compare Rails and PHP, i.e. framework and language, and wonder why PHP doesn't have AR. =)
Pure Ruby doesn't have what you listed either...
Besides, I'm not a pro in Ruby, but somehow I don't believe that there are no gems for working with mail.

J
jj_killer, 2012-04-27
@jj_killer

Practice has shown that if such questions arise, write in Ruby or PHP, then write in PHP.

T
Tbird, 2012-04-27
@Tbird

God! Turn, for starters, Russian into "pleasant for pride."
In the case here: guides.rubyonrails.org/action_mailer_basics.html#receiving-emails - everything is already in the standard package

T
tony_vi, 2012-04-27
@tony_vi

no no no... I'm not comparing. I'm asking for advice! And specific.

B
Boris Syomov, 2012-04-27
@kotomyava

www.ruby-doc.org/stdlib-1.9.3/libdoc/net/imap/rdoc/index.html
Isn't that what you need to be completely happy using Ruby?
Or do you want to receive directly in the application via smtp?

G
Georgy Khromchenko, 2012-04-27
@Mox

Is this what you need github.com/look/fetcher ?

T
Tobur, 2012-04-27
@Tobur

in symfony2 you can find everything and even more, mvc, bundles, services, twig, doctrine2 - all this turns puff into a miracle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question