Rodauth uses the mail gem to send email, so you configure the mail gem to do this. Hadn't heard of maildev before, but it looks like a local SMTP server that just stores mail. So you probably want something like:
case ENV['RACK_ENV']
when 'development'
Mail.defaults do
delivery_method :smtp, :address => "127.0.0.1", :port => 1025 # or whatever port maildev SMTP listens on
end
when 'test'
Mail.defaults do
delivery_method :test # this allows you to check Mail::TestMailer.deliveries for received email in tests
end
end
Thanks,
Jeremy