#17471: Add ability to use smtplib.SMTP_SSL connection when sending email
-----------------------------+------------------------------------
     Reporter:  dje          |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Core (Mail)  |                  Version:  1.3
     Severity:  Normal       |               Resolution:
     Keywords:  smtp         |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  1
  Needs tests:  1            |  Patch needs improvement:  1
Easy pickings:  1            |                    UI/UX:  0
-----------------------------+------------------------------------
Changes (by dje):

 * type:  Bug => New feature


Comment:

 Yeah, sorry about switching it back to a bug. It probably should have been
 left as a feature. I've attached a patch that should maintain backwards
 compatibility. The only parts I was unsure about was adding use_ssl to the
 constructor and whether to call starttls if they set TLS and SSL to true.
 Technically, they are supposed to be mutually exclusive, which is how I
 coded it.

 What's in the patch:
 A new setting: EMAIL_USE_SSL
 Updated documentation.
 Added tests around USE_TLS and USE_SSL

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17471#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to