UNPKG

ses-mail-protector

Version:

Node.js library for AWS SES email sending with bounce & complaint handling using MongoDB.

21 lines (17 loc) 433 B
export declare function sendEmail(args: { to: string; subject: string; body: string; from?: string; }): Promise<any>; export declare function handleSnsNotification( req: any, res: any ): Promise<void>; export declare function isSuppressed(email: string): Promise<any>; export declare function addToSuppression( email: string, type?: string, details?: any, reason?: string ): Promise<void>;