Problem with sending email from Mail app on my Mac Mini
I have a M1 Mac Mini that gives me an error message when sending email for the Mail App. I also have a Mac M1 Air and a iPad Air 5th gen. All other devices send and receive email on the Mail App. The setting for SMTP are all the same. I use Gmail as my provider. I have tried rebooting and using the Connection Doctor the SMTP connected immediately and IMAP takes several seconds or not at all.
Has anyone got any ideas? They are all on the same Apple ID and gmail work fine on the Mini with a web browser.
The message I get when trying send mail out is:
Cannot send message using the server myname@gmail.com
the sender address myname@gmail.com was rejected by the server smtp.gmail.com.
The server response was authentication Required. Lear more at https://suport.google.com/mail/?p=WantAuthError
Select a different outgoing mail sever from the list below or click Try Later to leave the message in you Outbox until it can be sent.
Sending from My Name <myname@gmail.com>
Thanks for any help
Mac mini, macOS 13.2