Email marketing

SMTP

SMTP stands for Simple Mail Transfer Protocol, the standard every email is sent with. How it works, the ports, and why website forms need proper SMTP set up.

Also called Simple Mail Transfer Protocol, SMTP server, SMTP relay, outgoing mail server, SMTP settings, SMTP port

SiiteWritten by SiiteUpdated October 8, 2026

SMTP stands for Simple Mail Transfer Protocol, the standard set of rules used to send email across the internet. Whenever a message leaves an email program, a website form or an online store, SMTP carries it from the sender to an outgoing mail server, and from that server to the recipient’s. Most people never see it, because their email account handles it quietly. It surfaces when something has to be configured by hand, such as a website that sends notifications, a printer that emails scans, or a new account set up in an email program, and when a business finds its messages are not arriving.

In short

  • The standard every email is sent with.
  • The SMTP server is the outgoing mail server.
  • IMAP and POP3 collect mail; SMTP sends it.
  • Websites need it set up properly to be trusted.

How a message travels

Sending one email involves several short conversations between machines.

  • Your program or website connects to an SMTP server and proves it is allowed to send, usually with a username and password.
  • It hands over the message, with the sender, the recipient and the content.
  • The server looks up where to deliver it by reading the recipient domain’s MX records, part of its DNS records.
  • It passes the message to the recipient’s server, which decides whether to accept it, file it as spam or refuse it.

If the receiving server is busy or temporarily refuses the message, the sending server does not give up at once. It keeps the message in a queue and tries again at intervals, sometimes for several days, before returning it as undelivered. That is why an email can arrive hours late without anybody having done anything wrong, and why a bounce sometimes appears long after the message was sent.

The recipient then reads it with IMAP, POP3 or a webmail page, none of which is SMTP’s job. SMTP only moves mail; it does not store it or show it.

Servers, ports and settings

When a program or plugin asks for SMTP settings, it wants a handful of details from whoever provides the email account.

  • Server name. The address of the outgoing mail server, supplied by your email provider.
  • Port. The numbered door the connection uses. Port 587 is the common choice for sending, port 465 is the encrypted alternative, and port 25 is for server to server traffic and is often blocked on ordinary connections.
  • Encryption. TLS, so the password and the message are not sent in plain text.
  • Username and password. Often the mailbox’s own login, or a separate app password created for the purpose when the account uses two-step verification.

Wrong details produce errors that name the problem: a refused connection usually means the wrong port or a blocked one, and an authentication error means the login was rejected.

Why website forms need it

Many websites, WordPress among them, send form notifications and order emails through the web server’s built-in mail function unless somebody changes it. That function sends without logging in to a real mail account, often from an address on a domain that has not authorised the server to send for it.

Mailbox providers notice. A message claiming to come from your domain, sent by a server your domain never approved, looks exactly like a forgery, so it goes to spam or disappears. The result is a contact form that appears to work while inquiries never reach anybody.

The fix is to route the website’s mail through a proper SMTP account: the business mailbox itself, or a sending service. A plugin or setting holds the SMTP details, and every message is then sent with a login and from a server your domain recognises.

SMTP relay services

Businesses that send a lot of automatic email, such as receipts, shipping updates and password resets, often use an SMTP relay service rather than a normal mailbox. These companies run sending servers with an established reputation, handle bounces and complaints, and report on what was delivered.

They suit transactional email in particular, where a missing message costs a sale or a support call. Whichever route is used, the sending service must be listed in your domain’s SPF record and set up with DKIM, or the authentication that protects your domain will count its messages as failures.

When it goes wrong

Most SMTP problems fall into a few patterns.

  • Messages go to spam. The sending server is not authorised for your domain, or the domain has no authentication at all.
  • Nothing is sent. The port is blocked, the password changed, or the account requires an app password.
  • Messages bounce. The recipient address is wrong, or the receiving server refused the sender.
  • Some arrive, some do not. A sending limit on the account was reached, so later messages were held back.

The bounce message itself usually explains which, in a line that begins with a three-digit code. Read it before changing anything. A code starting with 4 means a temporary problem that may clear itself; one starting with 5 means a permanent refusal.

Words you will hear

  • SMTP. Simple Mail Transfer Protocol, the standard for sending.
  • Outgoing server. The SMTP server an account sends through.
  • IMAP and POP3. The standards for collecting mail from a mailbox.
  • TLS. The encryption that protects the connection.
  • App password. A separate password made for one program to send mail.
  • SMTP relay. A service that sends email on your behalf.

Send a test inquiry through your own website today, to an address outside your business, and see where it lands. If it reaches spam or does not arrive at all, ask whoever runs the site which SMTP route the form uses, and move it onto an authenticated account before the next real customer writes in.

Questions we get

More about smtp

What does SMTP stand for?

Simple Mail Transfer Protocol. It is the agreed set of rules mail servers use to send email to each other, and the method an email program or website uses to hand a message to a server for sending.

What is an SMTP server?

The outgoing mail server. It accepts a message from your email program, website or app, checks that you are allowed to send, and passes the message on to the recipient's mail server.

What is the difference between SMTP, IMAP and POP3?

SMTP sends mail. IMAP and POP3 collect it. An email program uses SMTP to send your messages and IMAP or POP3 to fetch the ones waiting in your mailbox, which is why mail settings ask for an incoming and an outgoing server.

Which SMTP port should I use?

Port 587 is the usual choice for sending from a program or website, with the connection encrypted after it opens. Port 465 encrypts from the start and is also widely supported. Port 25 is used between servers and is often blocked for ordinary senders.

Why do emails from my website not arrive?

Often because the site sends through the web server's own mail function instead of a proper SMTP account. Those messages are not authenticated for your domain, so mailbox providers treat them with suspicion and many go to spam or vanish.

What is an SMTP relay service?

A company whose business is sending email on your behalf, through servers with a good reputation and the authentication already in place. Websites, shops and apps often use one for receipts, password resets and form notifications.

Is SMTP secure?

The original protocol sent everything in plain text. Modern setups encrypt the connection with TLS and require a username and password or an app password before a message is accepted, which is why the settings ask for both.
Want this handled for you?

Let us take smtp off your desk.

The guides and these pages are yours to use for nothing. When you would rather have the work done properly than done by you, tell us what is already in place and we will put a proposal together.

or call +63 2 5323 8174