public class Mailer
extends Object
Constructor and Description |
---|
Mailer() |
Modifier and Type | Method and Description |
---|---|
static void |
sendMail(MailParams params)
Send email.
|
static void |
sendMail(MailParams params,
String subject,
String message,
String file)
Send email.
|
public static void sendMail(MailParams params, String subject, String message, String file) throws Exception
params
- the parameterssubject
- the subjectmessage
- the messagefile
- the fileException
- in case of any errorpublic static void sendMail(MailParams params) throws Exception
params
- the parametersException
- n case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.