klyn.mails.SmtpResponse.SmtpResponse
constructor
public SmtpResponse(code as Int, lines as ArrayList<String> = null):
Description

Creates an SMTP response.

Parameters
ParameterDescription
codeSMTP status code.
linesRaw response lines.
Example
import klyn.mails

response = SmtpResponse(220, ["220 mail.example.com ready"])
print(response.message)