First time here? Check out the FAQ!
0

welcome email for first time user

I am not sure if this function exist. If not would it be hard to implement? I want to send a welcome email to first time user. I don't think this exist. If someone can give instructions on implementing that would be great.

I am not using regular django_open_auth module. I am using different authentication system. I have a table to keep track of these users and they only generate a row when they login for the first time. I wonder if I can use that to generate a welcome email.

SocialQA's avatar
265
SocialQA
asked 2014-01-20 10:18:04 -0500, updated 2014-01-30 15:29:04 -0500
edit flag offensive 0 remove flag close merge delete

Comments

If what you mean is the email you receive right after registration, then that is implemented. If that's not what you are looking for, could you clarify what you mean by "welcome email"?

apg's avatar apg (2014-01-30 15:23:13 -0500) edit

I don't use default authentication, I use my own authentication since I don't use open_auth no email comes to the user. I use a SAML2 type authenticaton system where I have a table to keep track of who logs in... that table create a record of the user when they first time login...

SocialQA's avatar SocialQA (2014-01-30 15:30:56 -0500) edit
add a comment see more comments

1 Answer

1

This is not a direct answer, but you may want to take a look at lines starting from 3536 in askbot/models/__init__.py

def greet_new_user(user, **kwargs):
"""sends welcome email to the newly created user
apg's avatar
167
apg
answered 2014-01-30 17:30:42 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments