At the moment mail sent from my app comes from "mailer" when received by gmail. Is it possible (i.e. some particular format) to make this more meaningful? What I have at the moment one of my typical mailer methods: def updated recipients users.collect(&:email).join('','') from "mailer-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org" subject some_subject body <hash> end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Whoops, by meaningful I mean, appearing in my inbox as coming from "MyDomain.com Mailer" instead of just "mailer" Luke Grimstrup wrote:> At the moment mail sent from my app comes from "mailer" when received by > gmail. Is it possible (i.e. some particular format) to make this more > meaningful? > > What I have at the moment one of my typical mailer methods: > > def updated > recipients users.collect(&:email).join('','') > from "mailer-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org" > subject some_subject > body <hash> > end-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Luke Grimstrup wrote:> Whoops, by meaningful I mean, appearing in my inbox as coming from > "MyDomain.com Mailer" instead of just "mailer" > > Luke Grimstrup wrote: >> At the moment mail sent from my app comes from "mailer" when received by >> gmail. Is it possible (i.e. some particular format) to make this more >> meaningful? >> >> What I have at the moment one of my typical mailer methods: >> >> def updated >> recipients users.collect(&:email).join('','') >> from "mailer-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org" >> subject some_subject >> body <hash> >> endI use the format from "Some Person <someperson-omLZJFyqO6s4Q++5jOxPmw@public.gmane.org>" Peace. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Luke Grimstrup wrote:> Whoops, by meaningful I mean, appearing in my inbox as coming from > "MyDomain.com Mailer" instead of just "mailer" > > Luke Grimstrup wrote: >> At the moment mail sent from my app comes from "mailer" when received by >> gmail. Is it possible (i.e. some particular format) to make this more >> meaningful? >> >> What I have at the moment one of my typical mailer methods: >> >> def updated >> recipients users.collect(&:email).join('','') >> from "mailer-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org" >> subject some_subject >> body <hash> >> endYou''d write: from ''MyDomain.com Mailer <mailer-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org>'' If the email sender is common to all mailer methods you can move this "from" call to the initialize method, so it only has to appear once. -- Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Excellent! Just what I was looking for! :D -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---