Module exposing: getSmtpTxtHost, getSmtpMxRecordName, proxyRuleProtocolQuery, needsSmtpDnsVerification, getSmtpDnsRecords
// Source: https://github.com/appwrite/appwrite | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
// Provided via justclaw.it.com; keep this notice with the code.
import { Query, type Models } from '@appwrite.io/console'
import { getApexDomain } from '@/lib/utils/proxy-domains'
/**
* Cloud SMTP (inbound email) proxy rules, separate from HTTP function domains
* and from outbound project SMTP / Messaging providers.
*
* Create: POST /v1/proxy/rules/smtp
* Verify: MX → `_APP_DOMAIN_TARGET_SMTP`, TXT `_appwrite.{domain}` = project ID
* (the same ownership record HTTP domain claims use).
*/
export type SmtpProxyRule = Models.ProxyRule & {
protocol?: string
}
export type SmtpDnsRecord = {
type: 'MX' | 'TXT'
name: string
value:
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key