# Actionamailer

**URL:** <https://www.ruby-forum.com/t/actionamailer/169945>\
**Category:** Rails\
**Created:** [June 10, 2009, 3:59pm UTC](https://www.ruby-forum.com/t/actionamailer/169945 "2009-06-10T15:59:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JannaB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df788c/32.png) [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Post date:** [June 10, 2009, 3:59pm UTC](https://www.ruby-forum.com/t/actionamailer/169945/1 "2009-06-10T15:59:30Z")

</div>

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 (

> **[Ruby on Rails 2.1 - Sending Emails](http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-send-emails.htm)**
>
> Ruby on Rails 2 1 Sending Emails - ActionMailer is the Rails component that enables applications to send and receive emails. In this chapter, we will see how to send an email using Rails.

) but I’m kind of stumped on a few things (for one, what is  
request.xhr ? I cannot even find this in the API).

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

---

<div class="post-metadata">

**Author:** ![JannaB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df788c/32.png) [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Post date:** [June 10, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/actionamailer/169945/2 "2009-06-10T17:20:34Z")

</div>

On Jun 10, 2:58 pm, JannaB [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 ([Ruby on Rails 2.1 - Sending Emails](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?

> **[Action Mailer Basics — Ruby on Rails Guides](https://guides.rubyonrails.org/action_mailer_basics.html)**
>
> Action Mailer BasicsThis guide provides you with all you need to get started in sending emails from your application, and many internals of Action Mailer. It also covers how to test your mailers.After reading this guide, you will know: How to send...

Fred
