To get one, log into your Yahoo Account Security page, select , and choose "Other app" to generate a unique 16-character code. Configuration File Example ( yahoo.imap.txt )
You can copy this text into your file, replacing the placeholders with your actual details: yahoo.imap.txt
If you are setting up a configuration file named yahoo.imap.txt to connect to Yahoo Mail via an email client or script, use the following standard below. Standard Server Configuration Incoming Mail (IMAP) Server : Server Host: imap.mail.yahoo.com Port: 993 Security: SSL or TLS Outgoing Mail (SMTP) Server : Server Host: smtp.mail.yahoo.com Port: 465 (SSL) or 587 (STARTTLS) Authentication: Required (Yes) Authentication Details To get one, log into your Yahoo Account
Do not use your regular account password. You must generate and use an App Password if you have two-step verification enabled. You must generate and use an App Password
# Yahoo IMAP Configuration IMAP_HOST=imap.mail.yahoo.com IMAP_PORT=993 IMAP_USER=yourname@yahoo.com IMAP_PASS=your-16-character-app-password SMTP_HOST=smtp.mail.yahoo.com SMTP_PORT=465 SMTP_USER=yourname@yahoo.com SMTP_PASS=your-16-character-app-password Use code with caution. Copied to clipboard FAQ.Yahoo.txt - Imapsync - lamiral
Your full Yahoo email address (e.g., user@yahoo.com ).