Hello and welcome to WPForms. In this video I'll walk you through how to set
up SMTP with your Google Apps. To get SMTP set up with your Google Apps you
first want to set up an email in Google Apps for work and then there'll be a few
sites that you'll need access. One of them will be the Google Apps for work.
You'll want your WordPress dashboard and your website cPanel so make sure you
have access to those. So the next thing we want to talk about why are we going over
this? You could set up SMTP with your Gmail account and that would be
fine but if you're running a business website tell me which one looks better.
If you're running a business website then you want something more reputable
for your email something like this
versus a gmail account like that. So if you're ready we'll get started and we'll
walk through how to setup your email to work with Google Apps for work and then
we'll show you how to set it up on your website. First thing we'll do is you'll
want to go to the Google Apps for work and there's a 30 day free trial. Here
you'll need to enter some information on the next screen it'll ask you if you have your
own domain or if you need to buy one it's only $8 a year and it will include
the automatic email setup for a lot of you probably already have your own
domain and actually that's what we have so we'll say we're using our own domain. On
this screen you'll want to create your first email account and that'll probably
be the one that I just put in, once you've accept it all and fill in all the
information then you can get started. Alright once you've set everything up then
you'll see this screen where you can also add more people to your account.
If it's just you then
you're already good to go. The other thing you'll want to do is verify your domain and
then we'll set up the emails as well. Since it is just us we're gonna say
we've already added all the email addresses that we want click Next.
Now we need to verify our domain and set up the email, the easiest way to do that
is we're going to add this meta tag to the header of our website so I need to copy
all of this, click copy,
and we'll go to our WordPress dashboard. When I go to Plugins, Add New
and we're gonna search for insert headers and footers. This just allows us to add code
to our website easily, we'll activate the plugin after we install it. Once it's
installed and activated you want to go down to settings, insert headers and
footers and we can put that piece of code right there and we'll click Save. Alright now we need
to go back and say that we've added the meta. Alright now that we've added the
meta tag to our homepage it's telling us to go to the control panel for our domain so we'll
need to access the back end of our domain. Alright so I'm going to go to the back of my website and go
to the cpanel. I'll tell Google that I have opened the cPanel, alright, the next thing we need to
do is we need to create new MX records for all the Google Apps on our cPanel area.
We'll go one-by-one and you want to make sure you get the priority entered, the name
host alias, and the value in the destination. So lets go to the back end and so
this is our cpanel I'm looking for mail and I'm looking for MX records, select the domain
that we're working with. So I'm gonna put in the destination and the priority and then I'll
click Add record. Now that I've done that one you'll want to do the same thing
for the next four or five items. Alright now that we've entered all of those we need to go
back to Google and say that we've created the MX records. It's also saying to go ahead and
delete any of the existing MX records so I'll need to do that and finally we need to
save the records and the cpanel already does that so we're good to go. So we've
verified domain and we'll setup email. Alright and then we should get a verified confirmation here
so now we can click Next
and then even though you have the trial they want you to go ahead and pick plan we're going to choose the
$5 a month per person
they'll want you set up your billing so we'll say that that's what we want and we'll continue. Alright
from here you'll want to add your billing information again they won't charge
until after the 30 days and you'll want to decide if you want to pay monthly or if you
want to pay all of it at once and then once you're finished then we can walk
you through how to set it up on your website. Alright now that we have Google
Apps for work set up we need to go back to our WordPress dashboard and we need
to set up the SMTP to work with our Google Apps.
So I'm gonna go to Plugins, Add New
and we're going to search for a plugin called Gmail SMTP. That'll help us set it
up and this is the one we want so I'll click Install Now and then activate the plugin
and you'll see you get a message up here that
you can't do anything until you set it up so we will do that now. You can go to settings or
if you ever need to access it again you also can go under settings then Gmail SMTP.
So we'll click on settings
and from here we need to create a new web application on the Google console.
So I'm going to open that in a new tab so we can do that.
when you first go to the developers console you'll want to accept and continue
for your new account.
You'll want to agree to their terms and conditions and click Continue. You see down here is
creating our first project. Now that our first project's been created we wanna go to
credentials. Under here under a credentials to your project we want to
we're gonna use Gmail API and what its going to be calling is from a Web Browser,
JavaScript and we want to be accessing the user data. Then I'll ask what credentials
do I need and from here we can name it. We need to add our website under the
authorized JavaScript origins the authorized redirects. Go back to your Google
Dashboard and find this authorized redirect URI here and we'll copy that because we need to pace that here
and once you've filled that out we've done this one we've done this one we can
click Create Client ID.
From here we just want to use the email address that we set up and you can put
product name or your website here
your website name here
and click Continue.
Alright now so that we have set everything up and you can download that later we
can just click Done.
Alright, now you see a list of all the credentials that you've created this is
the one that we've been working with so I want to click on that name because I'm
looking for the ClientID and the secret, client secret as well. Go back to my
dashboard, copy the secret, paste it there. Alright, now my dashboard
I'm gonna go ahead and fill out this information the OAuth, the
OAuth email addresse is the one that we set up you also want to enter that in
the from address as well
add the name. type of encryption we want TLS for the SMTP port we need to
do 587 and we can click Save Changes. Once we hit Save Changes when you scroll
all the way down and click grant permission
this allows both the website and Google to talk this is what people see when
they allow it
You see, you get access granted successful message so we're good to go there we
also see that it's connected and everything looks good to go and now
you've successfully set up SMTP with your Google Apps for work on your
website. If you like this video click on the like button and go ahead and leave
us a comment there we'd love to hear from you and subscribe to our YouTube
channel to get the latest videos