All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.dirigible.mail.extensions.mail.d.ts Maven / Gradle / Ivy

declare module "@dirigible/mail" {
    interface MailClient {
        /**
         * Send mail to MailRecipients
         * @param from
         * @param recepients
         * @param subject
         * @param text
         * @param sybType
         */
        send(from: string, recepients: string [], subject: string, text: string, sybType);

        toJavaProperties(properties);

        parseRecipients(recipients, type);
    }

    module client {
        /**
         * Get mail client with the provided MailClientOptions, if no options are provided, the default mail client configuration will be used
         * @param options
         */
        function getClient(options): MailClient;

        /**
         * Send mail using the default mail client configuration to MailRecipients
         * @param from
         * @param recepients
         * @param subject
         * @param text
         * @param sybType
         */
        function send(from: string, recepients: string [], subject: string, text: string, sybType);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy