Forum: Ruby on Rails Login_Engine and use_email_notification

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sébastien Grosjean (Guest)
on 2006-04-19 10:18
(Received via mailing list)
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


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

Any help is welcome,

 Grosjean Sébastien
Takashi Okamoto (Guest)
on 2006-04-19 18:16
(Received via mailing list)

from the login_engine rdoc:

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.

This topic is locked and can not be replied to.