Use code "LIGHTHOUSE20" to save 20% on all plans forever. Get it now!

How to Send WordPress Email Through SendGrid

Connect SendGrid to PressedMail over SMTP: the apikey username, an API key with Mail permission and a verified sender.

Cover image for How to Send WordPress Email Through SendGrid

SendGrid has the strangest SMTP login of the common providers. The username is not your account name or your email address. It is the word apikey, typed exactly like that. Everything else is ordinary, and once you know the trick, WordPress’s own mail can leave through SendGrid in a few minutes.

This guide connects SendGrid to PressedMail’s WordPress Email settings. It covers WordPress’s notifications, not your inbox.

What you need

  • A SendGrid account and an API key with at least Mail permission.
  • A verified sender identity for the address you send as.
  • PressedMail with a WordPress Email SMTP slot. Free has one. Paid builds have several.

How SendGrid logs in over SMTP

SendGrid’s SMTP guide gives the steps:

  1. Create an API key with at least Mail permissions.
  2. Set the server host to smtp.sendgrid.net.
  3. Set the username to the string apikey. SendGrid is explicit that this is the exact string and not the API key itself.
  4. Set the password to the API key from step 1.
  5. Set the port to 587, or another port from the list below.

That is the whole login. The username never changes, and the API key is the secret.

The settings

FieldValue
SMTP hostsmtp.sendgrid.net
Port587 (also 25 or 2525 for TLS)
Connection securityTLS (STARTTLS)
Usernameapikey
PasswordYour API key

SendGrid says to use port 25, 2525 or 587 for an unencrypted or TLS connection and port 465 for an SSL one, and that 587 with TLS is typically the best choice. In PressedMail, 587 pairs with TLS (STARTTLS) and 465 pairs with SSL.

Add it in PressedMail

Open PressedMail, then Settings, then WordPress Email, then SMTP Accounts. On Free, the tab is Mail servers and the button reads Add mail server. Choose Add SMTP account.

The SMTP account form with the SendGrid host, port and username typed in, with four areas numbered

  1. SMTP host. smtp.sendgrid.net.
  2. Port and connection security. 587 with TLS (STARTTLS).
  3. Use SMTP authentication. Leave it on.
  4. Username and password. The username is the word apikey. The password is the API key.

The picture shows the host, port and username typed from SendGrid’s documentation and nothing saved. Paste your real API key into the password field yourself.

Set the From email to an address you have verified with SendGrid, then save and test.

A clean API key

SendGrid warns about one failure that looks like a wrong password. SMTP ends each command with a line break, so a stray newline or space in the pasted key stops authentication from succeeding. This happens when you copy a key from a terminal that wraps long lines. Paste the key into the field and check that nothing sits after it.

Also note that SendGrid’s own command-line example encodes the key in Base64 for a manual login. You do not do that in PressedMail. The form takes the plain key.

Verify the sender

SendGrid requires a verified sender identity for the address you send from. Its page on sender verification covers a single address and a whole domain. A domain suits a site better, because notifications may come from more than one address.

If WordPress or a plugin sends from an address you have not verified, SendGrid refuses it. You can keep one sender by turning on Force the From address in PressedMail. Contact forms that set the visitor as the sender will then go out under your address, so keep the visitor in Reply-To. The routing guide explains how PressedMail chooses a server and sender.

Limits to know

SendGrid says you may send up to 5,000 messages on one SMTP connection and open up to 10,000 concurrent connections from a single server. A WordPress site that sends notifications will not come near those, but a large import that triggers thousands of emails might. Spread bulk sending out, or use a campaign.

Switch WordPress over to it

Adding the account does not move WordPress’s mail by itself. On a paid build, open the Default SMTP tab and choose PressedMail SMTP.

The Default SMTP tab of WordPress Email with five areas numbered

  1. The tabs. Paid builds show SMTP Accounts, Default SMTP and System Emails. Free shows System Emails and Mail servers.
  2. Add SMTP account. The Free button reads Add mail server.
  3. WordPress default. PHP mail().
  4. PressedMail SMTP. Sends what WordPress, a plugin or a theme sends through the server you set up here. It stays unavailable until you add one.
  5. A note that your PressedMail inboxes are not affected either way.

The picture is from a paid build.

Test it

Press Send Test Email with an address you control, then trigger a real WordPress message such as a password reset. Check the recipient mailbox, including spam. The SMTP test guide separates the checks: the form saving, SendGrid accepting the message and the recipient receiving it.

If the connection works and mail still goes missing, the guide to stopping WordPress email going to spam and Test connection passes but sending fails cover the usual causes. The delivery log guide shows what PressedMail recorded.

Common questions

What do I type as the username?

The word apikey, exactly. It is not your account name and it is not the key.

Which permission does the API key need?

At least Mail permissions, according to SendGrid’s SMTP guide.

Which port should I use?

587 with TLS (STARTTLS) is typically the best choice. Use 465 with SSL if you need it.

Why does authentication fail with the right key?

Check the pasted key for a newline or trailing space, and make sure the username is exactly apikey.

Does this send mail from my inbox?

No. This is WordPress’s own mail. The WordPress SMTP guide explains the difference.

Manage your email inside WordPress

PressedMail Free adds an email client directly to your WordPress dashboard. Connect a compatible IMAP/SMTP mailbox, read and send mail, organize messages, and configure WordPress SMTP.

Download PressedMail Free →

Newsletter

Get useful PressedMail updates.

New releases, setup guidance, and practical ways to handle email in WordPress.

Occasional PressedMail email. Unsubscribe whenever you like.

Choose the plan that fits your WordPress sites.

Paid plans include unlimited accounts and users. Compare Premium and Ultimate features, then choose the site count you need.

Yearly plans are priced by number of sites. Lifetime is a one-time payment covering up to 100 sites.

Starter

For one site

$49/ year
1 Website
  • All current and future Premium features
  • Unlimited email accounts
  • Contacts, calendar, and scheduled email rules
  • Templates, blocks, and signup forms
  • AI tools and phishing detection
  • Layouts, themes, and workspace controls
  • Licensed updates and priority support
  • 10,000 PressedMail AI credits a yearLimited time
Most Popular

Premium

For multiple sites

$89/ year
10 Websites
  • All current and future Premium features
  • Unlimited email accounts
  • Contacts, calendar, and scheduled email rules
  • Templates, blocks, and signup forms
  • AI tools and phishing detection
  • Layouts, themes, and workspace controls
  • Licensed updates and priority support
  • 25,000 PressedMail AI credits a yearLimited time
All Features

Ultimate

For agencies

$169/ year
100 Websites
  • Everything in Premium, plus:
  • Campaigns and shared templates
  • Share inboxes, calendars and contact lists
  • White labelling with a brand theme
  • 50,000 PressedMail AI credits a yearLimited time

What customers say after bringing email into WordPress.

Using PressedMail in your own work? Submit a testimonial

I save hours & it’s easy to use

I have a lot of email accounts, and it’s annoying to manage them through different providers. I needed something better than what was out there, so I built it. I spent the better part of two years making PressedMail the plugin I wanted to use every day, and now I get to share it with everyone else. I added my accounts, automated the cleanup of over 3000 emails, and it’s saved me hours of work.

Robert H. AlexanderFounder - CurbSoftwareCreator of PressedMail

Helps get more clients

As a freelancer I need to manage several clients’ accounts. I installed PressedMail on WordPress on localhost and use it as my main email client. I manage everything for clients from PressedMail. And several clients use PressedMail now after I have set their WordPress instances up.

Gene Piki
  • Email Swiss Army Knife

    We use PressedMail as a value added service for clients and potential clients as a feature of our agency’s offering helping put us ahead of competition. We love the white-labelling feature, automation, and security controls. It also replaces several of the other plugins we used to use and it’s like a small CRM.

    Cyrus M. (InCurb Digital)

  • Fast inbox organization with phishing detection

    PressedMail helps us organize our inboxes fast. We especially like the phishing detection feature.

    John & Andrea

  • One source of truth for every client

    As a VA, I use PressedMail to keep each client’s inbox separate while managing everything from one app. It gives me a single source of truth without mixing client work together.

    Amber, K

  • Teaching and client work stay organized

    I balance teaching with social media marketing clients. PressedMail helps me keep both sides of my work organized in one place.

    J.A. Payo

FAQ

Common questions

Free version

Start with one inbox. Free.

One mailbox for one user, a rich-text composer, custom folders, unlimited email rules, one signature, two themes and one layout. Contacts, calendar, scheduling and AI require a paid plan.

1 account · 1 user · 2 themes · unlimited rules
Roadmap

See what is coming next.

Follow planned work, current progress, and recently completed features.

  1. Planned

    Calendar Sync with External Providers

    Planned. Today calendars and events live in WordPress and do not sync with any outside provider. Two-way sync with Google Calendar, Outlook, iCloud and CalDAV-compatible services is on the roadmap.

  2. Planned

    Dedicated Support

    A higher-touch support channel beyond the current paid Priority Email Support entitlement.

  3. Planned

    Activity Log

    A searchable audit trail of key actions across PressedMail accounts, with per-user and admin views, retention controls, and export.

Bring your working inbox into WordPress.

Compare Premium and Ultimate features, then choose a paid plan for the number of WordPress sites you manage.

How to Send WordPress Email Through SendGrid