Skip to main content

Receiving incoming emails

Rails • Asked by Aqib hameed


I want to develop a software which has multiple emails against the brands, e.g Brand1 has email [email protected], [email protected], and Brand2 has emails [email protected], [email protected]. So Customer send their query by email on [email protected] etc. So system reads all emails against the brands on which customers send their emails.So which Gem is best in rails to reads the emails from multiple mailing box without forwarding the emails???

Gravatar Jack commented on :

Not 100% sure if this is what you're after, but to receive/parse emails, https://rubygems.org/gems/griddler is possibly your best choice.

But griddler supported email service options are sendgrid (the default), cloudmailin, postmark, mandrill and mailgun.These email service option are paid.But i want to read the email without using email service options just like Mailman, But Mailman canot read emails from multiple mailing box.

Depends on who your email provider is you can turn on imap and get emails in your app

Right now i am using mailman and it configuration
Mailman.config.pop3 = {
server: 'pop.gmail.com', port: 995, ssl: true,
username: 'USER-EMAIL',

password: 'USER-PASSWORD'
}
Mailman::Application.run do
default do
puts "Email receive"
end
end
its work fine to read email only single account, but i face an issue how to reads email from multiple email account ???e.g [email protected],[email protected] etc (e

** Link Removed - Spam **

Login or create an account to join the conversation.