Re: Gmail/email & PHP

Richard <[email protected]> Fri, 30 May 2025 23:21:00 +0000
Newsgroups gmane.comp.php.general
Message-ID <[email protected]>
> Date: Saturday, May 31, 2025 09:58:18 +1200
> From: [email protected]
>
> Hello. is there another good PHP forum ? (this seems all about php
> development)
> 
> I'm wondering if anyone is using PHP to send/receive emails using
> google/Gmail servers ?
> I'm using AI to help, and still going round-round in circles..
> 
> Are there any 2025 / recent instructions that deal with any recent
> changes that Google has implemented...

In order for people to provide much assistance you need to give
details of what you are trying to do and how you are doing it as well
the results you are getting - including errors and potentially
information from your mail logs.

If you are trying to deliver mail to gmail on port 25 you'll need to
have the necessary DMARC set up for the FQDN that you're using. For
the submission ports - 465/587 - and to retrieve mail you'll either
need to support Oauth 2.0 or be using an app password - rather than
an account login id/pw for authentication. 

These are just a couple of issues. There are a range of other things
that can be obstacles, but without knowing details it's not worth
trying to do more guessing.