UNPKG

@gravitywelluk/aws

Version:

Library of commonly used AWS wrapper functions to communicate with the AWS SDK

12 lines (11 loc) 408 B
import * as AWS from "aws-sdk"; import { SendMailOptions, SentMessageInfo } from "nodemailer"; /** * sends a templated email * * @param fileName string * @param body any * @returns promise with the output * @memberof AwsSESService */ export declare const sendEmailWithAttachment: (mailOptions: SendMailOptions, configOverrides?: AWS.SES.ClientConfiguration) => Promise<SentMessageInfo>;