I'm trying to create a clearance password reset email to send from a gmail account I created. What do I have to do to accomplish this and send the password reset email when someone clicks "reset password"? I already set
config.mailer_sender = '[email protected]'
Sorry if it is a dumb question, I am still new to rails and clearance.
This is how you configure a specific email address to send from in Clearance. Place this in:
config/initializers/clearance.rbFrom the docs
But in Rails, you also need to configure the server to send your email.
/config/environments/development.rbHowever, take close note of two things:
EMAIL_USERandEMAIL_PASSwhich are custom environment variables that would need to exist in your bash session (eg.$ export [email protected])/config/environments/production.rb