lib/fat_free_crm/mail_processor/base.rb
# Archive message (valid) action based on settings
#------------------------------------------------------------------------------
Archive message (valid) action based on settings
Archive message ( valid ) action based on settings
def archive(uid)
        if @dry_run
          log "Not archiving message"
        else
          @imap.uid_copy(uid, @settings[:move_to_folder]) if @settings[:move_to_folder]
          @imap.uid_store(uid, "+FLAGS", [:Seen])
        end
        @archived += 1
      end
def archive ( uid ) if @dry_run log "Not archiving message" else @imap . uid_copy ( uid , @settings [ :move_to_folder ] ) if @settings [ :move_to_folder ] @imap . uid_store ( uid , "+FLAGS" , [ :Seen ] ) end @archived += 1 end
Archive message (valid) action based on settings
Archive message ( valid ) action based on settings
uid