Email Message
Email message with recipients, subject, body (text/HTML), and attachments.
common
Install
$ npx shadcn@latest add @open-types/email-message
Source
export interface EmailAttachment {
filename: string;
content_type: string;
size: number;
}
export interface EmailMessage {
from: string;
to: string[];
cc?: string[];
bcc?: string[];
subject: string;
text?: string;
html?: string;
reply_to?: string;
attachments?: EmailAttachment[];
}
export interface EmailAttachment {
filename: string;
content_type: string;
size: number;
}
export interface EmailMessage {
from: string;
to: string[];
cc?: string[];
bcc?: string[];
subject: string;
text?: string;
html?: string;
reply_to?: string;
attachments?: EmailAttachment[];
}