Send via SMTP Email Relay

Point your software at the relay

Get the four SMTP connection settings right, avoid the most common username mistake, and confirm mail really goes through the relay.

Every piece of mail software asks for the same four things: server, port, username, password.

Before you start

The four settings

Go to Email Relay → SMTP configuration. The connection settings block shows everything, with a copy button on each field.

The SMTP configuration connection block: host, port 587 noted as recommended STARTTLS, alternative port 465 with implicit SSL/TLS, the fixed username apikey and the password being the SMTP key

SettingValue
Hostsmtp.cloudfly.vn
Port587 — STARTTLS, recommended
Alternative port465 — implicit SSL/TLS (SMTPS)
Usernameapikey
Passwordyour SMTP key, shaped like cfr_...

Use port 587 unless your software only supports implicit SSL — then use 465. Do not use an unencrypted connection.

The username is always apikey, never your email address

This is the mistake made most often on a first setup. The username field takes the literal string apikey — fixed, for every account and every domain.

Putting an email address there is rejected as an authentication failure, and the error looks exactly like a wrong password, which sends people looking in the wrong place.

The password is the SMTP key. It is not your console login password, and not any mailbox password.

The sender address must match the domain

The sender address field must hold an address on a domain activated in Email Relay.

These three fields are different and easily confused:

FieldWhat goes in it
Usernameapikey
Passwordthe SMTP key cfr_...
From / sender addressno-reply@example.com — an activated domain

Sample configurations per platform

The sample configuration by platform section on that same page gives a copy-paste block with your server, port and domain already filled in.

Software without its own tab still works: anything that speaks SMTP takes the same four settings.

Message size

The size limit block states the ceiling for one message, counting attachments after encoding.

Large files should go as a download link: it stays under the limit and is less likely to be filed as junk.

Check your work

  1. Make the software send a real message to a mailbox you control
  2. The message arrives
  3. Open Email Relay → Stats & logs and find the matching row

Step 3 is the real confirmation: if the message arrives but no row appears in the logs, the software is still sending the old way.

When it will not send

In order:

  1. Authentication rejected. Check the username is the literal apikey. Only then suspect the password.
  2. Rejected for the sender address. The From address is not on an activated domain, or the SMTP key is bound to a different domain.
  3. Cannot connect. Your server blocks outbound mail ports. Try both 587 and 465; many hosting providers block mail ports by default and open them on request.
  4. Sends but does not arrive. Not a connection problem — see Troubleshoot Email Relay.