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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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> > Warm Regards > > > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > .-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 On Sat, Feb 5, 2011 at 9:48 PM, Walter Lee Davis <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> > 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 > > > >> Warm Regards >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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> > Regards > > On Sat, Feb 5, 2011 at 9:48 PM, Walter Lee Davis > <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote: > > 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 > > > > Warm Regards > > > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > . > > > > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails- > talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > .-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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:49 am, Bhasker Harihara <harihara.bhas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Walter, Thank you very much. Is there any tutorial for "rails generate mailer" Regards On Sat, Feb 5, 2011 at 10:51 PM, djangst <djangst-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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:49 am, Bhasker Harihara <harihara.bhas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > 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. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.