Exception: MidiSmtpServer::Smtpd521Exception
- Inherits:
-
SmtpdException
- Object
- RuntimeError
- SmtpdException
- MidiSmtpServer::Smtpd521Exception
- 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
-
#initialize(msg = nil) ⇒ Smtpd521Exception
constructor
A new instance of Smtpd521Exception.
Methods inherited from SmtpdException
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 |