Email server (SMTP)
Send through the email account you already have.
On this page
- What SMTP is
- What you need
- Where to find the server, port and username
- Which port to choose
- Make an app password
- Add the connection, step by step
- Test it: one minute
- What goes out through it
- When the server is busy or silent
- Privacy and safety
- Reading mail (IMAP) is separate
- Troubleshooting, by message
- "Your mail server did not accept the username or password."
- "Your mail server does not offer signing in with a username and password."
- "A secure (encrypted) connection to your mail server could not be set up."
- "Operacora could not connect to your mail server." or "Your mail server did not answer in time."
- "Your mail server does not let this account send from the 'Send from' address."
- "Your mail server refused to pass the email on to this address (relaying denied)."
- "Your mail server refused the recipient's address."
- "Your mail server refused the message."
- "Your mail server asked to try again later, several times in a row."
- "This port cannot be used."
- "Not sure it was sent" or "the server's answer never came"
- "Today's limit of emails for your organization is reached."
- "Your account has no email address, so there is nowhere to send the test."
- The test email arrived in spam, or not at all although it says Sent
Operacora can send your emails through the mail server your organization already uses. You type four things once: the server's name, a port, a username and an app password. From then on, replies to people who report problems, automatic replies (Received, Assigned, Done), new emails you write from a job and email notifications to your staff go out through that server, from your own address.
The short version. Make an app password with your email provider. Open Settings › Connections, choose Add connection, then Email, then Email server (SMTP). Fill in Server, Port (587 for most), Username, App password and Send from, and save. Then use Test and Send a test email. When the test email is in your inbox, you are done.
Microsoft 365 or Google Workspace? Signing in is easier and safer than a password: see Microsoft 365 mailbox and Google Workspace mailbox. Use this page when you cannot or do not want to sign in that way, or when your email is somewhere else (your own server, your web host, Zoho, Fastmail and many others).
What SMTP is#
SMTP is the standard way a program hands an email to a mail server so the server delivers it. Every email service has an SMTP server; it is what your phone's mail app and your office printer's "scan to email" use. To use it, a program needs to know:
- The server's name (also called host or outgoing mail server), for example
smtp.yourprovider.example. - A port: a number that says which door of the server to use. For sending with a password it is 587 or 465.
- A username: almost always the full email address of the account.
- A password. For this, use an app password: a separate password made for one program. You can delete it at any time without changing your real password, and it cannot be used to sign in to your account's settings.
Operacora only sends through this connection. It does not read your mailbox. To turn emails into jobs, use Email intake (your mailbox forwards to a private address per building).
What you need#
- The Manage connections permission in Operacora.
- An email account you may send from, and its server name and port (the table below has the usual ones).
- An app password for that account (how to make one).
- An email address on your own Operacora account, so you can send yourself the test email.
Where to find the server, port and username#
Your email provider's help pages list them under names such as "SMTP settings", "outgoing mail server" or "set up an email program". These are the usual values. Providers change them now and then: if one does not work, check the provider's own help page.
| Email service | Server | Port | Username | Password |
|---|---|---|---|---|
| Google Workspace, Gmail | smtp.gmail.com | 587 (or 465) | Your full email address | An app password (steps) |
| Microsoft 365 (work or school) | smtp.office365.com | 587 | Your full email address | An app password, and "Authenticated SMTP" turned on (steps) |
| Zoho Mail | smtp.zoho.com (other regions end differently, for example .eu) | 587 (or 465) | Your full email address | An application-specific password |
| Fastmail | smtp.fastmail.com | 465 (or 587) | Your full email address | An app password |
| Your web host or your own server | Usually mail. followed by your domain; your host's control panel shows it | 587 or 465 | The mailbox's full address | The mailbox's password, or an app password if the host offers one |
| A sending service with SMTP (for example Amazon SES, SendGrid, Mailgun) | Shown where the service lists its SMTP settings | 587 (some also offer 2525) | The SMTP username the service gives you (often not an email address) | The SMTP password or key the service gives you |
Which port to choose#
- 587: try this first. The connection starts plain and is switched to an encrypted one at once (this is called STARTTLS) before anything private is said.
- 465: encrypted from the very first moment. Use it when your provider lists 465, or when 587 does not work.
- 2525: a spare for 587 that some sending services offer. Use it only when your provider lists it.
- 25 cannot be used. Port 25 is the door mail servers use among themselves; it is closed to apps like Operacora, and the Port field does not accept it. If your provider's page lists only port 25, look for its 587 or 465 settings (often called "submission" or "SSL/TLS").
Whatever the port, Operacora gives your username and password only over an encrypted connection. If the server cannot encrypt, nothing is sent and the password is not given. The server's security certificate must be a normal, valid one for the server name you typed (a home-made certificate is refused).
Make an app password#
Google Workspace and Gmail#
- App passwords need 2-Step Verification. Open
myaccount.google.com, choose Security, and turn on 2-Step Verification if it is off. - Open
myaccount.google.com/apppasswords(sign in again if asked). - Type a name such as
Operacoraand press Create. - Google shows a 16-letter password once. Copy it and type it into Operacora without the spaces. You cannot see it again later; if you lose it, delete it and make a new one.
No "App passwords" page? Your Google Workspace admin may have turned it off, your account may use only security keys for 2-Step Verification, or it is in Google's Advanced Protection. In all three cases use Sign in with Google instead.
Microsoft 365#
For Microsoft 365 we recommend signing in with Microsoft: it needs no password, and Microsoft is moving away from password sign-in for SMTP. If you still want SMTP, two things must be true, and both are decided by your Microsoft 365 administrator:
- "Authenticated SMTP" is on for the mailbox. Many Microsoft 365 organizations have it turned off. In the Microsoft 365 admin center: Users › Active users, choose the user, then Mail › Manage email apps, tick Authenticated SMTP and save. It can take up to an hour to take effect. If the organization uses "security defaults" or a policy that blocks older sign-ins, SMTP with a password stays blocked whatever this box says.
- The account has a password that works without a second step. If the account uses multi-factor sign-in, it needs an app password: the user opens
mysignins.microsoft.com/security-info, chooses Add sign-in method, then App password. If that choice is missing, the administrator has not allowed app passwords.
If either is not possible, sign in with Microsoft instead. The error 535 5.7.139 in a test means exactly this (see below).
Other providers#
Search your provider's help for "app password" or "application-specific password". Where a provider has none, use the mailbox's own password, and consider a mailbox made only for Operacora.
Add the connection, step by step#
- Open Settings › Connections and press Add connection.
- Press the Email chip and choose Email server (SMTP).
- Name (optional). A name for your own list, such as
Front office server. - Server. The server's name, for example
smtp.gmail.com. Nohttps://and no spaces. - Port.
587,465or2525(which one). - Username. Usually your full email address.
- App password. The app password you made. It is encrypted when you save and never shown again: later you only see its last four characters.
- Send from. The address people see as the sender. It must be the account's own address, or an address your email provider lets that account send as (an alias). Otherwise the server refuses the email.
- Sender name (optional). The name shown next to the address, such as
Front office. Left empty, your organization's name is used. - Building. Choose the building whose emails go out through this server, or All buildings. You can add one connection per building.
- Press Save.
Test it: one minute#
- Press Test. Operacora connects to your server, switches to an encrypted connection, signs in with the username and password, and leaves. Nothing is sent. You see Working: your mail server accepted the username and password, or a sentence that says what went wrong.
- Press Send a test email. Operacora sends one short email through this connection to your own address (the email address of your Operacora account; it cannot be sent to anyone else). You see Sent to ….
- Look in your inbox, and in the spam folder. The email is called Test email from Operacora. If it is there, replies will arrive too.
Both buttons are on the connection's row in Settings › Connections, and in the dialog right after you save. A test email counts toward your organization's daily email limit (Settings › Replies).
When a test fails, the sentence may end with the server's own reply numbers, for example (The server answered 535 5.7.8.). They are what your email provider's support will ask for; the troubleshooting list explains the common ones.
What goes out through it#
- Replies a manager writes on a job that came in by email, automatic replies your organization turned on, new emails written from a job, and email notifications to your staff: the same as with any other email sender. See Conversations and replies.
- Which connection is used. The sender set for the job's building, else your organization's default sender. A connection that is turned off is never used.
- Replies stay in one conversation. A reply carries the headers that tie it to the original email (In-Reply-To and References), so the requester's mail program shows it under their own message. When the building has an email intake address, the reply's Reply-To leads back to the job, so their answer joins it.
- Text and a formatted version. Each email has a plain-text part and a formatted (HTML) part with your organization's look, like emails sent by the other senders.
- The same rules. The daily email limit, one message per press of Send, and the rule that automatic replies carry only the request number and status all apply.
- A copy in Sent? That is up to your mail server. Gmail and Microsoft 365 keep a copy in the account's Sent folder; many other servers do not. The email is always in the job's conversation in Operacora.
- Your provider's own limits. Email services limit how many emails an account may send in a day; your provider's help page has the number. Past it, the server refuses and the message shows as failed.
When the server is busy or silent#
- If your server says "try again later", or does not answer, the message waits and Operacora tries again after 1, 5 and 30 minutes. After that it shows Failed with the reason.
- If the email was handed over completely but the server's final answer never came, the message shows Not sure it was sent and is not sent again by itself, so nobody gets it twice. Check the account's Sent folder or your provider's log, then send it again if needed.
- If the server refuses the username or password, the connection shows Failed in Settings › Connections until a Test succeeds again.
Privacy and safety#
- The password is encrypted before it is stored, is never shown again, and never leaves the server except to sign in to your mail server over an encrypted connection.
- Operacora never writes the password or the text of your emails to its logs.
- Error messages show Operacora's own explanation and the server's reply numbers, never the server's own wording (it can contain account names).
- A connection belongs to one organization. Another organization can never send through it or test it.
- To stop Operacora's access at any time, delete the app password at your email provider, or remove the connection (Manage › Remove…).
Reading mail (IMAP) is separate#
This connection sends only. Orders mailbox (IMAP) in the same list keeps the settings of a mailbox to read; reading it is Coming and it has no Test button yet. To turn emails into jobs today, use Email intake.
Troubleshooting, by message#
"Your mail server did not accept the username or password."#
- Use an app password, not the password you sign in with. For Google, type it without spaces.
- Check the username: normally the full email address, with no space before or after.
- Google, "534 5.7.9" or "535 5.7.8": the account needs an app password (steps), or the app password was deleted. Make a new one, open Manage, type it and save.
- Microsoft 365, "535 5.7.139": SMTP sign-in with a password is turned off for the mailbox or the whole organization, or the account needs an app password. See Microsoft 365, or sign in with Microsoft instead.
- After you change anything, press Test again: the connection turns back to Working.
"Your mail server does not offer signing in with a username and password."#
The server only accepts other kinds of sign-in. For Microsoft 365 or Google, connect the mailbox by signing in. For another provider, ask which server and port email programs should use ("SMTP submission").
"A secure (encrypted) connection to your mail server could not be set up."#
- Check the port. With 587 the server must offer STARTTLS; with 465 it must encrypt from the first moment. If one fails, try the other.
- The server's certificate must be valid and must match the server name you typed. Use the name your provider gives (for example
smtp.gmail.com), not a number address or a nickname. - Nothing was sent, and the password was not given to the server.
"Operacora could not connect to your mail server." or "Your mail server did not answer in time."#
- Check the server name for typing mistakes.
- Check the port. A server that listens on 465 does not answer on 587 in the same way, and the other way round: try the other one.
- A server inside your own building must be reachable from the internet. A firewall that only lets your own offices in also keeps Operacora out; ask whoever runs it.
- If the settings are right and it worked before, the server may be busy. Try again in a few minutes.
"Your mail server does not let this account send from the 'Send from' address."#
The server only lets an account send as itself. Set Send from to the account's own address, or add the address as an alias (Gmail: Settings › Accounts › Send mail as; Microsoft 365: your administrator gives the account "Send as" permission). Reply numbers you may see: 553 5.7.1, 550 5.7.60, 554 5.2.252.
"Your mail server refused to pass the email on to this address (relaying denied)."#
The server accepted the sign-in but will not send to addresses outside your organization for this account. Check that you used the sending ("submission") server and port your provider lists, and that the account is allowed to send to outside addresses.
"Your mail server refused the recipient's address."#
The address does not exist or is mistyped (reply numbers such as 550 5.1.1). Check it on the job, or in the Directory.
"Your mail server refused the message."#
The server took the sign-in and the addresses but not the email itself: it was too large, the account reached its daily sending limit, or a rule of the server blocked it. Your email provider's log or support can say which.
"Your mail server asked to try again later, several times in a row."#
A temporary problem at the server (reply numbers starting with 4, such as 421 or 451). Send it again later. If it keeps happening, the account may be sending more than the provider allows.
"This port cannot be used."#
Choose 587 or 465 (which port). Port 25 is closed to apps like Operacora.
"Not sure it was sent" or "the server's answer never came"#
The email was handed to your server, and then the connection went silent. It may have gone out. Check the Sent folder or the recipient before sending again.
"Today's limit of emails for your organization is reached."#
This is Operacora's own daily limit, which protects you from a runaway. Raise it in Settings › Replies, or wait until tomorrow.
"Your account has no email address, so there is nowhere to send the test."#
The test email goes to the address on your own Operacora account. A manager adds it in People.
The test email arrived in spam, or not at all although it says Sent#
- Sent means your mail server accepted the email. What happens after that is between your server and the recipient's.
- Make sure Send from is an address of the domain the account belongs to. Sending as another domain's address is what spam filters look for.
- Ask whoever manages your domain whether its SPF and DKIM records include this mail server. These records tell other mail systems that the server may send for your domain.
Other ways to send: Microsoft 365 mailbox, Google Workspace mailbox, or Resend, Postmark and Brevo in Connections.