├── .circleci └── config.yml ├── .gitignore ├── .rubocop.yml ├── .ruby-gemset ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── Rakefile ├── lib ├── mailhandler.rb └── mailhandler │ ├── errors.rb │ ├── extensions │ └── mail │ │ ├── imap.rb │ │ └── smtp.rb │ ├── receiver.rb │ ├── receiving │ ├── base.rb │ ├── filelist │ │ ├── base.rb │ │ └── filter │ │ │ ├── base.rb │ │ │ └── email.rb │ ├── folder.rb │ ├── imap.rb │ ├── notification │ │ ├── console.rb │ │ ├── email.rb │ │ └── email │ │ │ ├── content.rb │ │ │ └── states.rb │ └── observer.rb │ ├── sender.rb │ ├── sending │ ├── api.rb │ ├── api_batch.rb │ ├── base.rb │ └── smtp.rb │ └── version.rb ├── mailhandler.gemspec ├── postmark.png ├── readme.md └── spec ├── data ├── email-uni1.txt ├── email-uni2.txt ├── email1.txt └── email2.txt ├── spec_helper.rb └── unit ├── mailhandler ├── receiver_spec.rb ├── receiving │ ├── base_spec.rb │ ├── folder_spec.rb │ ├── imap_spec.rb │ └── notification │ │ ├── console_spec.rb │ │ ├── email │ │ └── content_spec.rb │ │ └── email_spec.rb ├── sender_spec.rb └── sending │ ├── sender_api_batch_spec.rb │ ├── sender_api_spec.rb │ └── sender_smtp_spec.rb └── mailhandler_spec.rb /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-gemset: -------------------------------------------------------------------------------- 1 | mailhandler -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | ruby-3.2.2 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/LICENSE -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/mailhandler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler.rb -------------------------------------------------------------------------------- /lib/mailhandler/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/errors.rb -------------------------------------------------------------------------------- /lib/mailhandler/extensions/mail/imap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/extensions/mail/imap.rb -------------------------------------------------------------------------------- /lib/mailhandler/extensions/mail/smtp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/extensions/mail/smtp.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiver.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/base.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/filelist/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/filelist/base.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/filelist/filter/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/filelist/filter/base.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/filelist/filter/email.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/filelist/filter/email.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/folder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/folder.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/imap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/imap.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/notification/console.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/notification/console.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/notification/email.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/notification/email.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/notification/email/content.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/notification/email/content.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/notification/email/states.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/notification/email/states.rb -------------------------------------------------------------------------------- /lib/mailhandler/receiving/observer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/receiving/observer.rb -------------------------------------------------------------------------------- /lib/mailhandler/sender.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/sender.rb -------------------------------------------------------------------------------- /lib/mailhandler/sending/api.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/sending/api.rb -------------------------------------------------------------------------------- /lib/mailhandler/sending/api_batch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/sending/api_batch.rb -------------------------------------------------------------------------------- /lib/mailhandler/sending/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/sending/base.rb -------------------------------------------------------------------------------- /lib/mailhandler/sending/smtp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/lib/mailhandler/sending/smtp.rb -------------------------------------------------------------------------------- /lib/mailhandler/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module MailHandler 4 | VERSION = '1.0.72' 5 | end 6 | -------------------------------------------------------------------------------- /mailhandler.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/mailhandler.gemspec -------------------------------------------------------------------------------- /postmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/postmark.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/readme.md -------------------------------------------------------------------------------- /spec/data/email-uni1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/data/email-uni1.txt -------------------------------------------------------------------------------- /spec/data/email-uni2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/data/email-uni2.txt -------------------------------------------------------------------------------- /spec/data/email1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/data/email1.txt -------------------------------------------------------------------------------- /spec/data/email2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/data/email2.txt -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiver_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiver_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/base_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/folder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/folder_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/imap_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/imap_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/notification/console_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/notification/console_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/notification/email/content_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/notification/email/content_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/receiving/notification/email_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/receiving/notification/email_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/sender_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/sender_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/sending/sender_api_batch_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/sending/sender_api_batch_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/sending/sender_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/sending/sender_api_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler/sending/sender_smtp_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler/sending/sender_smtp_spec.rb -------------------------------------------------------------------------------- /spec/unit/mailhandler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ActiveCampaign/mailhandler/HEAD/spec/unit/mailhandler_spec.rb --------------------------------------------------------------------------------