From: Ryan Davis Date: 2012-12-07T07:58:00+09:00 Subject: Re: how to reproduce error System error (Failure) Imap On Dec 6, 2012, at 01:47 , Lucky Nl wrote: > Am using Imap in ruby 1.8.7 > I got error ERROR (12791) System error (Failure) in my code. > But not sure when this will be happen. > Can anyone suggest when this error will be raise and how to reproduce > this error. If you look through the code of net/imap.rb you'll see that there is no occurrence of "ERROR" anywhere. Nor in digest nor ssl. You'll need to look at your backtrace and actually debug where this is coming from.