# Login\_Engine and use\_email\_notification

**URL:** <https://www.ruby-forum.com/t/login-engine-and-use-email-notification/58169>\
**Category:** Rails\
**Created:** [April 19, 2006, 8:18am UTC](https://www.ruby-forum.com/t/login-engine-and-use-email-notification/58169 "2006-04-19T08:18:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 19, 2006, 8:18am UTC](https://www.ruby-forum.com/t/login-engine-and-use-email-notification/58169/1 "2006-04-19T08:18:52Z")

</div>

I got a problem with the set up of Action Mailer and Login\_Engine.

I’m actually not able to disable email notification, as I could see in  
the doc of login\_engine it seem that I just need to insert a line in  
the environement.rb of my application, like that :

module LoginEngine

```
# ... other options...
config :use_email_notification, false

```

end

But I don’t get it working, I always get the following warning : “Error  
creating account: confirmation email not sent”

Any help is welcome,  
regards,

–  
Grosjean Sébastien

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 19, 2006, 4:16pm UTC](https://www.ruby-forum.com/t/login-engine-and-use-email-notification/58169/2 "2006-04-19T16:16:28Z")

</div>

hi.

from the login\_engine rdoc:

confirm\_account:  
An overriding flag to control whether or not user accounts must be  
verified by email. This overrides the user\_email\_notification flag.  
Defaults to true.

so you probably have to set :confirm\_account to false as well.

-tak.
