blob: c386b5312d395ef47745583f04e052543ecd24b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
"""Management command that sends a respondable
welcome email to all users.
User's responses will be used to validate
the email addresses and extract the email signatures.
"""
from django.core.management.base import NoArgsCommand
from askbot.models import User, send_welcome_email
class Command(NoArgsCommand):
def handle_noargs(self):
for user in User.objects.filter(email_isvalid = False):
send_welcome_email(user)
|