Before 2017, ATT email and Yahoo Mail were working together. This means, back then, you can access your ATT emails through Yahoo mail address and vice-versa. Users were also able to receive both their ATT emails and Yahoo mails in one single inbox.
But later, they parted ways. Thus, now you cannot access your ATT emails through your Yahoo mail account, and vice versa. Now you need to use the https://signin.att.com email login page to login into your ATT.net email account.