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)

> On Oct 3, 2017, at 07:29, Aqib Hameed <[email protected]> wrote:
> 
> Can imap login the multiple account at same time ???
> imap = Net::IMAP.new("imap.googlemail.com", 993, true, nil, false)
> imap.login(email, password)
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/E89A06B3-DA4D-4A93-8B54-2E27305AD2DD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to