Exception: MidiSmtpServer::Smtpd500CrLfSequenceException

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

Overview

500 Bad input, missing CRLF line termination

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) ⇒ Smtpd500CrLfSequenceException

Returns a new instance of Smtpd500CrLfSequenceException.



294
295
296
297
# File 'lib/midi-smtp-server/exceptions.rb', line 294

def initialize(msg = nil)
  # call inherited constructor
  super msg, 500, 'Bad input, Lines must be terminated by CRLF sequence'
end