Exception: MidiSmtpServer::Tls530Exception

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

Overview

530 Encryption required

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

Returns a new instance of Tls530Exception.



270
271
272
273
# File 'lib/midi-smtp-server/exceptions.rb', line 270

def initialize(msg = nil)
  # call inherited constructor
  super msg, 530, 'Encryption required, must issue STARTTLS command first'
end