Firstly, start Windows Mail. Once in the app, click the Tools menu at the top of the window, and click Accounts
Select your account under Mail, and then click on Properties
Go to the Advanced tab, under Outgoing Server (SMTP), and change Port 25 to 587.
Once done, click the OK button to save the changes.