Forum: Ruby on Rails ActionMailer

25e32b05b6d799b0f1b5685c938b4094?d=identicon&s=25 Bhasker Harihara (Guest)
on 2011-02-05 04:34
(Received via mailing list)
Hi,

I am planning to write an internal messaging system for my users.
Should I
be using Actionmailer ?  I am not interested in using any plugin or 3rd
party sw as I want to learn some ror.

Is actionmailer used mainly for feedback and sending general emails.

I am a new to rails so any suggestions and ideas are welcome.

Warm Regards
A47e0a6beeb9d048ff054fc1c3a97418?d=identicon&s=25 Walter Davis (walterdavis)
on 2011-02-05 17:19
(Received via mailing list)
On Feb 4, 2011, at 10:32 PM, Bhasker Harihara wrote:

> Hi,
>
> I am planning to write an internal messaging system for my users.
> Should I be using Actionmailer ?  I am not interested in using any
> plugin or 3rd party sw as I want to learn some ror.
>
> Is actionmailer used mainly for feedback and sending general emails.
>
> I am a new to rails so any suggestions and ideas are welcome.

ActionMailer is a class which encapsulates the creation of mail
messages (in various formats) from ActiveModel instances using
ActionView templates and delivering those messages. It is roughly
analogous to ActionController in a Web application, but specialized
around the e-mail format. It is a very general purpose tool, suitable
for use in building more specialized systems as you need.

Walter
25e32b05b6d799b0f1b5685c938b4094?d=identicon&s=25 Bhasker Harihara (Guest)
on 2011-02-05 17:51
(Received via mailing list)
Hi Walter,

Thanks for your input.  Since I want a messaging system which will not
send
messages outside, will it be helpful to use ActionMailer or just write
my
own set of classes.

Regards
C2b69b81423cc41257b4afa40d860a09?d=identicon&s=25 djangst (Guest)
on 2011-02-05 18:23
(Received via mailing list)
If the messages are to remain inside your application and this is a
learning exercise, then I suggest writing your own system.

If you later need to send messages externally via SMTP (a 'copy me'
function, for example), then you could use ActionMailer with your
existing system.

On Feb 5, 11:49am, Bhasker Harihara <harihara.bhas...@gmail.com>
A47e0a6beeb9d048ff054fc1c3a97418?d=identicon&s=25 Walter Davis (walterdavis)
on 2011-02-05 18:32
(Received via mailing list)
On Feb 5, 2011, at 11:49 AM, Bhasker Harihara wrote:

> Hi Walter,
>
> Thanks for your input.  Since I want a messaging system which will
> not send messages outside, will it be helpful to use ActionMailer or
> just write my own set of classes.

If you're not actually delivering e-mail using the Internet Mail
protocols, then you don't need to use ActionMailer. Are you referring
to a "private message" system on a Web site, where one member can send
a note to another member? That's not mail, and the only interaction
such a system would have with actual Cap-M-Mail would be if you design
in a "ping" system that sends an alert through mail to the recipient,
alerting them to a new message. And for that, yes, you would use
ActionMailer to compose and deliver the ping message.

Walter
25e32b05b6d799b0f1b5685c938b4094?d=identicon&s=25 Bhasker Harihara (Guest)
on 2011-02-07 05:03
(Received via mailing list)
Hi Walter,

Thank you very much.  Is there any tutorial for "rails generate mailer"

Regards
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.