public final class EmailUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
sendHTMLMail(String[] recipients,
String from,
String subject,
String content,
String mailServer)
Send HTML mail.
|
static void |
sendHTMLMailWithAttachment(String[] recipients,
String from,
String subject,
String content,
String mailServer,
String[] attachedFiles)
Send HTML mail with attachment.
|
static void |
sendMail(String[] recipients,
String from,
String subject,
String content,
String mailServer) |
static void |
sendMailWithAttachment(String[] recipients,
String from,
String subject,
String content,
String mailServer,
String[] attachedFiles)
Send mail with attachment.
|
public static void sendMail(String[] recipients, String from, String subject, String content, String mailServer)
recipients - from - subject - content - mailServer - public static void sendMailWithAttachment(String[] recipients, String from, String subject, String content, String mailServer, String[] attachedFiles)
recipients - from - subject - content - mailServer - attachedFiles - public static void sendHTMLMail(String[] recipients, String from, String subject, String content, String mailServer)
recipients - from - subject - content - mailServer - Copyright © 2021. All rights reserved.