Hard to say without seeing the exact error message.
Let me make a stab in the dark and suggest that you may be
running a non-compatible antivirus program.
Windows Mail is not compatible with most
McAfee or Norton security programs. Those will need to be
uninstalled. Then try your mail again. It should work now.