module Sisimai::Reason::Delivered
Sisimai::Reason::Delivered
checks the email you sent is delivered successfully or not by matching diagnostic messages with message patterns. Sisimai
will set “delivered” to the value of “reason” when Status: field in the bounce message begins with “2” like following:
Final-Recipient: rfc822; kijitora@neko.nyaan.jp Action: deliverable Status: 2.1.5 Diagnostic-Code: SMTP; 250 2.1.5 OK
This class is called only Sisimai.reason
method. This is NOT AN ERROR reason.
Public Class Methods
description()
click to toggle source
# File lib/sisimai/reason/delivered.rb, line 18 def description; return 'Email delivered successfully'; end
match()
click to toggle source
# File lib/sisimai/reason/delivered.rb, line 19 def match; return nil; end
text()
click to toggle source
# File lib/sisimai/reason/delivered.rb, line 17 def text; return 'delivered'; end
true(*)
click to toggle source
# File lib/sisimai/reason/delivered.rb, line 20 def true(*); return nil; end