All threads / How can I allow my users to configure their account (created w/ devise) with their smtp server, so they can send & recieve emails in my app?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How can I allow my users to configure their account (created w/ devise) with their smtp server, so they can send & recieve emails in my app?

Drilon Buzuku asked in General

Are there any ruby gems for this specific problem? Or should I just use ActionMailer from Rails? If ActionMailer are there any tutorials on this topic online?

Hey Drilon,

So sending emails is pretty easy, you can just configure ActionMailer with their credentials, but it's a lot more complex to receive emails in an application. There's a brief mention of that here: http://guides.rubyonrails.org/action_mailer_basics.html#receiving-emails

You can use the mail gem to retrieve emails from a pop server which might be what you want: https://github.com/mikel/mail#getting-emails-from-a-pop-server

Thanks for your answer and especially your content! Keep it up!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,629+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.