Imap login multiple account at same time

17 views
Skip to first unread message

Aqib Hameed

unread,
Oct 3, 2017, 7:29:40 AM10/3/17
to Ruby on Rails: Talk
Can imap login the multiple account at same time ???
imap = Net::IMAP.new("imap.googlemail.com", 993, true, nil, false)
imap.login(email, password)

David Cross

unread,
Oct 3, 2017, 2:12:22 PM10/3/17
to rubyonra...@googlegroups.com
Given the protocol cannot. Almost certainly not, but you could create 2 instances. I do this regularly (but to different imap servers, conceptually its no different, its 2 distinct connections)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/56995372-d13d-4717-b008-3bc744046435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages