Skip to main content

SMTP Settings

Last updated 4/06/2025

What Is SMTP?

SMTP settings (Simple Mail Transfer Protocol settings) are configuration parameters used by email clients, servers, or applications to send email messages. SMTP is the standard protocol for email transmission across the internet, and the SMTP settings define how an email-sending service connects and communicates with an email server to deliver emails.

These settings are required in Five when you're sending outgoing emails in your application. Outgoing emails may include a mail merge that you create, the Invite Email and Reset Password emails, and when using email as one of your authentication methods.

Your SMTP settings need to be provided by your mail provider, check your email provider's documentation. These settings then need to be entered into Five on the Mail page on the Instances form.

Key Components of SMTP Settings

SMTP settings include the following elements:

1. SMTP Server Address

The hostname or IP address of the SMTP server:

Examples
  • Gmail: smtp.gmail.com
  • Outlook: smtp-mail.outlook.com
  • Yahoo: smtp.mail.yahoo.com
2. Port Number

The communication channel used by the SMTP server. Common ports include the following:

Examples
  • 587: SMTP over TLS (Transport Layer Security), recommended for secure communication
  • 465: SMTP over SSL (Secure Sockets Layer)
  • 25: Standard SMTP
3. Authentication

Required to verify your identity:

Examples
  • Username: Your full email address, eg, youremail@gmail.com
  • Password: Your email account password or an app-specific password from your provider.

Common SMTP Server Settings

Here are the SMTP settings for some popular email providers, valid at 4/06/2025:

Gmail SMTP
SMTP Serversmtp.gmail.com
Port465 (SSL) or 587 (TLS)
UsernameYour full Gmail address
PasswordYour Gmail password or app-specific password

Outlook.com
SMTP Serversmtp.office365.com
Port587 (TLS)
UsernameYour full Outlook email address
PasswordYour Outlook password or app-specific password

Yahoo Mail
SMTP Serversmtp.mail.yahoo.com
Port465 (SSL) or 587 (TLS)
UsernameYour full Yahoo email address
PasswordYour Yahoo password or app-specific password

SMTP Fields

The following explains what you need to provide in each of the fields on the Mail page.

FieldDescriptionExample
SMTP ServerAdd the hostname of your email providersmtp.gmail.com
SMTP PortAdd the port number your email provider is listening on587
SMTP UsernameAdd the username for your accountfive.demo@gmail.com
SMTP PasswordAdd the password for your accountopiujkuiolkplhnm
SMTP From NameAdd the name whom the email originates fromManagement
SMTP From EmailAdd the email for whom the email originates fromfive.demo@gmail.com
Invite EmailDesign a welcome email template for new users added in your application
Password Reset EmailDesign a Password Reset email template for users who forget their password

SMTP From Name and SMTP From Email

The values in the SMTP From Name and SMTP From Email fields will apply to all mail merges that you add in Five. The Mail Merge form also has these fields and if values are added into these fields, they will take precedence over the instance record values. Effectively, if you have a mail merge that you don't want the default values from the SMTP From Name and SMTP From Email fields on the instance record, you can enter new values on the Mail Merge form that will override the values here. These values can also be overridden in code when using a function to generate your mail merge.