> Date: Saturday, May 31, 2025 16:34:43 +1200 > From: gordonisnz@xxxxxxxxx > > On Sat, 31 May 2025 at 12:24, Richard wrote: >> >> is the password you are using: >> >> $mail->Password = 'PASSWRD'; >> >> your google/gmail (webmail) login pw or an app password? > > > thats my gmail password (gmail is on a domain) > [you clipped out the critical question, that gives the full context, from my response -- is this your google site-wide pw, or an app-password. i put that back in.] Google no longer supports the use of your site-wide pw for access to a service when using a 3rd-party application. You will need to create and use an "app password" with this application. [or use Oauth 2.0.] A quick search should turn up the relevant google support document that explains this, including a link to the app-password generator.