SMTP AUTH extension not supported by server

Hi, I'm trying to send an email using SMTP with my hacker account (the free account doesn't support SMTP) and I get the following error in the console

File "/usr/lib/python2.7/", line 578, in login
raise SMTPException("SMTP AUTH extension not supported by server.")
smtplib.SMTPException: SMTP AUTH extension not supported by server.

Does anyone have any idea how to solve this or is this an issue with pythonanywhere?

Well, it could be that the server you are trying to send smtp mail from actually doesn't support auth.

Alternatively, this is some code that worked for me:

import smptlib
s=smtplib.SMTP("", 465)
s.login("", "password")

Does this work for you?

thanks for your reply, i tried your method and when i run the code the console gets stuck at "loading console" not sure why but it's definitely your code. Is there any reason for this and can I fix this?


Your consoles are getting restarted because you are taking up too much system resources.

If you look at the processes you have running (go to the consoles tab and click fetch processes list under running processes), you will see that you have 11 processes running. I just did a quick check on the server side and each one of those processes is taking over 300MB of memory. In fact, each one of those processes has over 1000 files left open.

You may want to kill some of those processes first before you proceed.

Thank you so much for your help! I got it working now.