How to Send Emails from a Gmail Alias in WP Mail SMTP

How to Send Emails From a Gmail Alias in WP Mail SMTP

Do you want to send emails from a Gmail alias in WP Mail SMTP?

Sending from a Gmail alias is handy if you don’t want all your WordPress emails to be sent from your main email address.

With WP Mail SMTP, you can send emails from:

  • G-Suite aliases
  • Regular Gmail addresses (@gmail.com or @googlemail.com)
  • Gmail aliases at a custom domain

It’s easy to set up Gmail aliases on your site. We’ll show you what you need to do in the guide below.

Fix Your WordPress Emails Now

How Do I Link My WordPress Email to Gmail?

You can send WordPress emails from Gmail or G-Suite with WP Mail SMTP.

When you set up a WordPress website, most of the emails it generates are sent via your web hosting server. This method doesn’t add any authentication, so the servers receiving those emails often discard them or file them in the Junk Mail folder.

To fix this, WP Mail SMTP sends WordPress emails through your Google account.

WP Mail SMTP infographic

WP Mail SMTP also lets you use more than 1 Gmail alias in WordPress. So you can:

  • Send emails from an alias instead of your primary Gmail or G-Suite address.
  • Use different aliases for different WordPress plugins or contact forms.

How to Send Emails From a Gmail Alias in WP Mail SMTP

In this tutorial, you’ll learn how to add a new alias in Gmail.

In G-Suite, there’s an extra step that we’ll also walk you through.

  1. Install the WP Mail SMTP Plugin
  2. Create a New Email Alias (G-Suite Only)
  3. Add Your New Alias as a From Address in Gmail
  4. Select Your New Alias in WP Mail SMTP
  5. Using Multiple Aliases for Different Plugins

Let’s start by installing WP Mail SMTP.

Step 1: Install the WP Mail SMTP Plugin

First, let’s install WP Mail SMTP.

Head to your WP Mail SMTP account and open up the Downloads tab. Click the orange button to download the zip file.

Download WP Mail SMTP to fix Elementor contact form not sending email

Now you’ll want to upload the plugin to your WordPress website.

Install WP Mail SMTP

Need help? Check out this guide on how to install a plugin in WordPress.

When you Activate the plugin, the Setup Wizard will open in your browser. Pause the setup process here and open up a new tab to continue setting up your Gmail or G-Suite alias.

Step 2: Create a New Email Alias (G-Suite Only)

If you want to send emails from a G-Suite alias, we’ll show you how to set it up now. If you’re using regular Gmail, you can skip this section and move on to Step 3.

To complete this section, you’ll need to be a Google Workspace administrator for your G-Suite organization.

Start by opening up the G-Suite Admin console. It’s easiest to do this from the Gmail interface for your ‘main’ G-Suite email address: look to the toolbar across the top and click the gear icon.

Open Gmail or G-Suite settings

Next, click Manage this organization.

Manage your G-Suite organization

You’ll see the Google Admin console open up.

Find the Users section here: it’s usually right on the homepage, but if it’s not, you can use the search bar to find it.

Click Create an alternative email address (email alias) to make your new alias.

Create an alias in G-Suite admin

Next, you’ll be prompted to type in the username for the G-Suite account you want to add the alias to.

Create username for new G-Suite alias

When you’ve selected the account, click Proceed. You’ll be asked to type in the first part of the email and select the domain.

Select domain for new alias in G-Suite

Once you’ve completed the setup steps, your new alias will be confirmed. You can use the pencil icon to tweak the settings here if you need to.

Confirmed alternative email in G-Suite

Now we’re done, you can close the G-Suite Admin console.

Next, we need to add your alias as a From address in Gmail.

Step 3: Add Your New Alias as a From Address in Gmail

Next, we’re going to add your new email alias as a From address in Gmail.

It’s important to complete this step so that your WP Mail SMTP can ‘see’ the alias in WordPress.

To start, you’ll want to log in to your Gmail account for the main Gmail or G-Suite account you’re using. Use your web browser so you can access all of the settings.

Then click the gear icon to open up the Quick settings panel.

Open Gmail or G-Suite settings

From the panel, click the See all settings button.

Gmail or G-Suite settings

Next, from the tabs across the top, click the Accounts tab. In Gmail, this is labeled Accounts and import.

G-Suite Accounts settings tab

Scroll down to the Send mail as section. You should see your primary address here.

Let’s click Add another email address.

Add an alias in Gmail or G-Suite

A popup will open up so you can type in the From Name and email address that you want to add. If you just created a G-Suite alias, type in the details here.

Take note of the Treat as an alias checkbox – it should be already checked.

Then click Next Step to continue.

Add new From address in Gmail or G-Suite

If you’re using a custom domain with Gmail, you’ll be asked for the SMTP details next. You won’t see this for a G-Suite or Gmail address.

Gmail alias SMTP settings for custom domain

Next, Google will ask you to verify your email address.

When you click the Send Verification button, Google will send an email to the new From address.

Send verification for new Gmail or G-Suite alias

Follow the steps in the email to confirm that you want to use the email address as an alternate From address for your account.

Once that’s done, you’ll see your new From address in your Gmail settings.

Alias added in Gmail or G-Suite

Great! That’s all we need to do. Now you have 2 different From addresses in Gmail, you can use both of them in WP Mail SMTP.

If you have multiple aliases, repeat these steps for each one.

Let’s switch over to your WordPress site to complete the setup.

Step 4: Select Your New Alias in WP Mail SMTP

Now you’ve added your new alias as a From address in Gmail, it’ll appear in WP Mail SMTP automatically.

If you’re new to WP Mail SMTP, let’s first look at how to select an alias in the Setup Wizard. Then, we’ll show you how to change this setting if Gmail is already set up on your website.

Setting Up WP Mail SMTP With the Wizard

If you haven’t run the setup wizard yet, you can go ahead and pick that up now. You’ll want to follow our documentation on how to set up the Gmail mailer in WP Mail SMTP.

After you’ve added the account keys, you’ll see a dropdown where you can choose either your primary address or your alias as the primary From Email in WordPress.

Dropdown for alias in WP Mail SMTP Wizard

The primary From address will be used for all outgoing email if you check the Force From Email setting.

That’s all there is to it! Complete the Wizard and test your new aliases!

Changing Your Existing Gmail Settings

If you’ve already set up WP Mail SMTP in WordPress, you can easily change the primary From Address to your new Gmail alias.

You’ll find the setting on the plugin Settings page.

WP Mail SMTP settings menu

Scroll down to the Mail section and use the dropdown to select your primary alias as the From Email.

Gmail alias dropdown in WP Mail SMTP settings

As we said before, the email you select here will be the primary From address. If you check the Force From Email setting, all of the plugins on your site will use it.

And that’s it! Now you’ve added your aliases in WP Mail SMTP.

Step 5: Using Multiple Aliases With Different Plugins

WP Mail SMTP lets you use different Gmail or G-Suite aliases on different parts of your site.

For example, you might want to send your contact form notifications with a From Address of [email protected], and your WooCommerce emails with a From Address of [email protected].

This is an awesome way to match up the plugins and contact forms with your G-Suite or Gmail mailbox.

To use more than 1 alias, you’ll want to make sure that the Force From Email checkbox is deselected in your WP Mail SMTP settings.

Now you can use any of your aliases in WordPress and your emails will always be authenticated.

Fix Your WordPress Emails Now

FAQ on Gmail Aliases in WP Mail SMTP

Here are some of the common questions we get about using Gmail aliases in WordPress.

Can I Use a Domain Alias as a From Address?

Yes, you can.

A domain alias is a secondary domain that’s added to your Google Workspace. When you add the secondary domain, all of the email addresses at the primary domain get created at the domain alias as well. So there’s no need to go through Step 2 of this tutorial.

Instead, start at Step 3 to add your domain alias email address as a From address in the Gmail web interface. You’ll then be able to select it as a From address in WP Mail SMTP.

Why Is WP Mail SMTP Using the Wrong Gmail Alias?

You can use any verified Gmail alias as a From Address in WordPress.

Just know that the email address you use must exactly match the alias you set up.

If it doesn’t match, WP Mail SMTP will send the emails from your primary Gmail address, which is the one you’ve selected as the ‘default’ From Address in your WP Mail SMTP settings.

Fix Your WordPress Emails Now

Next Step: Fix Gmail Warning Messages On Your Emails

Are you seeing warning messages in Gmail when you receive emails from WordPress?

Be careful with this message error in Gmail

These warnings aren’t usually serious, but they can be worrying for you and your visitors. Check out this guide to fixing ‘be careful with this message’ warnings in Gmail.

Ready to fix your emails? Get started today with the best WordPress SMTP plugin. WP Mail SMTP Elite includes full White Glove Setup and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more WordPress tips and tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.