UNPKG

@churchapps/apihelper

Version:

Library of helper functions not specific to any one ChurchApps project or framework.

9 lines 545 B
import { IEmailPayload } from '.'; export declare class EmailHelper { private static getSESClient; static sendTemplatedEmail(from: string, to: string, appName: string, appUrl: string, subject: string, contents: string, emailTemplate?: "EmailTemplate.html" | "ChurchEmailTemplate.html", replyTo?: string): Promise<void>; static readTemplate(templateFile?: string): string; private static sendSes; static sendEmail({ from, to, subject, body, replyTo }: IEmailPayload): Promise<void>; } //# sourceMappingURL=EmailHelper.d.ts.map