1). first i enabled Less Secure Apps
2). i tested SECURE_SMTP protocol with port 465 and TLS unchecked and SMTP protocol with port 587 and TLS checked those follow as;


this is my log file
An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 465; timeout 100000;
nested exception is:
java.net.UnknownHostException: smtp.gmail.com
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:225)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:162)
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(SendTestMail.java:107)