mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Add undeliverable email address
This commit is contained in:
parent
24cc2cfe16
commit
502823df0a
@ -111,6 +111,7 @@ export async function checkEmailWithEmailable(
|
||||
const response = validateVerifyResponse(raw);
|
||||
|
||||
if (response.state === "undeliverable" || response.disposable) {
|
||||
console.log("Checked email address with Emailable and found it to be not deliverable", { email, response });
|
||||
return { status: "not-deliverable", emailableResponse: response, emailableScore: response.score };
|
||||
}
|
||||
return { status: "ok", emailableScore: response.score };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user