Hi,
Yahoo! mail disallows other devices from logging on reporting that an insecure server is being used. This can be changed, but I wouldn't recommend it from personal experience. Your account will be hacked.
Rather log onto Yahoo! mail from a computer.
Click the SETTINGS cogwheel top right...