import { Service } from '../Core/index'; import { Email } from './SendmailTypes'; /** * Mail sender * * Sends email through SMTP * */ export declare class Sendmail extends Service { /** * Get deployment type associated to Sendmail service * @return {string} */ static readonly DEPLOYMENT_TYPE: string; /** * Get default deployment id associated to Sendmail service * @return {string} */ static readonly DEFAULT_DEPLOYMENT_ID: string; /** * Mail service user API * * This service is statically configured with an outgoing SMTP server. * Users call the API here to actually send emails. * @access public * */ /** * Sends an email * * Sends an email with the given body to the intended recipients. * @access public * */ send(body: Email): void; }