Package org.wso2.carbon.email.sender.api

Examples of org.wso2.carbon.email.sender.api.EmailSender.sendEmail()


                                         Map<String,String> mailParameters) throws Exception {
        String emailTemplateFile = CarbonUtils.getCarbonConfigDirPath() + "/" + emailFile;
        EmailSenderConfiguration senderConfiguration =
                EmailSenderConfiguration.loadEmailSenderConfiguration(emailTemplateFile);
        EmailSender sender = new EmailSender(senderConfiguration);
        sender.sendEmail(toAddress, mailParameters);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.