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;