Opened 19 years ago

Closed 19 years ago

Last modified 18 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: no UI/UX: no

Description

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@… 19 years ago.

Download all attachments as: .zip

Change History (4)

by bruce@…, 19 years ago

Attachment: auth_mail.diff added

comment:1 by Adrian Holovaty, 19 years ago

Status: newassigned

Thanks for this patch! Working on it...

comment:2 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: assignedclosed

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

comment:3 by Adrian Holovaty, 19 years ago

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