sendMfaEmailCode
suspend fun SignIn.sendMfaEmailCode(emailAddressId: String? = null): ClerkResult<SignIn, ClerkErrorResponse>
Sends a verification code to the user's email address for MFA (second factor) authentication.
This is a convenience method that prepares the email code verification strategy for second factor authentication. The verification code will be sent to the email address associated with the user's MFA settings.
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 second factors.