|  | @@ -245,6 +245,10 @@ class MailFetcher(object):
 | 
	
		
			
			| 245 | 245 |                          )
 | 
	
		
			
			| 246 | 246 |                          imapc.idle_done()
 | 
	
		
			
			| 247 | 247 |                      else:
 | 
	
		
			
			|  | 248 | +                        if self.use_idle and not imapc.has_capability('IDLE'):
 | 
	
		
			
			|  | 249 | +                            log = 'IDLE mode activated but server do not' \
 | 
	
		
			
			|  | 250 | +                                  'support it, use polling instead.'
 | 
	
		
			
			|  | 251 | +                            logger.warning(self, log)
 | 
	
		
			
			| 248 | 252 |                          # normal polling mode : sleep a define duration
 | 
	
		
			
			| 249 | 253 |                          logger.debug(self, 'sleep for {}'.format(self.delay))
 | 
	
		
			
			| 250 | 254 |                          time.sleep(self.delay)
 |