Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
Discussion options

You must be logged in to vote

You should be able to create an instance of Retromail (our customized Devise mailer, the only mailer we actually use at the moment) in the Rails console and send an email with it.

Not exactly sure if it will work, but worth a shot maybe:

@mailer = Retromail.new
# you can run `@mailer.smtp_settings` to look/set the currently applied SMTP settings

@mailer.mail(from: '[email protected]', to: '[email protected]', subject: 'test', body: "Hello, you've got mail!").deliver

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by greyidol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants