[Django] #31618: SMTPServerDisconnected at /accounts/send_email Connection unexpectedly closed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #31618: SMTPServerDisconnected at /accounts/send_email Connection unexpectedly closed

Django
#31618: SMTPServerDisconnected at /accounts/send_email Connection unexpectedly
closed
-------------------------------------+-------------------------------------
               Reporter:  bdossul    |          Owner:  (none)
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:  Error      |        Version:  3.0
  reporting                          |
               Severity:  Normal     |       Keywords:  Django, SMTP, GMAIL
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 I am currently experiencing this struggle. I did the following code:

 EMAIL_HOST = 'smtp.gmail.com'
 EMAIL_PORT = 587
 EMAIL_HOST_USER = '[hidden email]'
 EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASSWORD')
 EMAIL_USE_TLS = True

 As for 'EMAIL_PASSWORD' - I already set the EMAIL_PASSWORD environment
 variable in the shell that’s running runserver. I kept ending up receiving
 the SMTP error below: smtplib.SMTPServerDisconnected: Connection
 unexpectedly closed when I tried to run my Django - sending email using
 gmail. Am I missing something?
 It looks like I cant get this figured out after many hours of figuring
 out. Your help would be so much appreciated!

 Please kindly read this traceback error log:

 http://dpaste.com/00P91XY.txt'

--
Ticket URL: <https://code.djangoproject.com/ticket/31618>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.8c26f10cb2c7b37c0c98f53460b703cf%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #31618: SMTPServerDisconnected at /accounts/send_login_email Connection unexpectedly closed (was: SMTPServerDisconnected at /accounts/send_email Connection unexpectedly closed)

Django
#31618: SMTPServerDisconnected at /accounts/send_login_email Connection
unexpectedly closed
-------------------------------------+-------------------------------------
     Reporter:  Bakhtiar Dossul      |                    Owner:  (none)
         Type:  Uncategorized        |                   Status:  new
    Component:  Error reporting      |                  Version:  3.0
     Severity:  Normal               |               Resolution:
     Keywords:  Django, SMTP, GMAIL  |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/31618#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.49b31d13dff81957039b764c2a1b0c70%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #31618: SMTPServerDisconnected at /accounts/send_login_email Connection unexpectedly closed

Django
In reply to this post by Django
#31618: SMTPServerDisconnected at /accounts/send_login_email Connection
unexpectedly closed
-------------------------------------+-------------------------------------
     Reporter:  Bakhtiar Dossul      |                    Owner:  (none)
         Type:  Uncategorized        |                   Status:  closed
    Component:  Error reporting      |                  Version:  3.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  Django, SMTP, GMAIL  |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Sorry, but this ticket tracker is not intended as a support channel. Read
 https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels

--
Ticket URL: <https://code.djangoproject.com/ticket/31618#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.3393b89e016713ac1732b70655da9fe1%40djangoproject.com.