Trying to setup Mailpile to use Yahoo mail


I’m trying to set up Mailpile to access my Yahoomail account. I have successfully set up my Gmail account in Mailpile, and I have no problem using my Yahoomail account with Thunderbird.

This is the pop-up error message I receive in Mailpile:-

Access denied by mail server - grant access

If I click on the “grant access” I receive an error pop-up box:-

Failed setup/oauth2


Oh no, something went wrong. Please try again later.

Can someone advise please?

Kind regards


It looks like it is trying to use Oauth2, which cannot possibly work because when I tried to obtain credentials from Yahoo for use within Mailpile, that turned out to be impossible (or at least I couldn’t figure it out, their docs just led me in circles).

You’ll need to configure it to use a normal username/password combination, if that is even supported by Yahoo.


Could you try the following scenario?

  1. Click + Add Account in the Mailpile interface
  2. Enter your name and email address, untick the box Detect settings
  3. For sending mail:
    Protocol: SMTP/TLS
    Port number: 465
    Username: Your full email address
    Authentication: Password
  4. For receiving mail:
    Protocol: IMAP/TLS
    Port number: 993
    Username: Your full email address
    Authentication: Password
  5. The password itself: if you haven’t enabled 2 factor authentication, enter your normal password as if you would login to Yahoo webmail. Though, if you did enable 2FA, you need to generate an app specific password. How that can be done is written in this article.