Method: RockdoveServer#initialize
- Defined in:
- lib/rockdove/script/rockdove_server.rb
#initialize ⇒ RockdoveServer
Returns a new instance of RockdoveServer.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/rockdove/script/rockdove_server.rb', line 12 def initialize Rockdove::Config.configure do |config| # (EDIT THIS CONTENT BELOW) config.ews_url 'https://ewsdomain.com/ews/exchange.asmx' config.ews_username 'ews_username' config.ews_password 'ews_password' config.ews_folder 'Inbox' # ews_folder is Inbox by default config.ews_archive_folder 'Archive' # by default, it deletes the mail after processing, mention ews_archive_folder if it # has to be archived to a different folder config.ews_watch_interval 60 # by default, the polling interval is 60 config.ews_ignore_mails ["[email protected]"] # an array of emails to be ignored end #Raad.env = "production" end |