The problem was that I no longer had access to the mail server, but I found 2 ways to do this:
1. Export emails (you can classify in Outlook to export only selected emails) to *.olm , and then add the gmail account to your Outlook and import the file into it.
2. Add a gmail account to Outlook and move (drag and drop) email messages from the old account to your gmail account. easy!
source share