Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1529 closed enhancement (fixed)

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

Reported by: bruce@… Owned by: Adrian Holovaty
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@… 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by bruce@…

Attachment: auth_mail.diff added

comment:1 Changed 12 years ago by Adrian Holovaty

Status: newassigned

Thanks for this patch! Working on it...

comment:2 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: assignedclosed

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

comment:3 Changed 12 years ago by Adrian Holovaty

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