#1529 closed enhancement (fixed)
[patch] Add authenticated SMTP capability to django.core.mail
Reported by: | 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)
Change History (4)
by , 19 years ago
Attachment: | auth_mail.diff added |
---|
comment:1 by , 19 years ago
Status: | new → assigned |
---|
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 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).
Thanks for this patch! Working on it...