Django

Code

Ticket #1529 (closed: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: bruce@coderseye.com Assigned to: adrian
Milestone: Component: Core framework
Version: 0.91 Keywords: mail, smtp
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

auth_mail.diff (2.1 kB) - added by bruce@coderseye.com on 03/22/06 01:07:14.

Change History

03/22/06 01:07:14 changed by bruce@coderseye.com

  • attachment auth_mail.diff added.

03/22/06 13:37:51 changed by adrian

  • status changed from new to assigned.

Thanks for this patch! Working on it...

03/22/06 13:47:18 changed by adrian

  • status changed from assigned to closed.
  • resolution set to fixed.

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

03/22/06 13:49:09 changed 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).


Add/Change #1529 ([patch] Add authenticated SMTP capability to django.core.mail)




Change Properties
Action