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

Creates an SMTP response.

Parameters
  • code SMTP status code.
  • lines Raw response lines. ```klyn import klyn.mails response = SmtpResponse(220, ["220 mail.example.com ready"]) print(response.message) ```