wazobiamail-nuxt is the official Nuxt module. It keeps the API key in private Nitro runtime config, adds a serverWazobiaClient(event) helper for server routes, and auto-imports the Vue composables from wazobiamail-vue.
npm package
wazobiamail-nuxt — version 0.1.0Source
WazobiaMail/wazobiamail-nuxt
At a glance
Install
runtimeConfig.wazobiamail.apiKey— private, server-only.runtimeConfig.wazobiamail.baseUrlandtimeout— private, server-only.runtimeConfig.public.wazobiamail.baseUrl— safe to expose.
Send from a Nitro route
serverWazobiaClient(event) is auto-imported inside server/:
Composables in pages and components
The module registers global auto-imports for:useSendMailuseMailboxuseDomainsuseSpamCheckuseWazobiaMail
serverWazobiaClient is the recommended path for sending.
Environment variables
WAZOBIAMAIL_API_KEY is also accepted by the underlying SDK.
