actually start on mailing, fix email regex
Some checks failed
Code quality checks / biome (push) Failing after 22s

This commit is contained in:
creations 2025-06-10 16:34:15 -04:00
parent 00a7417936
commit 86be889ede
Signed by: creations
GPG key ID: 8F553AA4320FC711
17 changed files with 349 additions and 32 deletions

View file

@ -13,30 +13,4 @@ type MailerConfig = {
replyTo: string;
};
type EmailOptions = {
to: string | string[];
subject: string;
text?: string;
html?: string;
from?: string;
replyTo?: string;
cc?: string | string[];
bcc?: string | string[];
attachments?: EmailAttachment[];
};
type EmailAttachment = {
filename: string;
content?: Buffer | string;
path?: string;
contentType?: string;
cid?: string; // content-ID for embedded images
};
type EmailResult = {
success: boolean;
messageId?: string;
error?: string;
};
export type { MailerConfig, EmailOptions, EmailAttachment, EmailResult };
export type { MailerConfig };