Gmail Account Settings for IMAP
Gmail Account Settings for POP
Outgoing Server
source - http://support.google.com/mail/topic/3398031
****ps
[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
goto & turn ON : https://www.google.com/settings/security/lesssecureapps (source : https://support.google.com/accounts/answer/6010255)
UPDATE 2022 :
to use IMAP/POP3 with SMTP at GMAIL you have to make 2 changes :
1)
2)
3)
note : if you used a mobile phone that does not exist anymore and you update it, on Google Account > Security, you have to wait 7 days...
reference
after all troubles when you want to connect a mail client with the gmail account, on App Passwords view, create new Mail & Custom (enter any name), add the generated password to mail client...
2023 - is not complex anymore, no menus just enter the app name and done
this solves the error response
now for example you can use the following .vbs to send an email
Outlook/Hotmail/Live Incoming Mail (IMAP) Server
Server - imap-mail.outlook.comPort - 993Requires SSL - Yes<br><br>Outlook/Hotmail/Live Outgoing (SMTP)
Server - smtp-mail.outlook.comPort - 25 (or 587/25 is blocked)Authentication - YesEncrypted Connection - TLS
for POP3 you have to enable it through Settings
(2024)
2023
POP, IMAP, and SMTP settings for Hotmail, Live or Outlook.com
Enable POP access in Outlook.com
2023 - POP3
Commercial Office365
Yahoo
2023 POP3 - working but is very slow (needs first to create app password)
Seznam
It is also necessary to enable the " function for this server SMTP authentication " (authentication of the user name and password on the SMTP server). src
2022
https://imapsettings.com/settings.php?email=test@yahoo.com
Incoming Server: imap.googlemail.com
Port: 993
User Name: [youraccount]@gmail.com
Connection Security: SSL/TLS
Authentication: Password
Gmail Account Settings for POP
Incoming Server: pop.gmail.com
Port: 995
User Name: [youraccount]@gmail.com
Connection Security: SSL/TLS
Authentication: Password
Outgoing Server
Server Name: smtp.googlemail.com
Port: 465
User Name: [youraccount]@gmail.com
Authentication: Password
Connection Security: SSL/TLS
source - http://support.google.com/mail/topic/3398031
****ps
[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
goto & turn ON : https://www.google.com/settings/security/lesssecureapps (source : https://support.google.com/accounts/answer/6010255)
UPDATE 2022 :
to use IMAP/POP3 with SMTP at GMAIL you have to make 2 changes :
1)

2)
Turn 2 step verification ON
3)
Create the so called App password
note : if you used a mobile phone that does not exist anymore and you update it, on Google Account > Security, you have to wait 7 days...
reference
after all troubles when you want to connect a mail client with the gmail account, on App Passwords view, create new Mail & Custom (enter any name), add the generated password to mail client...

2023 - is not complex anymore, no menus just enter the app name and done
Application-specific password required: https://support.google.com/accounts/answer/185833
now for example you can use the following .vbs to send an email
JavaScript:
//src - https://blueclawdb.com/access-database/tutorials/access-email-gmail/
Public Function send_email()
Set cdomsg = CreateObject("CDO.message")
With cdomsg.Configuration.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'NTLM method
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
.Item("http://schemas.microsoft.com/cdo/configuration/smptserverport") = 587
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "yourmail@gmail.com"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "yourpassword"
.Update
End With
' build email parts
With cdomsg
.To = "mail@testcom"
.From = "yourmail@gmail.com"
.Subject = "hi"
.TextBody = "the full message body goes here. you may want to create a variable to hold the text"
.Send
End With
Set cdomsg = Nothing
End Function
send_email()
(2024)
- Modern Authentication Methods now needed to continue syncing Outlook Email in non-Microsoft apps
- Announcing OAuth 2.0 support for IMAP and SMTP AUTH protocols in Exchange Online
- Authenticate an IMAP, POP or SMTP connection using OAuth
Type | ServerName | Port | Encryption |
IMAP | outlook.office365.com | 993 | TLS |
POP | outlook.office365.com | 995 | TLS |
SMTP | outlook.office365.com | 587 | STARTTLS |
Enable POP access in Outlook.com
If you want to use POP to access your email in Outlook.com, you'll first need to enable POP access.
Select Settings > View all Outlook settings > Mail > Sync email.
Under POP and IMAP, select Yes under Let devices and apps use POP.
Select Save.
2023 - POP3
hotmail / windowslive / outlook (tested with)
outlook.office365.com
995
TLS
Commercial Office365
Outlook365 (IMAP) Server
Server - outlook.office365.com
Port - 993
Connection Security - SSL/TLS
Outlook/Hotmail/Live Outgoing (SMTP)
Server - smtp.office365.com
Port 587, requires TLS if available; in Mozilla Thunderbird, choose "STARTTLS"
Authentication - Yes
Encrypted Connection - TLS
Yahoo
Yahoo Incoming Mail (IMAP) Server
Server - imap.mail.yahoo.com
Port - 993
Requires SSL - Yes
Outgoing Mail (SMTP) Server
warning you have to go at Settings > Account Info > Account Security > Allow apps that use less secure sign in
turn it ON.
how to setup POP3 - https://help.yahoo.com/kb/SLN4724.html
Yahoo Outgoing (SMTP)
Server - smtp.mail.yahoo.com
Port - 465 or 587
Requires SSL - Yes
Requires authentication - Yes
Your login info
Email address - Your full email address (name@domain.com)
Password - Your account's password
Requires authentication - Yes
as per DEC 2020 - https://help.yahoo.com/kb/new-mail-for-desktop/SLN27791.html (use one time password) at the time only IMAP is working, POP3 getting password error.
2023 POP3 - working but is very slow (needs first to create app password)
pop.mail.yahoo.com
995
TLS
Seznam
IMAP
Address: imap.seznam.cz
Port: 993 (encrypted SSL connection)
POP3
Address: pop3.seznam.cz
Port: 995 (encrypted SSL connection)
SMTP
Address: smtp.seznam.cz
Port: 465 (encrypted SSL connection)
It is also necessary to enable the " function for this server SMTP authentication " (authentication of the user name and password on the SMTP server). src
2022
https://imapsettings.com/settings.php?email=test@yahoo.com