Skip to main content
Code that already speaks SMTP can relay through mailkube’s submission server unchanged, using any standard mail library and no HTTP client. Authenticate with an SMTP credential for a verified domain.

Connection

Send with Python’s smtplib

The standard library can send through mailkube directly, with no dependencies:
The username is your credential’s username followed by @ and the domain it is bound to; a bare username fails authentication.
Always require STARTTLS. Your credentials and message must only ever travel over an encrypted channel; disable any plaintext fallback.
The From domain must match your credential’s verified domain, and a Subject header is required. Server replies use enhanced status codes.

Learn more

SMTP overview

How the SMTP relay works and when to choose it.

Connection settings

Host, port, TLS, and a sample client configuration.

Authentication

Create and use an SMTP credential.

Templates & topics

Send saved templates and attribute mail to a topic over SMTP.