I am using.
Server address- smtp.gmail.com
port - 465
secure- SSL
username - mymail@gmail.com
password - my gmail password .
Gmail set to the less secure app.
Error -A server error occurred - please try again.
how to solve it . Kindly share the best answer .