Hi Gavin,

I've lost track of how many times I've written that exact code when setting
up a new box - I just didn't wrap it up as a management command. There's a
similar testing cycle with new cache settings.

My only concern would be the one that Tim expressed - that it's ultimately
a one line shell command, so it's not a whole lot of gain. 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.

I also agree with Collin, but on a technicality. I don't think Django needs
to provide a general purpose mail-sending utility that could be used in
scripts; however, I *do* think that if we're going to provide a test tool,
any arguments we provide should match the standard defined by existing
tools like sendmail. Effectively, that probably means that someone *could*
use this test tool as a general purpose command-line mail tool - but I
think that's a happy accident, not a design goal.

Yours,
Russ Magee %-)



On Fri, Feb 27, 2015 at 1:59 AM, Gavin Wahl <gavinw...@gmail.com> wrote:

> I opened a ticket for this but was asked to discuss it on the mailing list.
>
> When configuring django to send emails through an SMTP server, there are
> usually many different settings to try to get it to work. I've written a
> management command that just sends an email to make testing the settings
> easier. I'm wonder if there's any interest in including this command in
> django?
> Here's the command: ​
> https://github.com/fusionbox/django-fusionbox/blob/master/fusionbox/core/management/commands/send_test_email.py
>
> https://code.djangoproject.com/ticket/24419
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/910e45cf-39f1-421b-bae4-667a21069388%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/910e45cf-39f1-421b-bae4-667a21069388%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAJxq84-xW%3DDthARUYjOispxZocQussq%3DknP_TzX0_br4ufypAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to