bnj

je suis bloqué  depuis deux jours sur un problème d'envoie d'un mail avec 
django

enfaite j'ai tous fait a l'aide de documentation django

settings.py

EMAIL_USER_TLS = True
EMAIL_HOST = "smtp.gmail.com"
EMAIL_HOST_USER='[email protected] '
EMAIL_HOST_PASSWORD = 'blabla2016'
EMAIL_PORT = 587


views.py


form = ContactForm (request.POST ou Aucun)
if form.is_valid ():
   email = form.cleaned_data.get ("email")
   message = form.cleaned_data.get ("message")
   full_name = form.cleaned_data.get ("full_name")

   subject = "Mail de django"
   from_email = settings.EMAIL_HOST_USER
   to_email = [from_email]
   contact_message = "% s:% s de VIA%" l'% (
    nom complet,
    message,
    email
    )
  
        
   send_mail (sous réserve, contact_message, from_email, to_email, 
fail_silently = False)



est voici l’erreur qui se produite 


     Extension de SMTP AUTH pas supporté par le serveur


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/64c2b563-86c4-4489-9233-9dc0833edac4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to