Documentation

Transactional sending: how to use it, limits and blocks

How to set up the sending of invoices, bank slips and notices from your system, what the limits are, what is not allowed, why a message is refused and when sending is blocked.

On this page
  1. What it is and what it is for
  2. How to use it, step by step
  3. Limits
  4. What we do not allow
  5. When sending is refused
  6. When we block sending
  7. Common questions

1. What it is and what it is for

In summary

  • What it is for: invoices, bank slips, tracking notices, password resets and confirmations that your company's system sends to one person at a time. Campaigns and purchased lists are not allowed.
  • How to start: subscribe to a plan, add the domain, create two DNS records, generate the sending password and set up SMTP in the system.
  • Limits: up to 50 recipients and 10 MB per message; per account, 120 sends per minute, 2,000 per hour and 10,000 per day; for your whole company, 600 per minute, 10,000 per hour and 50,000 per day.
  • Refusal: a response that starts with 4 is temporary (try again); one that starts with 5 is final (fix the cause).
  • Block: bounces above 5% or complaints above 0.3%, with at least 100 results. Day-to-day email is never affected.

Transactional sending is for the messages that your company's system generates on its own, for a single person, because of something that person did or asked for: the invoice, the bank slip, the tracking code, the link to reset the password, the confirmation of an appointment. The system builds the message and sends it through lua.email, with your company's domain.

What it is

  • System messages, one for each person, that the person expects to receive: invoice, bank slip, order, tracking, billing, password and appointment.
  • Sending done by your system (ERP, online store, software), with its own password that can only send.
  • A service separate from day-to-day email: it uses separate sending addresses and servers, so the reputation of one does not mix with that of the other.

What it is not

  • It is not a campaign. Newsletters, promotions, launches and any promotion to many people at once cannot be sent this way.
  • It is not a purchased list. You send only to people who have a relationship with your company and expect the message.
  • It is not day-to-day email. Conversation between people stays in lua.email mailboxes and in webmail.

To use transactional sending, your domain's email must be on lua.email. The sending account is a mailbox on that domain, such as nfe@yourcompany.com. Plans and the contract are on Transactional email.

2. How to use it, step by step

Whoever administers the domain does the setup once, in the panel, under Transactional sending. The Set up sending button opens a six-step assistant that shows progress and checks each step on its own.

Before you start

  • A sending plan subscribed to at checkout.
  • The domain's email already on lua.email, and your access as administrator of that domain. People with access to only some domains can follow the progress but cannot do the steps.

The six steps

  1. Domain. Choose the domain that will appear as the sender, for example nfe@yourcompany.com, and click Add sending domain. We create the signing key (DKIM) and our own record, with nothing for you to do.
  2. DNS. Create the two records described just below. Sending is enabled only after both are found.
  3. Account. Choose the mailbox your system will use to send. We recommend one mailbox for each system: that way you change one system's password without stopping the others.
  4. Password. Click Generate sending password. The password appears only once: copy it and keep it somewhere safe.
  5. System. Enter the data from the table below in your system's email settings. The screen has ready-made examples for PHP (PHPMailer), Python (smtplib), Node.js (nodemailer) and WordPress (WP Mail SMTP).
  6. Test. Send a message from your system to an address of yours. We do not send anything for you: the screen shows by itself when the message arrives.
Step 1 of the Set up sending assistant, with the suggested domain and the Add button
Step 1: choose the domain (real screen, fictitious data).

The two DNS records

DNS is the list of records that tells the internet where a domain's website and email are. To send with your domain, it needs two records of type CNAME that point to us:

TypeNameValueWhat it is for
CNAMEluaenvio._domainkey.yourcompany.com<number>.dkim.luaenvio.comThe signature (DKIM): it proves that the message really came from your domain.
CNAMEenvio.yourcompany.comrp.luaenvio.comThe return address: it is where the notices of undelivered messages come back to.

The panel shows the number and the exact names for your domain, ready to copy. There are two ways:

  • Your domain's DNS belongs to Edgium. Click Set it up for me. The panel shows exactly what will be created, and you confirm with Create 2 records. We never delete or replace a record that already exists: if there is another record with the same name, nothing is created, and the panel shows the conflict for you to resolve.
  • Your DNS is with another provider. Open that provider's DNS panel, create the two records with the names and values from the panel and save. Some providers add the domain to the record name: if the field already appends the domain, enter only the part before it. On Cloudflare, leave both records as DNS only, without proxy.
Step 2 of the assistant, with the two CNAME records to copy and the notice that the screen is waiting for DNS
Step 2: the two records, ready to copy (real screen, fictitious data).

The check is automatic and can take a few minutes after DNS updates. To ask for it right away, click Check now (one request per minute). The domain status appears as Waiting for the records, Verified or Verification failed.

To learn more about the domain's records, see Manage my DNS and the Admin panel manual.

Keep the records in DNS. If one of them stays more than 72 hours in a row without being found, sending for that domain is suspended, and the status becomes Suspended by DNS. When you recreate the record, sending resumes on its own. If the domain is removed from sending and added again, the values change and you will need to update DNS.

Sending domains screen, with the verified domain and the two records found
Sending domains: the verified domain and the records found (real screen, fictitious data).

The SMTP data

SMTP is the protocol that systems use to send email. Enter this data in your system's email settings:

FieldValue
Sending server (SMTP)smtp.luaenvio.com
Port587 with STARTTLS, or 465 with SSL/TLS
UsernameThe full address of the account, such as nfe@yourcompany.com
PasswordThe sending password (it is not the mailbox password)
SenderThe account itself, or an alias that delivers only to it
  • The sending password only sends. With it, nobody can read the mailbox's messages or sign in to webmail. The mailbox password and the app password do not work for sending.
  • Changing the password (Replace sending password button) makes the previous one stop working at once, and the system that uses it stops sending until it receives the new one. To end the use of an account, use Turn off sending.
  • The sender must be the account itself or an alias that delivers only to it. A group and a catch-all (an address that receives everything for the domain) do not give the right to send.
  • Try again. Set up the system to try again when the server replies with a code that starts with 4. Without that, the message is not sent. See the section When sending is refused.
Step 4 of the assistant, with the generated sending password hidden and the Copy and Secure link buttons
Step 4: the sending password appears only once, and here it is hidden (real screen, fictitious data).
Sending accounts screen, with the accounts that send and the Replace sending password and Turn off sending buttons
Sending accounts: one password for each account (real screen, fictitious data).

Checking the test and following the sending

In the test step, the screen shows We received the message and, afterwards, Message delivered to the recipient's server. Delivered means the recipient's server accepted the message. Where it ends up afterwards, in the inbox or in spam, is the decision of the recipient's provider, and we do not promise inbox placement.

Step 6 of the assistant, which waits for the first message from the system and shows what to check
Step 6: the test (real screen, fictitious data).
Messages screen, with each message sent, the recipient and the Delivered status
Messages: the result of each send (real screen, fictitious data).
Timeline of a message, with Accepted and placed in the queue and Delivered to the destination server
The timeline of a message (real screen, fictitious data).

If the message does not appear, check that the domain is Verified (step 2), that the account has a sending password (step 4), that there is still balance and that sending is not blocked or suspended. Then use the panel tabs: Summary (balance and usage), Messages (each message, with its timeline, kept for 180 days), Returned messages, Sending accounts, Sending domains and How to set up.

3. Limits

These are the limits of transactional sending. Each recipient of a message counts as one send, including those in copy. When an account or customer limit is reached, the response is temporary (it starts with 4): nothing is charged to your balance and nothing is blocked. The system should try again later.

LimitValueWhen it is reached
Recipients per messageUp to 50The server refuses only the recipients beyond the limit (response 452). Send the rest in another message.
Sends per minute, per accountUp to 120The response is 451 and mentions a per-minute limit for the account. Wait a minute and try again.
Sends per hour, per accountUp to 2,000The response is 451 and mentions a per-hour limit for the account. Try again in the next hour.
Sends per day, per accountUp to 10,000The response is 451 and mentions a per-day limit for the account. Try again the next day.
Whole company, all accounts combinedUp to 600 per minute, 10,000 per hour and 50,000 per dayThe response is 451 and mentions a limit for the company's plan. Wait for the window to end (minute, hour or day) and try again.
Message sizeUp to 10 MB, already encoded, which is about 7 MB of filesThe message is refused before it is sent, and nothing is charged.
Unusual volumeMore than 10 times the hourly average of the last 7 days, and at least 500 messagesSending is slowed down with a 451 response, our team is notified, and there is no block.
New customer: daily cap200, 500, 1,000, 2,500, 5,000, 10,000 and 25,000 sends, one step per dayThe response is 451, with the note about the new account's daily limit. See below.
Per destination domainUp to 4,000 sends per hour for each receiving domain, adding up all customersThe message was already accepted and counted, and those beyond the limit are held and go out in the next hour. None is bounced or lost.

What to do when a limit is reached

In the per-minute, per-hour and per-day limits, the account or customer receives the 451 response, which is temporary. It is not an error in the message or a block: your balance is not spent, and the message simply was not accepted right now. Your company's system should keep it and try again later, as it does with any response that starts with 4. Each window is fixed, counted by the clock minute, hour and day: after the window ends, sending resumes. If your system sends in bursts, spread the sends over time.

The destination-domain limit works differently. The destination domain is the part of the address after the at sign, such as example.com, and each domain is counted separately. The limit is general, not per customer: it adds up what all customers send to that domain in the same hour, to protect the reputation of our sending addresses from a burst to a single provider. You get no refusal response because of it: the message is accepted, and those beyond the limit are held and go out in the next hour.

New customer: the daily cap rises in steps

A new account starts with a low daily cap, so that the sending reputation grows along with usage. The cap rises one step per day, following the table, when two conditions are met: the bounce rate of the last 24 hours is below 3% (or there are fewer than 100 results) and the previous day's usage was at least 50% of the cap. After the last step, the account's daily limit and your package apply. If usage is lower or there are too many bounces, the cap does not rise, and it never goes down for that reason.

Balance: monthly package and extra sends

TopicHow it works
Monthly packageIt is the quantity of your plan. The balance is shared by your whole company, adding up all accounts, and the panel shows which account sent each message. The package resets at the monthly renewal.
Extra sendsThey are valid for 90 days from the date they arrived and are used only after the month's package runs out. Among several extra packages, the one that expires first is used first.
How sends are countedEach recipient is worth one send. A new attempt at the same message does not count again. A message bounced by the destination still counts.
All or nothingIf the balance does not cover all the message's recipients, the whole message is refused (response 552), and nothing is charged.
NoticesThe panel and email warn you when 80% of the balance has been used and when it runs out. With no balance left, sending stays stopped until you buy more sends.
Transactional sending Summary screen, with the sending balance, the monthly package and the extra packages
Summary: balance, monthly package and extra packages (real screen, fictitious data).

These are the default limits and apply per account and per customer, counting each recipient as one send. If your company needs a larger volume, talk to our team: the adjustment is made per customer, within safe ranges, and there is never sending without a limit.

4. What we do not allow

Transactional sending is for messages that each person expects to receive. Some things are refused automatically, and others are not allowed because of what the service is meant for.

Not allowed, because it is another kind of sending

  • Campaigns, newsletters, promotions and any mass promotion.
  • Purchased or rented lists, or lists of people who did not ask for or expect the message.
  • Scams, phishing and messages that pretend to be another company or person.

Refused automatically

  • Sender from another domain. The sender's address must belong to a verified domain of your company, and be the account itself or an alias that delivers only to it. The message must have a single From header with a single valid address.
  • Domain not yet verified. Until both DNS records are found, sending for that domain is not enabled.
  • Executable or script attachment. Executable and script attachments, such as exe, scr, js, vbs, bat, jar and lnk, are refused.
  • Attachment with two types in the name. A name such as invoice.pdf.exe, which shows a document but ends in an executable, is refused.
  • Executable or script inside a compressed file. A .zip that contains an executable or a script, such as setup.exe, b.js or invoice.pdf.exe, is also refused.
  • Recipient on the bounce block list. An address that already bounced messages because it does not exist stops receiving, without using your balance. Only that recipient is refused, and you remove the address from the list after fixing it, under Returned messages.
  • Message without login or with the mailbox password instead of the sending password.

What passes

The everyday attachments of a system pass: documents and spreadsheets (PDF, Word, Excel, CSV), images, the invoice XML, the bank slip HTML, the calendar invitation (ICS), bank remittance and return files, label printing files and .zip files that contain only those documents, such as PDF and XML.

The attachment filter refuses a loose executable, one with a double name and one that comes inside a compressed file. A password-protected compressed file and a compressed file inside another one are not refused by this filter. Responsibility for what your company sends remains with your company.

5. When sending is refused

When the server refuses a message, it replies with a three-digit code and a sentence in English. The first digit tells you what to do: 5 is final, and the message will only be accepted after you fix the cause; 4 is temporary, and the system should try again.

Responses that start with 4: try again. Set up your system to repeat the sending a few minutes later and, if it continues, at longer intervals. Not every system does this on its own: without the new attempt, the message is not sent. When the failure is on our side, nothing is charged.

Final refusals (start with 5)

Server responseReasonWhat to do
535Sending password or user not accepted: wrong or already changed password, account without sending turned on, inactive mailbox or a contract that is not active.Use the account's full address as the user and the sending password, not the mailbox one. If the password was lost, generate another under Sending accounts.
550 5.7.1, Authentication requiredThe system sent without logging in.Turn on SMTP authentication in the system, with the sending user and password.
550 5.7.1, Sending not enabled for this accountSending is turned off on this account, or the mailbox is inactive.Under Sending accounts, generate the account's sending password, which turns sending on, and check that the mailbox is active.
550 5.7.1, Sender domain not verifiedThe sender's domain has not been verified yet: the two DNS records were not found.Under Sending domains, check the two records and click Check now.
550 5.7.1, Sender address not allowed for this account or From address not allowed for this accountThe sender is not the account itself or an alias that delivers only to it.Use the account or an alias exclusive to it as the sender.
550 5.7.1, Sender address not allowed or Invalid From headerThe sender is empty or invalid, or the message does not have exactly one address in the From header.Set up a sender with a single valid address in the system.
550 5.7.1, Attachment type not allowedThe message has an executable attachment or a name with two types.Remove the attachment. See the list in the section What we do not allow.
550 5.7.1, Recipient is on your suppression listThis recipient already bounced messages because it does not exist and is on the bounce block list. Only that recipient is refused.Fix the address. Under Returned messages, remove it from the block list.
550 5.7.1, Sending is blocked for this accountThe sending contract is suspended or does not exist.Regularize the contract. If you have questions, talk to our team.
550 5.7.1, Sending blocked: bounce or complaint rate too high; contact supportSending was blocked because of too many bounces or complaints.See the section When we block sending and talk to our team.
552 5.7.1, Sending quota exhaustedThe balance does not cover all the message's recipients. Nothing was charged.Subscribe to more sends, monthly or extra.
Message above 10 MBThe message is larger than the 10 MB limit and is refused.Reduce the attachments or send a link to the file.

Temporary refusals (start with 4)

Server responseReasonWhat to do
452 4.5.3, Too many recipients in this messageThe message has more than 50 recipients. Only those beyond the limit are refused.Send the remaining recipients in another message.
451 4.7.1, Sending rate limit reached per minute/hour/day ...A per-minute, per-hour or per-day sending limit was reached, for the account or for your plan. With the text new account daily limit, it is the daily cap for new customers.Wait and try again. Nothing was charged and nothing was blocked.
451 4.7.1, Unusual sending volume detectedThe hour's volume was far above the pattern of recent days, and sending was slowed down.Try again later. Our team is notified, and there is no block.
451 4.3.0, Temporary failure, try again laterA failure on our side. Nothing was charged.Try again in a few minutes. If it continues, talk to our team.
Response that starts with 4 at loginLogin is temporarily unavailable.Try again in a few minutes.

6. When we block sending

A block is different from a refusal: a refusal applies to one message, and a block applies to all sending until the cause is resolved. The table shows each case, what causes it and who lifts it.

SituationWhat causes itWho lifts it and how
Bounces above 5%More than 5% of the messages with a result bounced, within 24 hours or 7 days, with at least 100 results in the window.Only the Edgium team lifts it, after checking. See below.
Complaints above 0.3%More than 0.3% complaints from the people who received the delivered messages, with at least 100 delivered in the 24-hour or 7-day window.Same as bounces: only the Edgium team lifts it.
Suspended contractThe sending contract is suspended, for example because of a late payment.Sending resumes when the contract is regularized in the billing system, and only through it.
Balance used upThe month's package and the extra sends have run out.You subscribe to more sends, and sending resumes.
Domain without its DNS recordsOne of the two records stayed more than 72 hours in a row without being found.You recreate the record, and sending for that domain resumes on its own.
Account turned offSending was turned off on the account or the mailbox was deactivated.You turn sending on and generate the sending password under Sending accounts.

Bounces above 5%

A bounce is a message that the recipient's server refuses definitively, for example because the address does not exist or the mailbox is full. The rate is the number of bounced messages divided by the total of messages with a result (delivered plus bounced). The panel warns you from 3%, and sending is blocked when the rate goes above 5% (5.0% does not block, 5.1% does). Only a 24-hour or 7-day window with at least 100 results counts: with fewer than that, nothing warns or blocks.

A failure on our side and a message that was delayed and then delivered do not count as a bounce. An example: in 24 hours, 200 messages had a result and 12 bounced. The rate is 6%, and sending is blocked.

Complaints above 0.3%

A complaint is when the person who received the message marks it as unwanted. If complaints go above 0.3% of delivered messages, within 24 hours or 7 days, with at least 100 delivered in the window, sending is also blocked. The release follows the same path as for bounces, described below.

What happens to the messages

  • Messages that were already accepted and are in the delivery queue continue, because they were already accepted and charged to the balance.
  • The block applies to the next message: the server refuses it right away, with the sentence Sending blocked: bounce or complaint rate too high; contact support, and nothing is charged.
  • The panel shows the sending-blocked notice, and the Edgium team is also notified.
  • Day-to-day email is not affected. Mailboxes, webmail and receiving keep working.

How to ask for the release

  1. Find out where the bounces came from. Under Returned messages, the panel shows each bounced message, with the reason and the account that sent it.
  2. Fix the source: your system's address records, the recipient list or the form that collects the emails. Remove from the block list the addresses you fixed.
  3. Talk to our team, on WhatsApp or by opening a ticket, and tell us the domain and what was fixed. The team checks which account the bounces came from, which addresses they were and whether the list was fixed, and then lifts the block.
Returned messages screen, with the return rate, the bounced messages, the reason and the code of each one
Returned messages: the reason for each bounced message (real screen, fictitious data).

After the release, the rate is counted again from the next full hour. Until then, a safety cap applies: if bounces go above 5% with at least 100 results counted since the release, sending is blocked again. After that, the normal rule applies again.

What does not block sending

  • Reaching a sending limit: it is a temporary refusal (451), at no cost and with no block.
  • Unusual volume: sending is slowed down for a while and the team is notified, with no block.
  • An address that does not exist: only that address goes on the bounce block list, and the rest continues.
  • Fewer than 100 results in the window: the rate does not say anything yet.
  • A failure on our side and a delayed message: they do not enter the bounce rate.
  • Balance used up: sending is refused (552) until you subscribe, with no penalty at all.
  • Your company's day-to-day email: it is never blocked because of transactional sending.

7. Common questions

  • Can I use my mailbox password in the system? No. Transactional sending accepts only the sending password, and it can only send.
  • Can I send a newsletter or promotion? No. Transactional sending is not for mass promotion.
  • How many sends does a message use? One per recipient, including those in copy. A message to three people uses three sends.
  • What happens if the balance runs out? Sending stops until you buy more, and new messages are refused with response 552. Day-to-day email keeps working.
  • Does delivered mean it reached the inbox? No. It means the recipient's server accepted the message. Where it ends up afterwards is the decision of its provider, and we do not promise inbox placement.
  • What helps a message arrive well? Correct DNS records, correct recipient addresses, messages the person expects to receive and a subject line that says what it is about.
  • Can I have several sending accounts? Yes, one for each system. There is a single balance shared by all accounts, and each account's password is independent.
  • My system does not try again. Now what? Look in the system's email settings for the option to repeat sending when the server replies with a code that starts with 4. If it does not exist, talk to whoever looks after the system: without the new attempt, a temporarily refused message is not sent.
  • I need a larger volume or a different limit. Talk to our team, who will assess your case and adjust the limit per customer.