#24419: Provide an easy way to test email connection
-----------------------------+------------------------------------
Reporter: gavinwahl | Owner: nobody
Type: New feature | Status: new
Component: Core (Mail) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Changes (by timgraham):
* type: Uncategorized => New feature
* stage: Unreviewed => Accepted
Comment:
From the [https://groups.google.com/d/topic/django-
developers/A3IKxAtAqtc/discussion mailing list thread]:
Russ: "However, the counterpoint to that is that you can't just reload
settings, so you have to retype (or rely on command history). I agree the
benefit is marginal, but I think it's a nice enough convenience, and it's
not going to be a major maintenance overhead, so I think it's probably
worth including."
aRkadeFR: "But if I take a step back, these commands (for my projects) are
only here to test that my SMTP settings are well setup. Thus, the test
sending email is quite unnecessary, I would like a check that connects to
the SMTP server (if the emails settings are setup else do nothing) when
the application starts. (I don't know if there's something like saying to
a SMTP server: am I allowed here? without sending an actual email)"
Tom (reply to aRkadeFR): "In Simple Mail Transfer Protocol terms, it
definitely is (EHLO, MAIL FROM, RCPT TO, then disconnect without sending
DATA). But SMTP is not the only mail backend, and smptlib does not expose
that level of connection detail - it will merely raise a different
exception type if any of those commands do not return 250 status."
--
Ticket URL: <https://code.djangoproject.com/ticket/24419#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.ac2cd39ffe551ae47770726dc673f459%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.