OptionalauthCredentials; when omitted, no AUTH is attempted.
Optionalmechanism?: "PLAIN" | "LOGIN"Mechanism to use; defaults to 'PLAIN'.
Login password or app token.
Login user (often the full email address).
Envelope and header From address.
Mail server hostname (also used for TLS certificate validation).
OptionalportTCP port; defaults to 587 for starttls and 465 for implicit.
OptionalsubjectOptional subject. Defaults to empty because carrier gateways typically drop or prepend the subject to the body.
Plaintext message body; keep it short since gateways truncate long messages.
OptionaltimeoutPer-step read deadline in milliseconds.
OptionaltlsTransport security:
'starttls' (default): connect in plaintext, upgrade via STARTTLS.'implicit': TLS from the first byte (SMTPS, port 465).'off': plaintext with no upgrade (for trusted internal relays / dev servers).Recipient handset, addressed by phone number and carrier.
A known Carrier key or a raw gateway domain.
The recipient phone number in any common format.
OptionaltypeAddress the SMS or MMS gateway; defaults to 'sms'.
Options for sendSms: SMTP connection settings plus the SMS payload.
Since
1.0.3