Yahoo mail has been having some server problems over the past few weeks. Try again later.
iOS: Unable to send or receive email
Can’t Send Emails on iPad – Troubleshooting Steps
Setting up and troubleshooting Mail
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.