i am already implemented send mail through smtp protocol now i trying to implement via IMAP..protocol....what should i have to change in config/devlopment .rb
config.action_mailer.default_url_options = { host: 'localhost', port: 9292}
config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
address: 'imap.gmail.com'or'imap.hotmail.com'or'imap.yahoo.com', # default: localhost
port: '25', # default: 25
user_name: 'debasish.industrify2016@gmail.com',
password: 'debxxxxxxxx',
authentication: :plain # :plain, :login or :cram_md5
}