If that snippet of code is really wrapped in ''' then you have essentially
made it a comment.  Maybe try removing those?

On Sun, Mar 29, 2015 at 9:59 PM, 传承 <[email protected]> wrote:

> I want to use the function of account approval
>
> I config as follow
> '''
> ACCOUNTS_APPROVAL_REQUIRED = true
> EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
> EMAIL_HOST = 'smtp.qq.com'
> EMAIL_PORT = 25
> EMAIL_HOST_USER='1234567'
> EMAIL_HOST_PASSWORD='abcdefg'
>
> DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
> EMAIL_USE_TLS = True
> '''
>
> But when I runserver on localhost(127..) and set up an account,the 
> EMAIL_HOST_USER
> mailbox can't receive the mail.
>
> I attempt to call send_mail_template on shell,but nothing happened.
> Where is the problem?
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to