Account Activation via Email

24 views
Skip to first unread message

Darren Hollenbeck

unread,
Oct 2, 2012, 12:52:58 PM10/2/12
to satchm...@googlegroups.com
Tried to enable this feature and noticed I am not getting the welcome email with activation code/link when I test it out.

Looking in the code I see a text file "activation_email.txt" but it is not referenced anywhere, and the mail.py that handles the "immediate" account activation welcome message has no function for "email activation"

Am I missing something or is this feature incomplete?

Raphael

unread,
Oct 2, 2012, 1:19:43 PM10/2/12
to satchm...@googlegroups.com
Dear Darren,

no you are not missing something. This feature should work - we use it.
Satchmo account activation via email works fine for us... only Captcha-Test is missing.

Unfortunately I don't remember what steps have to get done to get this work... so you will have to investigate some time
to have it up and running.

Regards,

--
Raphael
http://develissimo.com



Darren Hollenbeck

unread,
Oct 2, 2012, 5:30:24 PM10/2/12
to satchm...@googlegroups.com
django_registration (at least the 0.7 version that is listed as required by satchmo) uses the django core send_mail wrapper function and provides "settings.DEFAULT_FROM_EMAIL" as part of the create_inactive_user() function. Effectively this bypasses the shop configuration since there isn't a way to pass in the store_email.

So, apparently we need a duplicate (triplicate?) configuration for email settings...

1) store_email in the livesettings shop config
2) if not #1, satchmo uses the first listed email in settings.ADMINS (and I guess the ADMINS emails are also used elsewhere)

3) settings.DEFAULT_FROM_EMAIL to handle usage by django_registration
Reply all
Reply to author
Forward
0 new messages