Gmail Email Settings

POP settings for Yahoo Mail

Incoming Mail (POP) Server
  • Server – pop.gmail.com
  • Port – 995
  • Requires SSL – Yes
Outgoing Mail (SMTP) Server
  • Server –  smtp.gmail.com
  • Port – 465 or 587
  • Requires SSL – Yes
  • Requires TLS – Yes (if available)
  • Requires authentication – Yes

Enable less secure app
https://www.google.com/settings/security/lesssecureapps

Yahoo Email Settings

POP settings for Yahoo Mail

Incoming Mail (POP) Server
  • Server – pop.mail.yahoo.com
  • Port – 995
  • Requires SSL – Yes
Outgoing Mail (SMTP) Server
  • Server – smtp.mail.yahoo.com
  • Port – 465 or 587
  • Requires SSL – Yes
  • Requires TLS – Yes (if available)
  • Requires authentication – Yes
Get SMTP Password for send email from coding

1) Go to your Account security page. – https://login.yahoo.com/account/security
2) Click Manage app passwords or (Generate App Password).
3) Select Your App – Select Other App Option and Give Custom Name – AnyName and Click on Generate
4) Use this password for send mail from  your coding