function isEmailEnabled
isEmailEnabled(): boolean

Checks whether email can be sent. Without an SMTP server, sign-up sends no welcome email, a password reset request does nothing, and no digest goes out.

Return Type

boolean

Usage

import { isEmailEnabled } from "api/services/email-service.ts";