Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
VGSOURCES
Get listed

APIPATCH 2026.10.15

How to Send WordPress Email With SendGrid

By VGSources Team 10 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To send WordPress email with SendGrid, install the official SendGrid WordPress plugin, connect it with either a SendGrid API key or SendGrid SMTP credentials, authenticate the sender domain, and send a test message before trusting it with password resets, contact forms, or store notifications. API mode is usually the simpler choice when the integration supports it; SMTP is useful when an existing mail stack specifically requires SMTP fields.

How WordPress email reaches SendGrid

WordPress normally hands outgoing messages to its wp_mail() function. A plugin can replace that delivery path and pass the message to an external provider. The official SendGrid WordPress plugin replaces WordPress’s default wp_mail() path and supports either an API or SMTP connection to SendGrid.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The change affects delivery, not the features that generate mail. WordPress, a form plugin, an ecommerce plugin, or the core account system still creates the message. SendGrid becomes the authenticated relay that accepts it and attempts delivery to the recipient’s mail server.

A successful API response or SMTP hand-off means SendGrid accepted the message. It does not guarantee inbox placement. Sender authentication, From-address alignment, the receiving mailbox’s filtering, message content, and the recipient’s mail system still influence whether the message reaches the inbox or spam folder.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses | Anti UV Ray, For Computers & Gaming, Square Frame, Eyewear for Men and Women
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

What you need before configuring the plugin

  • A WordPress site where you can install and activate plugins.
  • A SendGrid account with permission to create an API key and configure sender authentication.
  • A sender email address on a domain you control, or access to the address-validation process for a single sender.
  • Access to the domain’s DNS records if you will use domain authentication.
  • A mailbox you control for testing.
  • If using SMTP, an outbound connection that can reach smtp.sendgrid.net on a supported port.

Decide which sender address and display name the site should use before testing. Changing the From identity later can trigger sender-verification failures or make messages appear inconsistent to recipients.

API or SMTP: which SendGrid connection should you use?

Both modes route WordPress mail through SendGrid, but they authenticate and fail in different ways. Choose the mode your WordPress integration supports best rather than enabling both casually.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Consideration API mode SMTP mode
Connection An HTTPS/API request authenticated by a SendGrid API key. An SMTP relay connection authenticated with username apikey and the API key as the password.
Typical setup Select API delivery in the plugin, enter the key, and set the From name and address. Enter the SMTP host, port, TLS option, literal username, and API key password. The legacy plugin documentation identifies Swift Mailer as a dependency for its SMTP path.
Best fit A site or integration that supports SendGrid API delivery directly. An existing mail stack or plugin that requires conventional SMTP fields.
Main checks when it fails API-key permissions, sender verification, and HTTP/API error output. Host, port, TLS, the exact username, key formatting, and blocked outbound SMTP ports.
Credential handling One API key is stored for API authentication. The same kind of key is entered as an SMTP password, while the username must still be apikey.

API mode avoids SMTP connection details and is generally the shortest setup when the plugin’s API integration works on your site. SMTP can be easier to fit into an established mail configuration, but it adds more points to check: transport security, port availability, and the required literal username.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Install and activate the SendGrid WordPress plugin

  1. In the WordPress dashboard, open Plugins and select Add New.
  2. Search for SendGrid Plugin.
  3. Select Install Now, then select Activate.
  4. Open the plugin’s settings and choose whether to configure API or SMTP delivery.

The plugin documentation warns that another plugin declaring wp_mail() can prevent the SendGrid plugin from working. If the settings appear correct but messages continue to use another provider or fail before reaching SendGrid, temporarily identify mail-related plugins and check for a competing mail implementation.

Create a SendGrid API key with limited permissions

  1. Create or sign in to your SendGrid account.
  2. Open the account area used to create API keys.
  3. Create a key for this WordPress site and grant only the permissions required by the integration. The key must include permission to send mail, commonly shown as the Mail Send scope.
  4. Copy the key when it is displayed and store it in a protected password manager or server configuration. Treat it as a password; do not paste it into a public repository, theme file, screenshot, support ticket, or client-side script.
  5. If a key is exposed, revoke it and create a replacement with the narrowest useful scope.

Scoped and revocable keys limit the damage from a mistake. A key that only sends mail for the site is safer than a broadly privileged account credential, and replacing a compromised key is safer than leaving it active while investigating.

Authenticate the sender domain or address

SendGrid must be able to associate the From identity with an authorized sender. Domain authentication is the preferred arrangement for a site you control: it verifies domain ownership, permission to send, sender identity, and message integrity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men | Office Gifts for Women, iPhone Stand, Gadgets for Men, Office Decor, Gaming Desk Accessories for Samsung Fold 8, Switch, iPad
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
  1. In SendGrid, start the domain-authentication setup for the domain used in the WordPress From address.
  2. Enter the domain requested by the setup and copy the DNS records SendGrid supplies.
  3. Publish those records at the DNS provider that hosts the domain’s authoritative zone. Do not alter the record names or values; paste them exactly as supplied.
  4. Return to SendGrid and run its verification check after the DNS changes have propagated.
  5. Use a From address on the authenticated domain in the WordPress plugin.

If domain authentication is not available, complete SendGrid’s single-sender verification for the specific address instead. A From address that has not passed the applicable verification will commonly be rejected or produce a sender error even when the API key is valid.

Authentication does not force every recipient to place a message in the inbox. It establishes that the site is authorized to send with the identity it presents; recipient-side filtering remains independent.

Configure API delivery in WordPress

  1. Open the SendGrid plugin settings and select its API integration.
  2. Paste the SendGrid API key into the key field. Avoid adding spaces, quotation marks, or line breaks.
  3. Enter the display name and email address that WordPress should use for the From identity. Use the verified address or an address on the authenticated domain.
  4. Save the settings.
  5. Use the plugin’s test-email form to send a message to a mailbox you control.

The legacy plugin documentation also describes constants that can be defined in wp-config.php: SENDGRID_API_KEY, SENDGRID_FROM_NAME, and SENDGRID_FROM_EMAIL. If you use this approach, keep the configuration file outside public version control and protect server access. The exact constant support depends on the plugin version you installed, so treat the installed version’s documentation and settings as authoritative.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Configure SMTP delivery when API mode is not suitable

Use these documented values when the plugin or another WordPress mail component requires SendGrid SMTP:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
SMTP field Value Important detail
Host smtp.sendgrid.net Use the hostname exactly as shown.
Username apikey This is the literal word apikey, not the API key itself.
Password Your generated SendGrid API key The key must have permission to send mail.
Port 587 is a supported choice; SendGrid also lists 25 and 2525. If one port is blocked by the host, test another supported port.
Encryption The TLS option exposed by your plugin or mailer Choose the setting that matches the selected port and the plugin’s SendGrid instructions.
  1. Select SMTP delivery in the plugin or mail component.
  2. Enter smtp.sendgrid.net as the server.
  3. Enter apikey as the username, exactly in lowercase.
  4. Paste the API key as the password.
  5. Enter port 587 first, select the appropriate TLS option, and save.
  6. If the server cannot connect, try supported port 2525 after checking your host’s outbound-mail policy.
  7. Send a test message.

SendGrid’s SMTP documentation specifically says to set the username to the string apikey. Entering the API key in the username field is a frequent cause of authentication failure. The legacy WordPress plugin documentation identifies Swift Mailer as required for its SMTP path; if that dependency is absent, the SMTP option may not function even when the credentials are correct.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Send and inspect a real test email

Do not wait for a customer form submission or a password-reset request to discover a configuration problem. After saving valid credentials, use the plugin’s test-email form and work through the following checks:

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
  1. Send to a mailbox you control, preferably at a different mail provider from the WordPress host.
  2. Confirm that the message arrives, then check the spam or junk folder if it is not in the inbox.
  3. Inspect the visible From name and address. Confirm that they match the verified identity configured in SendGrid.
  4. Check the Reply-To address, because replies may go somewhere different from the From address.
  5. Confirm that the subject and body are intact and that links or HTML have not been altered unexpectedly.
  6. Review the WordPress plugin’s error output and SendGrid’s event or error information if the message is rejected, delayed, or missing.

Repeat the test from each important feature: account registration, password reset, contact forms, ecommerce receipts, and administrator alerts. A successful plugin test proves that the test path works; it does not prove that every plugin on the site uses the same mail path or headers.

Troubleshoot the most common failures

Authentication failure in API mode

  • Generate or replace the API key and verify that its permissions include Mail Send.
  • Remove accidental spaces, quotation marks, or truncated characters when copying the key.
  • Confirm that the plugin is actually set to API mode and that another mail plugin is not intercepting wp_mail().
  • Check the plugin and SendGrid error output for an HTTP status or permission message before changing unrelated settings.

Authentication failure in SMTP mode

  • Set the username to the literal value apikey.
  • Use the API key as the password; do not use the SendGrid account password.
  • Confirm that the key includes Mail Send permission and has not been revoked.
  • Check the host, selected port, TLS setting, and any required Swift Mailer dependency.

Sender rejected or reported as unverified

  • Complete single-sender verification or domain authentication in SendGrid.
  • Publish every DNS record exactly as SendGrid supplied it, then rerun verification.
  • Make the WordPress From address match the verified address or authenticated domain.
  • Check alignment when a plugin lets you override From or Reply-To values.

SMTP connection times out

  • Confirm that the server can make outbound connections to smtp.sendgrid.net.
  • Try port 587, then 2525 if the host blocks the first choice.
  • Ask the hosting provider whether outbound SMTP is restricted. A local firewall or hosting policy can block the connection before SendGrid receives anything.
  • Do not treat a timeout as an API-key problem until basic network connectivity has been checked.

The plugin says it is configured, but another mail path is used

Look for another plugin or custom component that declares wp_mail(). The official plugin documentation calls this conflict out explicitly. Disable one mail implementation at a time in a staging environment, then retest so that you know which component owns the delivery path.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Messages arrive in spam

  • Verify domain authentication and make the From address align with the authenticated identity.
  • Check the recipient mailbox’s filtering, quarantine, and allow-list policies.
  • Compare the headers of an inbox message with a spam message to identify receiving-side differences.
  • Review SendGrid event information for blocks, bounces, or deferrals.

Neither a successful API response nor a successful SMTP hand-off is an inbox-placement guarantee. Avoid promising recipients a delivery result that the sending site cannot control.

An API key was exposed

  1. Revoke the exposed key in SendGrid immediately.
  2. Create a replacement with only the permissions this WordPress integration needs.
  3. Update the plugin or protected server configuration with the replacement.
  4. Review recent sending activity and investigate any unexpected messages.
  5. Remove the old key from repositories, logs, screenshots, backups, and shared documentation where possible.

Keep the production setup reliable

  • Store API keys in protected server configuration or the plugin’s secured credential storage rather than theme files or public code.
  • Limit access to WordPress administrators who need to change mail settings.
  • Document the verified From identity, authenticated domain, selected mode, SMTP port if applicable, and the date of the last successful test.
  • Retest after changing the domain’s DNS, the hosting provider, the mail plugin, or the WordPress version.
  • Monitor failed, bounced, blocked, or deferred messages in SendGrid and investigate patterns rather than treating each missing email as an isolated WordPress bug.
  • Keep a recovery procedure: revoke a compromised key, issue a limited replacement, restore the verified sender settings, and send a controlled test.

Which mode is the practical choice?

Choose API mode when the SendGrid plugin can make its API request successfully and you want fewer transport settings to maintain. It reduces the SMTP-specific failure surface to the key, sender verification, and API response handling.

Choose SMTP mode when another component requires an SMTP relay or your existing mail architecture is built around SMTP fields. Record the host, port, TLS choice, and the exact apikey username so future administrators do not substitute the key in the wrong field.

In either mode, sender authentication and a controlled test are mandatory. The connection method decides how WordPress hands mail to SendGrid; it does not replace domain verification, credential protection, or recipient-side deliverability checks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

APIDNSEmail DeliverySendGridSMTPWebsite administrationWordPress

Leave a reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.