SENDING · Published 2026-10-06 · Updated 2026-10-10 · SecureSMTP

SMTP

Host, ports and login for apps that send through an SMTP server.

Use SMTP when an app or platform only lets you enter an SMTP server. Every message you submit goes through the same checks, limits and email log as POST /mail/send. If your code can make an HTTPS request, the API is usually simpler: see Sending email.

Connection settings

SettingValue
Hostsmtp.securessmtp.com
Port587 with STARTTLS, or 465 with SSL/TLS
Usernamesecuressmtp. The username is not checked; the password decides the site.
PasswordThe site’s API key, starting with qcs_live_
AuthenticationPLAIN or LOGIN
EncryptionRequired. The server only offers login after TLS is on.

The same settings are shown in the dashboard under API keys (/app/forms/api-keys), in the SMTP settings box. Each site has its own key, so mail is logged and counted under the site whose key you log in with. Rotating the key stops SMTP logins with the old key at once. See Sites and API keys.

What happens to SMTP mail

We read the message, turn it into an API request and run it through POST /mail/send. In the email log its source is smtp. That means SMTP mail gets:

  • the per-site rate limit (120 emails per 60 seconds) and your plan’s monthly limit;
  • the sending brake, the content and phishing checks, the AI spam check (always on a site’s first email) and the contact-form spam hold — see Deliverability;
  • suppression and unsubscribe checks — see Bounces and suppressions;
  • open and click tracking, and the one-click unsubscribe header on single-recipient mail;
  • webhook events after sending — see Webhooks.

You cannot choose the sender mode over SMTP. If the site has a verified sending domain, mail goes out from it. Without one, mail goes out in relay mode only while your account may still use the shared address; otherwise it is refused. See Your own domain is required.

From and Reply-To

Sender modeFromReply-To
Relay (no verified domain; grace period only)The display name from your From header, with the address [email protected].Your message’s Reply-To header. If it has none, the address from your From header.
Domain (verified domain)The display name from your From header, with the From address set for the verified domain.Your message’s Reply-To header, if it has one.

The address in your From header is never used as the From address. If your From header has no display name, we use the site’s default From name, then the site name. To send from your own address, verify a domain: see Domains and DNS.

Recipients and Bcc

  • To and Cc are taken from the message headers, but only addresses that are also envelope recipients (RCPT TO) are kept.
  • Envelope recipients that are not in To or Cc are sent as Bcc.
  • If the message has Cc addresses but no To, the Cc addresses become the To addresses.
  • If the message has no visible recipients at all (everyone is Bcc), each recipient gets their own copy. Each copy is a separate email: it counts toward the limits and has its own line in the email log. The SMTP reply is 250 if at least one copy was accepted.
  • Up to 50 addresses each in To, Cc and Bcc. A message can have up to 150 envelope recipients; further RCPT TO commands are refused.
  • Suppression and unsubscribe checks apply to the To addresses only. Cc and Bcc addresses are not checked.

Headers we keep

Most headers are rebuilt by us (From, Reply-To, Message-ID and so on). These headers from your message are passed through unchanged, up to 30 of them:

  • X- headers, except X-Mailer, X-Originating-IP, X-PHP-Originating-Script, X-MS-Exchange-*, X-Google-*, X-GM-*, X-Received*, X-Spam* and X-Virus*;
  • In-Reply-To, References, List-Unsubscribe, List-Unsubscribe-Post, List-Id, Precedence and Auto-Submitted.

If your message has its own List-Unsubscribe header, we keep it and do not add ours. See Unsubscribe links.

Attachments and size

  • Attachments are sent, up to 15 MB in total per message.
  • Inline images (an attachment with Content-Disposition: inline and a Content-ID) stay inline, so <img src="cid:..."> keeps working.
  • The whole message, including encoded attachments, can be up to 25 MB.

SMTP replies

Replies starting with 4 are temporary: a normal SMTP client keeps the message and tries again later. Replies starting with 5 are final: sending the same message again will fail the same way.

ReplyMeaning
250 Accepted <message-id>Accepted for sending. The ID is the same message_id the API returns.
250 AcceptedAccepted, but held as contact-form spam and not sent. It is in the email log as flagged.
535Login failed: wrong key, a rotated key, the site is disabled, or sending on the site is paused. A paused site cannot log in until a person at SecureSMTP releases it.
450 4.7.0Rate limit reached (120 emails per minute per site), or we could not check the site’s first email just now: “We could not check this site’s first email just now - please try again in a few minutes”. Nothing is paused. The client retries later.
450 4.5.3More than 150 envelope recipients in one message.
450 4.3.0Temporary failure on our side. The client retries later.
550 5.7.0Monthly email limit reached for your plan.
550 5.7.1Rejected as spam or phishing, sending on the site is paused, the site is disabled, or every recipient unsubscribed from this site. When sending is paused, the text says to open a support ticket.
550 5.7.1The email address on your SecureSMTP account is not confirmed yet: “Confirm the email address on your SecureSMTP account first - check your inbox or securessmtp.com/app”. Logins still work; each message gets this reply until you confirm.
550 5.7.1The site has no verified sending domain and the account may not use the shared address: “Verify your sending domain first - securessmtp.com/app/forms/email”. Add and verify a domain; until then no email is sent.
450 4.3.0We could not check your sending domain just now: “We could not check your sending domain just now - please try again in a few minutes”. Nothing is sent and nothing is paused. The client retries later.
550 5.7.8The API key stopped being valid during the session (for example, it was rotated).
550 5.1.1Every recipient is on the suppression list.
550 5.3.4Attachments are larger than 15 MB in total.
550 5.5.3More than 50 addresses in To, Cc or Bcc.
550 5.6.0The message could not be read: no text or HTML body, an attachment could not be read, or an address is not valid.

WordPress SMTP plugins

Our WordPress plugin is the quickest way to send WordPress email through SecureSMTP: paste your API key and you are done. If you already use an SMTP plugin such as WP Mail SMTP, FluentSMTP or Post SMTP, you can keep it and point it at our SMTP server instead. Use one or the other, not both.

WP Mail SMTP

Go to WP Mail SMTP → Settings → General, choose Other SMTP as the mailer and fill in:

WP Mail SMTP fieldValue
SMTP Hostsmtp.securessmtp.com
EncryptionTLS (with port 587), or SSL (with port 465)
SMTP Port587 for TLS, 465 for SSL
Auto TLSOn
AuthenticationOn
SMTP Usernamesecuressmtp
SMTP PasswordYour site’s API key (starts with qcs_live_), from API keys in the dashboard
From EmailYour own address. Without a verified sending domain it is used as the Reply-To (see From and Reply-To above).
From NameYour site or business name. Recipients see this name.

Click Save Settings. Once your sending domain is verified, send a test from WP Mail SMTP → Tools → Email Test. The test shows up in your SecureSMTP email log with the source smtp. Full walkthrough: WP Mail SMTP setup with SecureSMTP. WP Mail SMTP can also read the password from wp-config.php (define( 'WPMS_SMTP_PASS', 'qcs_live_…' );), which keeps the key out of the database.

FluentSMTP, Post SMTP and others

Add a connection of the type Other SMTP (the name differs slightly per plugin) and use the same values: host smtp.securessmtp.com, port 587 with TLS (or 465 with SSL), authentication on, username securessmtp, and your API key as the password.

Examples

All examples use port 587 with STARTTLS, the username securessmtp and the API key from the SECURESSMTP_API_KEY environment variable as the password.

swaks --server smtp.securessmtp.com --port 587 --tls \
  --auth LOGIN --auth-user securessmtp --auth-password "$SECURESSMTP_API_KEY" \
  --from [email protected] --to [email protected] \
  --header "Subject: Hello from SecureSMTP" \
  --body "It works."
In relay mode the From address is replaced by [email protected] and [email protected] becomes the Reply-To.

For port 465, connect with TLS from the start: swaks --tlsc --port 465, smtplib.SMTP_SSL("smtp.securessmtp.com", 465) without starttls(), port: 465, secure: true in nodemailer, or PHPMailer::ENCRYPTION_SMTPS with port 465 in PHPMailer.

Framework settings: Django, Laravel, Ruby on Rails.

Troubleshooting

535 when logging in

  • Check that the password is the whole key, starts with qcs_live_ and has no spaces or line breaks.
  • If the key was rotated, the old key stopped working at once. Use the new one.
  • If the site was disabled, logins are refused. See Blocks.
  • If sending on the site is paused, logins are refused until a person at SecureSMTP releases the site. Open a support ticket at /support. See Deliverability.

The connection times out

Many hosting providers and cloud platforms block outgoing SMTP ports. Try the other port (465 instead of 587, or the other way round). If both are blocked, send with the REST API instead: it uses HTTPS on port 443. See Quickstart.

The client says the server does not support authentication

Login is only offered after TLS is on. Turn on STARTTLS for port 587, or SSL/TLS for port 465. A mismatch (SSL/TLS on 587, or STARTTLS on 465) usually shows up as a TLS handshake error or a timeout.

Recipients see a different From address

That is relay mode. Verify your domain to send from your own address: see Domains and DNS.

The message was accepted but did not arrive

Look it up in the email log. It shows whether the email was delivered, bounced or flagged, and why. Also check the suppression list.

450 4.7.0 during large sends

You sent more than 120 emails in 60 seconds from one site. Most SMTP clients retry on their own. If you send in bulk, slow down to stay under the limit.

450 4.7.0 “We could not check this site’s first email just now”

The AI check of the site’s first email could not run for a moment. Nothing is paused. Your mail program keeps the message and tries again later by itself, so you do not need to do anything. See Deliverability.

550 5.7.1 “Confirm the email address on your SecureSMTP account first”

New accounts confirm their email address before their sites can send. Open the confirm link we emailed you when you signed up, then send again. To get a new link, use the banner at the top of your dashboard. If you signed up with Google, your address is confirmed already.

550 5.7.1 and sending is paused

Sending on the site is paused: its first email looked like phishing, the sending brake found a problem, or our team paused it (for example after the daily spam review). The owner gets an email with the reason. Open a support ticket at /support. A person at SecureSMTP reviews it and releases the site. You cannot un-pause a site in the dashboard. Until then, new SMTP logins fail with 535.