Settings
Settings > Email Service > SMTP Credentials shows the host, port
465 and the username, with copy buttons. Port 2587 is a second STARTTLS port, for networks that block 587.
Before you start
You need two things:- A verified domain. The sender address must be on it. See Domains.
- An API key with the Send Emails permission, used as the password. See API keys. A test key works too: its mail is simulated, not delivered.
Examples
- Nodemailer
- Python
- Environment
How Hiveku reads a message
- Sign-in. The username must be
apikeyand the password a key that may send. The key is checked when the client signs in. - Sender. The envelope sender (
MAIL FROM) must be an address on one of your verified domains, or the message is refused. The From header, with its name, is used when it is on a verified domain. Otherwise Hiveku sends from the envelope address, without a name. - Recipients. The envelope decides who receives the message. Addresses in the To and Cc headers are shown as To and Cc. Every other recipient gets a hidden copy, as Bcc. At most 50 recipients per message.
- Size. At most 25 MB per message, as sent.
- What is kept. Reply-To, attachments (inline images too), and these headers:
List-Unsubscribe,List-Unsubscribe-Post,List-Id,In-Reply-To,References,Auto-Submitted,Precedence, andX-headers except reserved ones such asX-Hiveku-. At most 15 headers. Other headers are dropped, and Hiveku sets From, To, Cc and Subject itself. - Subject. A message without one is sent as “(No Subject)”.
- Tags. SMTP messages carry no tags. Use the REST API if you need them.
- Retries. A client that sends the same message again, byte for byte, after a lost reply gets the first email’s answer. The message goes out once.
- Allowed domains. A key limited to some domains refuses a sender on any other, over SMTP too.
X- headers reach your recipients as they are. Remove headers meant only for an old provider, so they do not leak internal data.Replies
A message Hiveku takes is answered250 Message queued: and the email’s id. Find it in Settings > Email Service > Email Logs. With a key that is not a production key, the reply says the message was simulated and nothing was delivered.
When Hiveku refuses, the reply code says whether to retry:
The reply text says what happened.