# ActionMailer email error

**URL:** <https://www.ruby-forum.com/t/actionmailer-email-error/126368>\
**Category:** Rails\
**Created:** [January 17, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/actionmailer-email-error/126368 "2008-01-17T19:36:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![a2ahmad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@a2ahmad](https://www.ruby-forum.com/u/a2ahmad)\
**Post date:** [January 17, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/actionmailer-email-error/126368/1 "2008-01-17T19:36:18Z")

</div>

Hi guys,  
Not sure what is wrong with my emailing. I suspected it has to do with  
the environment config but it looks fine to me. The error I get is:

* * *

Errno::ECONNRESET in EmailController#remind

An existing connection was forcibly closed by the remote host.

* * *

Rails 1.2.5, ActionMailer 1.3.5, Ruby 1.8

environment.rb:

# Action Mailer email stuff

ActionMailer::Base.delivery\_method = :smtp  
ActionMailer::Base.server\_settings = {  
:address =\> “[smtp.comcast.net](http://smtp.comcast.net)”,  
:port =\> 25,  
:domain =\> “[www.proletariandesign.com](http://www.proletariandesign.com)”,  
:authentication =\> :login,  
:user\_name =\> “xxxx”,  
:password =\> “xxxx”  
}

Thanks for any help.

- Adeel
