Transport
class in package klyn.mails

    public class Transport extends Object:

Object
└ Transport

High-level sending helper inspired by JavaMail `Transport`.

    import klyn.mails

    session = Session.smtp("smtp.example.com")
    message = MimeMessage(session)

Inherited Properties
property Inherited Properties from Object: type
Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | deliver `deliver(message as MimeMessage, session as Session = null) as SmtpResponse throws MessagingException:` | Sends a message using either the provided session or the session attached to the message itself.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml