On Jun 10, 2:58 pm, JannaB
<mistressja...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
wrote:> I am using Rails 2.3, and trying to get ActionMailer to work. I have
> it configured properly, have followed a very feeble example I have
> found
(http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-send-emails.htm
> ) but I''m kind of stumped on a few things (for one, what is
> request.xhr ? I cannot even find this in the API).
>
request.xhr? tells you whether the current request was an ajax
request.
> Does anyone know a good example for using ActionMailer? I have things
> configured ok, I just need a good example to see how the plumbing
> works in calling things within rails to move from one view to the next
> appropriately, where things are explained for a bimbo like me. -Janna
> B
Have you tried the rails guide about this?
http://guides.rubyonrails.org/action_mailer_basics.html
Fred