Try the RankNibbler SEO API

Mail server checks Beta

POST /api/v1/monitors

Types smtp, pop3 and imap: connect to a mail server, read its greeting, and optionally sign in. They work the same way, so they share this page.

There is no separate endpoint for this: it is the ordinary create a monitor call with type set to "smtp", "pop3" or "imap". The same settings apply when you update a monitor with PATCH /api/v1/monitors/{id}.

Every type shares the same interval, retries, alerting, maintenance, results and reports. Only the settings below differ. See Check types for how the nine types compare.

Up or down

Ports and encryption

Leave port out and the standard port for the encryption you chose is used:

Typenone or starttlstls
smtp25465
pop3110995
imap143993

Settings that apply

SettingNotes
url requiredThe mail host, for example mail.example.com. Not a URL.
portOptional. Falls back to the table above.
encryptionnone (default), tls or starttls.
expectStringText the greeting must contain. Up to 500 characters.
authUsername, authPasswordSMTP only. Sign in as this mailbox. The password is write-only and stored encrypted.
timeoutSecondsHow long to wait for the connection and each reply.

Create one

An IMAP server on the standard TLS port:

Submission on 587, upgrading to TLS and signing in, so the check fails if the mailbox stops working:

Related