# Edge Rails and ActionMailer problem (Bad file descriptor)

**URL:** <https://www.ruby-forum.com/t/edge-rails-and-actionmailer-problem-bad-file-descriptor/111484>\
**Category:** Rails\
**Created:** [August 7, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/edge-rails-and-actionmailer-problem-bad-file-descriptor/111484 "2007-08-07T21:01:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ss\_1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Post date:** [August 7, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/edge-rails-and-actionmailer-problem-bad-file-descriptor/111484/1 "2007-08-07T21:01:37Z")

</div>

Hi,

I have just updated my rails app to use edge rails, however whenever I  
attempt to send an email using action mailer, I gain the following  
error, any suggestions t whats going wrong?

Bad file descriptor - connect(2)

I am using the following settings

ActionMailer::Base.delivery\_method = :smtp  
ActionMailer::Base.smtp\_settings = {  
:address =\> APP\_CONFIG[‘smtp’][‘address’],  
:port =\> APP\_CONFIG[‘smtp’][‘port’],  
:domain =\> APP\_CONFIG[‘smtp’][‘domain’],  
:user\_name =\> APP\_CONFIG[‘smtp’][‘user-name’],  
:password =\> APP\_CONFIG[‘smtp’][‘password’],  
:authentication =\> APP\_CONFIG[‘smtp’][‘authentication’]  
}

---

<div class="post-metadata">

**Author:** ![ss\_1982](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Post date:** [March 11, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/edge-rails-and-actionmailer-problem-bad-file-descriptor/111484/2 "2008-03-11T21:57:52Z")

</div>

Hello Scott,

Did you ever figure out what is causing this error?

I am receiving the same. This is my first time setting up the Mailer.

Liz

On Aug 7 2007, 3:01 pm, Scott A s [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
