Ruby on Rails Tuesday, October 3, 2017

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 <aqibpadana@gmail.com> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@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.

No comments:

Post a Comment