Module: BounceEmail

Defined in:
lib/bounce_email.rb

Defined Under Namespace

Classes: Mail

Constant Summary collapse

TYPE_HARD_FAIL =
'Permanent Failure'
TYPE_SOFT_FAIL =
'Persistent Transient Failure'
TYPE_SUCCESS =
'Success'
INLINE_MESSAGE_BEGIN_DELIMITERS =
[
  'Original message',
  'Below this line is a copy of the message.',
  'Message header follows'
].map { |delimiter| Regexp.new(/^[-\s]*#{delimiter}[\s-]*$/) }
INLINE_MESSAGE_END_DELIMITER =
/^[-\s]*End of message[\s-]*$/