But due to some technical reasons, I can't proceed this method completely. So, I searched another easy techniques then I got SysTools Yahoo Backup tool which helps to complete my task within few minutes. Hope this will help you to export mails from Yahoo to Outlook.
There you can create the backup of yahoo account and save it to hard drive with PST file format that makes your email safe and secure from the hacker. And PST file format is the safe format that you can simply access with Outlook client so you can try this tool to take backup of your yahoo account. visit here: Yahoo Backup Tool – Convert Yahoo Data to PST
If you want to export your yahoo emails into pst format then You need to download ToolsGround Email Backup Expert software that easily exports your Yahoo email to PST, MSG, EML, EMLX, and MBOX file format. without any trouble. You can use this application to get error-free results. Various advanced options of the tool make your conversion simple and smooth. The tool works on all Windows versions.
More info;- https://www.toolsground.com/email-backup-expert/
You can archive Yahoo emails to various other file formats including the Outlook PST format.
For this you can read the post: How to save Yahoo emails to Hard drive?
In this post, you can read the best possible methods to save Yahoo emails to Outlook PST Format.