Skip to content

Commit

Permalink
"header" is a key, is not a method name of Sisimai::Message object
Browse files Browse the repository at this point in the history
  • Loading branch information
azumakuniyuki committed Dec 10, 2020
1 parent 12230f5 commit a27783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sisimai/fact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def self.rise(**argvs)
if o['deliverystatus'].empty?
smtperrors = p['replycode']; smtperrors << ' ' << p['diagnosticcode'] unless smtperrors =~ /\A\s+\z/
permanent1 = Sisimai::SMTP::Error.is_permanent(smtperrors)
o['deliverystatus'] = Sisimai::SMTP::Status.code(o['reason'], permanent1 ? false : true)
o['deliverystatus'] = Sisimai::SMTP::Status.code(o['reason'], permanent1 ? false : true) || ''
end

# REPLYCODE: Check both of the first digit of "deliverystatus" and "replycode"
Expand Down

0 comments on commit a27783a

Please sign in to comment.