Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1529 closed enhancement (fixed)

[patch] Add authenticated SMTP capability to django.core.mail

Reported by: bruce@… Owned by: adrian
Component: Core (Other) Version: 0.91
Severity: normal Keywords: mail, smtp
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


To send mail on a Dreamhosted Django site, I needed to enhance the mail module to be able to login to the SMTP server. Attached is the simple patch.

Attachments (1)

auth_mail.diff (2.1 KB) - added by bruce@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by bruce@…

comment:1 Changed 10 years ago by adrian

  • Status changed from new to assigned

Thanks for this patch! Working on it...

comment:2 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2548]) Fixed #1529 -- Added support for authenticated SMTP to django.core.mail. Thanks, Bruce Kroeze

comment:3 Changed 10 years ago by adrian

Thanks again for the patch. In case you're interested -- I put the EMAIL_HOST_USER and EMAIL_HOST_PASSWORD settings in django.conf.global_settings, which is a fallback for defaults. That means we don't have to check for ImportErrors. Also, I used default arguments to make things simpler, and I slightly renamed the settings to be more consistent with the previous setting (EMAIL_HOST).

Note: See TracTickets for help on using tickets.
Back to Top