Sends the confirmation instructions email for the specified user.

    :param user: The user to send the instructions to

def send_confirmation_instructions(user):
    """Sends the confirmation instructions email for the specified user.

    :param user: The user to send the instructions to
    """

    confirmation_link, token = generate_confirmation_link(user)

    _security.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,
                                   token=token)