It's in my settings.py :
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.yahoo.fr'
EMAIL_PORT = 25
EMAIL_HOST_USER = "myusername@yahoo.fr"
DEFAULT_FROM_EMAIL = "myusername@yahoo.fr"
My commands:
from django.core.mail import send_mail
send_mail('sss','hhh','myusername@outlook.fr',['myusername@yahoo.fr'])
The error:
...
error: [Errno 111] Connection refused
Why? I'm not sure that I have good configured my settings.py, if you can also help me for this.