[GeoNode-users] Approval Email send to all admins

Toni Schönbuchner toni.schoenbuchner at csgis.de
Wed May 17 05:08:48 PDT 2017


Hi,

if a new User registers and ACCOUNT_APPROVAL_REQUIRED is true
an Email should be send to people in ADMINS. 

But instead of *only* using this tuple it seams geonode-user-accounts is trying 
to send an Email to all admins ?! As some admin adresses seem not valid anymore my SMTP
Server replies with Error 550 User not found (in production page load forever ...).

Is this the expected behavior, if so is it possible to only use adresses
in ADMINS?

Thanks!

Toni

#################################
Geonode 2.4 / local_settings.py

ADMINS = (
            (’toni, 'toni.schoenbuchner at csgis.de'),
         )

# Account registration
REGISTRATION_OPEN = True
ACCOUNT_EMAIL_CONFIRMATION_EMAIL = True
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = True
ACCOUNT_APPROVAL_REQUIRED = True

# Uncomment the following to use a Gmail account as the email backend
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_USE_SSL = True
EMAIL_HOST = 'mail.xxx.de'
EMAIL_HOST_USER = 'geoserv at xxx.de'
EMAIL_HOST_PASSWORD = 'xxx'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
THEME_ACCOUNT_CONTACT_EMAIL = 'geoserv at xxx.de‘

#################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170517/fd71f5af/attachment.html>


More information about the geonode-users mailing list