Vikrant Chaudhary
2009-Dec-09 06:46 UTC
[ActionMailer] "Form:" header is not being shown properly.
Hi, I''m using "action_mailer.delivery_method = :test", and trying to send an email with "from" address as "Ex <ex-hcDgGtZH8xPR7s880joybQ@public.gmane.org>", However when I look at the email from "ActionMailer::Base.deliveries []", the "from" header is stripped down as "From: Ex". I''m using Rails 2.3.5, - thanks. -- 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.
Ok, I nailed down the problem. I''m iterating through "ActionMailer::Base.deliveries[]" and using "<pre></pre>" tag to show them individually. However, firefox is recognising "<ex-hcDgGtZH8xPR7s880joybQ@public.gmane.org>" as an unrecognised tag and isn''t showing it. Got to use the "h()" function. On Dec 9, 11:46 am, Vikrant Chaudhary <nas...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, I''m using "action_mailer.delivery_method = :test", > and trying to send an email with "from" address as "Ex > <e...-hcDgGtZH8xPR7s880joybQ@public.gmane.org>", > However when I look at the email from "ActionMailer::Base.deliveries > []", the "from" header is stripped down as "From: Ex". > I''m using Rails 2.3.5, > - thanks.-- 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.