PHP Mailer - SMTP w/ Google Workspace

Issues related to forms.
Post Reply
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

PHP Mailer - SMTP w/ Google Workspace

Post by johnsmith0251 »

I'm hoping someone with more knowledge regarding email setup can help me. My hosting service requires PHP Mailer - SMTP for email configuration. I was able to configure it with an email account provided by my hosting service, but I can't figure out how to set it up with my Google Workspace email. I would really appreciate it if someone could guide me through the steps or provide me with some helpful documentation.
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: PHP Mailer - SMTP w/ Google Workspace

Post by BaconFries »

I was able to configure it with an email account provided by my hosting service, but I can't figure out how to set it up with my Google Workspace email
As you mention it works with the email of your domain but in general your host will not allow you to send emails from a external email such as gmail, hotmail or yahoo. This is primarily down to these emails are used to spam so it is preferred to use your host's.

This is mentioned in the following
Forms FAQ under Emails are not arriving in my inbox...5. Does your host allow you to send email to the destination email address? Some hosts do not allow you to send emails outside your own domain.
With all that said maybe the following will be of interest. Please post all questions with wwonderfull at the thread.
viewtopic.php?p=449343&hilit=gmail#p449343
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Re: PHP Mailer - SMTP w/ Google Workspace

Post by johnsmith0251 »

The mx records are pointed to the Google Workspace email from the host. The entire setup is authorized by the host. remote mailservers are selected. Google workspace emails are setup using the domain itself.
Last edited by johnsmith0251 on Sat May 04, 2024 6:40 pm, edited 1 time in total.
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: PHP Mailer - SMTP w/ Google Workspace

Post by BaconFries »

The mx records are pointed to the Google Workspace email from the host. The entire setup is authorized by the host
Then your host should guide you or see the link to the tutorial by wwonderfull.
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Re: PHP Mailer - SMTP w/ Google Workspace

Post by johnsmith0251 »

Ahh. I just saw that link. It's the closest i've gotten to a possibility.

I'm just not sure if Google workspace emails are the same as gmail.

Worth a shot though.

BaconFries wrote: Sat May 04, 2024 6:40 pm
The mx records are pointed to the Google Workspace email from the host. The entire setup is authorized by the host
Then your host should guide you or see the link to the tutorial by wwonderfull.
Post Reply