Skip to content

How a connection is chosen

The four checks BooleanSMTP runs, in order, to pick which connection sends an outgoing email, down to PHP mail as the last resort.

Updated View as Markdown

BooleanSMTP checks four things, in order, until one of them names a connection to send through.

  1. A connection the sending code asked for. Some sends name a connection directly. For example, a resend from Email Logs reuses the connection that sent the original message. BooleanSMTP uses that connection without any further check.

  2. The connection that owns the From address. Every connection can have its own From address (see One connection per sender); if the message’s From address belongs to one, that connection sends it.

  3. Your Default Connection. Set Default Connection, under Settings → Delivery & Reliability, to choose which connection handles everything else. If you leave it on System Default (PHP Mail), BooleanSMTP uses your primary connection instead. That is your most recently created active connection, if you have one.

    The Default Connection field on the Settings screen, set to System Default (PHP Mail).
    Default Connection setting
  4. PHP mail, WordPress’s own way of sending mail, is used when none of the above found a connection.

Next steps

Was this helpful?

Documentation

Type to search…

↑↓ navigate↵ selectEsc close