Exception: MidiSmtpServer::Smtpd521Exception

Inherits:
SmtpdException
  • Object
show all
Defined in:
lib/midi-smtp-server/exceptions.rb

Overview

521 <domain> does not accept mail [rfc1846]

Instance Attribute Summary

Attributes inherited from SmtpdException

#smtpd_return_code, #smtpd_return_text

Instance Method Summary collapse

Methods inherited from SmtpdException

#smtpd_result

Constructor Details

#initialize(msg = nil) ⇒ Smtpd521Exception

Returns a new instance of Smtpd521Exception.



145
146
147
148
# File 'lib/midi-smtp-server/exceptions.rb', line 145

def initialize(msg = nil)
  # call inherited constructor
  super msg, 521, 'Service does not accept mail'
end