Skip to content
Help support@rechnungskit.de
Topics: Using features

Setting up your own mail server (SMTP)

Send invoices through your own mail server: settings for Gmail, Google Workspace, Microsoft 365 and Brevo, typical error messages and what they mean.

Updated

With the delivery method "Own SMTP", Rechnungskit sends your invoices through your own mail server. The emails then come from your domain and land in your sent folder. The alternatives are "Rechnungskit delivery", which works without any setup, and sending through your own AhaSend account (separate guide).

Setting it up

  1. Open Settings → Documents → Invoice e-mails and choose "Own SMTP" as the delivery method.
  2. Enter host, port, user and password. For the host, only the server name, without https:// and without a path. "Sender address" is the address your invoices come from. The preview up in the email templates section shows the sender the way your customer sees it.
  3. Click "Test connection". Rechnungskit logs in to your server and sends you a test email.

For security reasons you never see the password again after saving; the field then only shows "Saved". "Test connection" then uses the saved password. If you change the server or the user, Rechnungskit asks for the password again, so it never goes to a different server.

When you save, Rechnungskit logs in to your server right away, without a test email. Below the fields you then see whether the saved credentials work and when that was last checked. Every real invoice sent through your server keeps this display up to date too. If your server rejects the login, the reason appears there. 4. If the test succeeds, save the delivery method.

Good to know:

  • The sender is the sender address. If you leave the field empty, invoices go out with the address you use to log in to the mail server (with Gmail, Microsoft 365, STRATO or IONOS, the mailbox itself). If the user is not an email address, Rechnungskit uses the contact address from your account details. Most mailbox providers only allow senders that belong to the logged-in mailbox.
  • Encryption is required. On port 587 Rechnungskit uses STARTTLS, on port 465 a direct TLS connection. Rechnungskit does not accept an unencrypted connection.
  • The server must be reachable from the internet. A mail server that only runs inside the company network does not work.

Gmail and Google Workspace

Field Value
Host smtp.gmail.com
Port 587
User your full address, for example info@your-company.com
Password an app password, not your normal Google password

Google does not allow logging in with the normal password to send mail from other programs. You need an app password:

  1. In your Google account, under Security, turn on 2-Step Verification if it is still off.
  2. Under Security → App passwords, create a new app password, for example named "Rechnungskit".
  3. Enter the 16 characters in Rechnungskit as the password, without spaces.

With Google Workspace, the administrator can block app passwords or SMTP access for the mailbox. If the App passwords option does not show up, ask your domain's administrator.

Microsoft 365 and Outlook

Field Value
Host smtp.office365.com
Port 587
User your full address
Password the mailbox password

"Authenticated SMTP" (SMTP AUTH) must be enabled for the mailbox. The administrator sets this in the Microsoft 365 admin center on the user under Mail, Manage email apps. Microsoft is gradually restricting password login for sending mail. If SMTP AUTH cannot be switched on for you, use Rechnungskit delivery.

Brevo

Brevo is a European email service with SMTP access. On the free plan you can send up to 300 emails a day, which is often enough for a small shop's invoices. If you send more on some days, the rest do not go out and Rechnungskit creates tasks for them. Then you need a paid plan.

Field Value
Host smtp-relay.brevo.com
Port 587
User the SMTP login from Brevo (Settings → SMTP & API → SMTP), for example 9f4f1e001@smtp-brevo.com
Password an SMTP key you generate there, not your Brevo password
Sender address an address on your domain verified in Brevo, for example invoices@your-company.com

The Brevo user looks like an email address but is only a login ID. It cannot be the sender, so with Brevo the sender address is required. Verify your domain in Brevo first (Senders & Domains). Without a verified domain, Brevo refuses to send or your invoices end up in spam.

Other providers

Hostname, port and type of login are in your provider's help pages, usually under "SMTP" or "outgoing mail server". Use port 587 or 465. Some providers also require a separate password for external programs.

Error messages and what they mean

If the test or a delivery fails, Rechnungskit shows what caused it, and for the test also your mail server's response.

Message in Rechnungskit Typical server response What to do
Login rejected 535 5.7.8 Username and Password not accepted, Authentication unsuccessful For Gmail enter an app password, for Microsoft 365 enable SMTP AUTH, enter the user as the full address
Mail server unreachable ENOTFOUND, ETIMEDOUT, Connection timeout Check hostname and port
Encrypted connection failed Must issue a STARTTLS command first, wrong version number Use port 587 or 465
Sender address not allowed Sender address rejected, not authorized to send Leave the sender address empty or enter one that belongs to the mailbox; with Brevo, an address on the verified domain
Recipient address rejected Recipient address rejected, User unknown Check the customer's email address

Only the last row is on the customer's side. All other errors come from your mail server settings, and simply sending the invoice again does not help there.

When an invoice did not go out

The invoice itself has been created and archived in any case; only the delivery is missing. After fixing the problem, open the invoice and click "Send invoice" or "Send again". You then close the related task yourself.

Your own AhaSend account

No mail server of your own, but still sending from your domain: that works with your own AhaSend account. The guide Sending invoices through AhaSend explains the setup.

Rechnungskit delivery as the alternative

If you switch to "Rechnungskit delivery" under Settings → Documents → Invoice e-mails, invoices go out through Rechnungskit's infrastructure, with your company name as the sender name. Your customers' replies go to the reply-to address you enter there.

Where to find it in the app

Still have a question? Ask Kit in the app or write to support@rechnungskit.de
No tax or legal advice

Rechnungskit is not a tax advisory or law firm. This article explains general principles and does not replace advice from a tax advisor (Steuerberater, § 5 StBerG) or a lawyer (§ 3 RDG). Rechnungskit is built for businesses based in Germany and prepares documents, tax rates and bookings automatically. How your specific case is treated remains your decision, ideally together with your tax advisor or a lawyer.

de en