def send_confirmation_instructions(user):
 (confirmation_link, token) = generate_confirmation_link(user)
 send_mail(config_value('EMAIL_SUBJECT_CONFIRM'), user.email, 'confirmation_instructions', user=user, confirmation_link=confirmation_link)
 confirm_instructions_sent.send(app._get_current_object(), user=user)
 return token

def send_confirmation_instructions ( user ) : ( confirmation_link , token ) = generate_confirmation_link ( user ) send_mail ( config_value ( 'EMAIL_SUBJECT_CONFIRM' ) , user . email , 'confirmation_instructions' , user = user , confirmation_link = confirmation_link ) confirm_instructions_sent . send ( app . _get_current_object ( ) , user = user ) return token
sends the confirmation instructions email for the specified user .