# Registration mail is not sent

**URL:** <https://www.ruby-forum.com/t/registration-mail-is-not-sent/109029>\
**Category:** Ruby-Forum\
**Created:** [July 10, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/registration-mail-is-not-sent/109029 "2007-07-10T19:09:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![russiangeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@russiangeek](https://www.ruby-forum.com/u/russiangeek)\
**Post date:** [July 10, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/registration-mail-is-not-sent/109029/1 "2007-07-10T19:09:36Z")

</div>

I am trying to run my site on rforum. All work fine but emails are never  
sent neither at registration nor restore password.

This is the part of my default\_site.rb:  
require ‘default\_site’  
ActionMailer::Base.delivery\_method = :smtp  
ActionMailer::Base.server\_settings = {  
:address =\> ‘[mail.domain.com](http://mail.domain.com)’, # replace with your SMTP  
server  
:port =\> 25, # replace with your SMTP server’s port  
:domain =\> ‘[domain.com](http://domain.com)’, # replace with your HELO domain  
:user\_name =\> ‘removed\_email\_address@domain.invalid’, # set if your SMTP server  
requires authentication  
:password =\> ‘password’, # set if your SMTP server requires  
authentication  
:authentication =\> true # set to true if your SMTP server  
requires authentication  
}
