- send() - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
发送
- send(String, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- send(MailAccount, boolean, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
发送邮件给多人
- sendHtml(String, String, String, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendText(String, String, String, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.email.MailException
-
- setAttachments(DataSource...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
- setAuth(boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置是否需要用户名密码验证
- setBccs(String...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置多个密送人(blind carbon copy)
- setCcs(String...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置多个抄送人(carbon copy)
- setCharset(Charset) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置字符集编码
- setCharset(Charset) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置字符集编码
- setConnectionTimeout(long) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置Socket连接超时值,单位毫秒,缺省值不超时
- setContent(String) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
- setContent(String, boolean) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置正文
- setDebug(boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- setFiles(File...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFrom(String) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置发送方,遵循RFC-822标准
发件人可以是以下形式:
1. user@xxx.xx
2.
- setHost(String) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置SMTP服务器域名
- setHtml(boolean) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置是否是HTML
- setPass(String) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置密码
- setPort(Integer) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置SMTP服务端口
- setReply(String...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置多个回复地址(reply-to)
- setSocketFactoryClass(String) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- setSocketFactoryFallback(boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- setSocketFactoryPort(int) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
指定的端口连接到在使用指定的套接字工厂。
- setSplitlongparameters(boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- setSslEnable(Boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置是否使用SSL安全连接
- setStarttlsEnable(boolean) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置是否使用STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。
- setTimeout(long) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置SMTP超时时长,单位毫秒,缺省值不超时
- setTitle(String) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置标题
- setTos(String...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置多个收件人
- setUseGlobalSession(boolean) - 类 中的方法com.github.jarvisframework.tool.email.Mail
-
设置是否使用全局会话,默认为true
- setUser(String) - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
-
设置用户名
- SMTP_AUTH - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SMTP_CONNECTION_TIMEOUT - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SMTP_HOST - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SMTP_PORT - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SMTP_TIMEOUT - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SOCKET_FACTORY - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SOCKET_FACTORY_FALLBACK - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- SOCKET_FACTORY_PORT - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- socketFactoryClass - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- socketFactoryFallback - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- socketFactoryPort - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
指定的端口连接到在使用指定的套接字工厂。
- SPLIT_LONG_PARAMS - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- splitAddress(String) - 类 中的静态方法com.github.jarvisframework.tool.email.MailUtils
-
将多个联系人转为列表,分隔符为逗号或者分号
- splitlongparameters - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- SSL_ENABLE - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- sslEnable - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
使用 SSL安全连接
- STARTTLS_ENABLE - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
-
- starttlsEnable - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
-
使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。