@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
22 lines (21 loc) • 622 B
TypeScript
import { Core_Email } from "../../../types";
/**
* Send a simple email
* @param to The recipient email address
* @param subject The subject of the email
* @param text The plain text content of the email
* @returns The saved email object
*/
export declare function sendSimpleEmail(to: string, subject: string, text: string): Promise<Core_Email>;
/**
* Send a template email
* @param param0
* @returns
*/
export declare function sendTemplateEmail({ to, subject, fallback, template, data, }: {
to: string;
subject: string;
fallback: string;
template: string;
data: any;
}): Promise<Core_Email>;