Sending Devise Emails Manually

Tagged devise, email  Languages ruby
user = User.new email: 'bill@gates.com'
Devise.mailer_sender = 'no-reply@gates.com'
Devise.mailer.confirmation_instructions(user, self).deliver!