SMTP configuration issue in drupal 7 In SMTP module configuration I have set the following fields:

SMTP Server: smtp.live.com
SMTP port:25
Use encrypted protocol: NO 


In E-MAIL OPTIONS,

E-mail from address: myadress@hotmail.com
SEND TEST E-MAIL: myadress@hotmail.com.


but it gives me the long detail of errors with the last line SMTP Error: Could not authenticate. Same error when I try to use below configuration:

 SMTP Server: smtp.gmail.com
 SMTP port:25
 Use encrypted protocol: SSL


In E-MAIL OPTIONS,

E-mail from address: my_gmail_address
SEND TEST E-MAIL: my_another_address.


But when I used port 80 instead of 25 then it gives me the following error for SMTP.live.com

SMTP -&gt; ERROR: Failed to connect to server: Connection timed out (110) drupal 7


UPDATED:

Below is the screen shot for gmail configuration.
Change Port number to 465 or 587 in case of SMTP Server: smtp.gmail.com and 587 in case of SMTP Server: smtp.live.com.

As per : https://www.arclab.com/en/kb/email/list-of-smtp-and-pop3-servers-mailserver-list.html.