Skip to content

Update the sendEmail function documentation to include the email sending to non existent users. #27610

@tharakawijekoon

Description

@tharakawijekoon

Document issue type

Type/Bug (Report inaccuracies, outdated information, or missing details in the existing content)

Description

The sendEmail function can be used to send emails to users who do not exist in the identity server by passing the email in the "send-to" and setting the "flowType" as registration

example:

var sent = sendEmail(context.currentKnownSubject, 'EmailOTP', {
    'send-to': email,
    'flowType': 'registration',
    'OTPCode': otp
});

This is not documented.

Version

7.2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions