Class: Imap::Backup::Email::Provider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/imap/backup/email/provider/base.rb

Overview

Supplies defaults for email provider behaviour

Direct Known Subclasses

AppleMail, Fastmail, GMail, Purelymail, Unknown

Instance Method Summary collapse

Instance Method Details

#optionsHash

Returns defaults for the Net::IMAP connection.

Returns:

  • (Hash)

    defaults for the Net::IMAP connection



10
11
12
# File 'lib/imap/backup/email/provider/base.rb', line 10

def options
  {port: 993, ssl: {min_version: OpenSSL::SSL::TLS1_2_VERSION}}
end

#sets_seen_flags_on_fetch?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/imap/backup/email/provider/base.rb', line 14

def sets_seen_flags_on_fetch?
  false
end