# Sending eMail

**URL:** <https://www.ruby-forum.com/t/sending-email/181963>\
**Category:** Rails\
**Created:** [January 20, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/sending-email/181963 "2010-01-20T22:26:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@srj](https://www.ruby-forum.com/u/srj)\
**Post date:** [January 20, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/sending-email/181963/1 "2010-01-20T22:26:09Z")

</div>

I am trying to send email from my rails application, and have the  
following set up in my development.rb config file:

config.action\_mailer.delivery\_method = :smtp

config.action\_mailer.smtp\_settings = {  
:address =\> “[smtp.mail.wowway.com](http://smtp.mail.wowway.com)”, #also tried  
[smtp.mail.wideopenwest.com](http://smtp.mail.wideopenwest.com)  
:port =\> 25,  
:domain =\> “[wowway.com](http://wowway.com)”, #also tried [wideopenwest.com](http://wideopenwest.com)  
:authentication =\> :login, #also tried :plain  
:user\_name =\> “removed\_email\_address@domain.invalid”,  
:password =\> “mypassword”  
}

According to my log file, it looks like the email was generated as  
expected:

```
Sent mail to <<email id listed in registration form>>

Date: Wed, 20 Jan 2010 16:03:07 -0500

From: removed_email_address@domain.invalid

To: <<email id listed in registration form>>

Subject: Activate Your Account

Mime-Version: 1.0

Content-Type: text/plain; charset=utf-8

Congratulations , . . .
. . . body of email looks like I expect, including <%=

```

substitutions %\>  
. . .

```
Redirected to /
Completed in 7500ms (DB: 63) | 302 Found [http://localhost/users]

```

But I never receive an email, and there is nothing in my sent items on  
wowway either.

Can someone tell me what I am missing or doing wrong?

Thank you for any help you can offer,

Steve

---

<div class="post-metadata">

**Author:** ![srj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@srj](https://www.ruby-forum.com/u/srj)\
**Post date:** [January 21, 2010, 9:00am UTC](https://www.ruby-forum.com/t/sending-email/181963/2 "2010-01-21T09:00:00Z")

</div>

Try

config.action\_mailer.perform\_deliveries = true

in your development.rb

Pradeep  
[www.masplantiz.com](http://www.masplantiz.com)
