[Errno 101] Network is unreachable

I want to use smtplib to send emails with Python on python anywhere. Unfortunately I get this network error. I am able to run the same code in VS Code. Is there any possibility to solve this problem (for example with firewall or proxy settings)?

Thank you in advanced.

Free accounts on PythonAnywhere have restricted Internet access -- you can't make SMTP connections to any server apart from Gmail's.