sendEmailCode
suspend fun SignIn.sendEmailCode(emailAddressId: String? = null): ClerkResult<SignIn, ClerkErrorResponse>
Sends a verification code to the user's email address for first factor authentication.
This is a convenience method that prepares the email code verification strategy. The verification code will be sent to the email address associated with the sign-in.
Return
A ClerkResult containing the updated SignIn object on success, or a ClerkErrorResponse on failure.
Parameters
emailAddressId
Optional ID of the email address to send the code to. If not provided, the email address ID will be automatically retrieved from the supported first factors.