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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
SocialQA's avatar
265
SocialQA
asked 11 years ago, updated 11 years ago

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 (11 years ago)

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 (11 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
apg's avatar
167
apg
answered 11 years ago
link

Comments

see more comments