I have set up the Contact form and added my Gmail email address and other details but I had a warning from Google highlighting that something was trying to access my account.
I also get this on the web page: **There was an error sending the form: SMTP Error: Could not authenticate. **
This is the code in my config (obviously edited):
'email' => [ 'transport' => [ 'type' => 'smtp', 'host' => 'smtp.gmail.com', 'port' => 465, 'security' => true, 'auth' => true, 'username' => 'sul@s***m.com', 'password' => '***', ] ],