From f2da28e7cb8045b574005077dad085c6e789eae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 26 Nov 2026 22:48:42 +0100 Subject: [PATCH] Reference site: generated types with the field emailMethod Co-Authored-By: Claude Fable 5.2 --- reference/src/payload-types.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/reference/src/payload-types.ts b/reference/src/payload-types.ts index 418b272..c768743 100644 --- a/reference/src/payload-types.ts +++ b/reference/src/payload-types.ts @@ -2783,8 +2783,9 @@ export interface SiteIntegration { checkedAt?: string | null; }; /** - * Automatic uses your SMTP server when it is filled in below, and IWSN otherwise. + * E-mails are sent the way chosen here, and no other way. */ + emailMethod?: ('relay' | 'smtp' | 'graph') | null; emailTransport?: ('smtp' | 'graph') | null; /** * Replies go to this address; with your own SMTP server, e-mails are also sent from it. @@ -2794,9 +2795,6 @@ export interface SiteIntegration { * The name recipients see, e.g. the company name; when empty, the site name. */ smtpFromName?: string | null; - /** - * Optional: fill in only to send through your own mail server instead of IWSN. - */ smtpHost?: string | null; /** * Usually 587, or 465. @@ -3218,6 +3216,7 @@ export interface SiteIntegrationsSelect { since?: T; checkedAt?: T; }; + emailMethod?: T; emailTransport?: T; smtpFromAddress?: T; smtpFromName?: T;