跳过导航链接
A B C D E F G H I M P R S T U V 

A

addImage(String, InputStream) - 类 中的方法com.github.jarvisframework.tool.email.Mail
增加图片,图片的键对应到邮件模板中的占位字符串,图片类型默认为"image/jpeg"
addImage(String, InputStream, String) - 类 中的方法com.github.jarvisframework.tool.email.Mail
增加图片,图片的键对应到邮件模板中的占位字符串
addImage(String, File) - 类 中的方法com.github.jarvisframework.tool.email.Mail
增加图片,图片的键对应到邮件模板中的占位字符串
auth - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
是否需要用户名密码验证

B

bccs - 类 中的变量com.github.jarvisframework.tool.email.Mail
密送人列表(blind carbon copy)
buildContent(Charset) - 类 中的方法com.github.jarvisframework.tool.email.Mail
构建邮件信息主体
buildMsg() - 类 中的方法com.github.jarvisframework.tool.email.Mail
构建消息

C

ccs - 类 中的变量com.github.jarvisframework.tool.email.Mail
抄送人列表(carbon copy)
charset - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
编码用于编码邮件正文和发送人、收件人等中文
com.github.jarvisframework.tool.email - 程序包 com.github.jarvisframework.tool.email
 
connectionTimeout - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
Socket连接超时值,单位毫秒,缺省值不超时
content - 类 中的变量com.github.jarvisframework.tool.email.Mail
内容
create(MailAccount) - 类 中的静态方法com.github.jarvisframework.tool.email.Mail
创建邮件客户端
create() - 类 中的静态方法com.github.jarvisframework.tool.email.Mail
创建邮件客户端,使用全局邮件帐户
createDefaultAccount() - 枚举 中的方法com.github.jarvisframework.tool.email.GlobalMailAccountEnum
创建默认帐户

D

debug - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
defaultIfEmpty() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
如果某些值为null,使用默认值
doSend() - 类 中的方法com.github.jarvisframework.tool.email.Mail
执行发送

E

encodeText(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.email.InternalMailUtils
编码中文字符
编码失败返回原字符串

F

from - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
发送方,遵循RFC-822标准

G

getAccount() - 枚举 中的方法com.github.jarvisframework.tool.email.GlobalMailAccountEnum
获得邮件帐户
getCharset() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取字符集编码
getFrom() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取发送方,遵循RFC-822标准
getHost() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获得SMTP服务器域名
getPass() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取密码
getPasswordAuthentication() - 类 中的方法com.github.jarvisframework.tool.email.UserPassAuthenticator
 
getPort() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获得SMTP服务端口
getSession(boolean) - 类 中的方法com.github.jarvisframework.tool.email.Mail
获取默认邮件会话
如果为全局单例的会话,则全局只允许一个邮件帐号,否则每次发送邮件会新建一个新的会话
getSmtpProps() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获得SMTP相关信息
getSocketFactoryClass() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
getSocketFactoryPort() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取指定的端口连接到在使用指定的套接字工厂。
getUser() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
获取用户名
GlobalMailAccountEnum - com.github.jarvisframework.tool.email中的枚举
全局邮件帐户,依赖于邮件配置文件MailAccount.MAIL_SETTING_PATHMailAccount.MAIL_SETTING_PATH2
GlobalMailAccountEnum() - 枚举 的构造器com.github.jarvisframework.tool.email.GlobalMailAccountEnum
构造

H

host - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
SMTP服务器域名

I

InternalMailUtils - com.github.jarvisframework.tool.email中的类
邮件内部工具类
InternalMailUtils() - 类 的构造器com.github.jarvisframework.tool.email.InternalMailUtils
 
isAuth() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
是否需要用户名密码验证
isDebug() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
isHtml - 类 中的变量com.github.jarvisframework.tool.email.Mail
是否为HTML
isSocketFactoryFallback() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
isSplitlongparameters() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
isSslEnable() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
是否使用 SSL安全连接
isStarttlsEnable() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
是否使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。

M

Mail - com.github.jarvisframework.tool.email中的类
邮件发送客户端
Mail() - 类 的构造器com.github.jarvisframework.tool.email.Mail
构造,使用全局邮件帐户
Mail(MailAccount) - 类 的构造器com.github.jarvisframework.tool.email.Mail
构造
MAIL_DEBUG - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
 
MAIL_PROTOCOL - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
 
MAIL_SETTING_PATH - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
 
MAIL_SETTING_PATH2 - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
 
MAIL_SETTING_PATH3 - 类 中的静态变量com.github.jarvisframework.tool.email.MailAccount
 
mailAccount - 枚举 中的变量com.github.jarvisframework.tool.email.GlobalMailAccountEnum
 
mailAccount - 类 中的变量com.github.jarvisframework.tool.email.Mail
邮箱帐户信息以及一些客户端配置信息
MailAccount - com.github.jarvisframework.tool.email中的类
邮件账户对象
MailAccount() - 类 的构造器com.github.jarvisframework.tool.email.MailAccount
构造,所有参数需自行定义或保持默认值
MailAccount(String) - 类 的构造器com.github.jarvisframework.tool.email.MailAccount
构造
MailAccount(Setting) - 类 的构造器com.github.jarvisframework.tool.email.MailAccount
构造
MailException - com.github.jarvisframework.tool.email中的异常错误
邮件异常
MailException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.email.MailException
 
MailException(String) - 异常错误 的构造器com.github.jarvisframework.tool.email.MailException
 
MailException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.email.MailException
 
MailException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.email.MailException
 
MailException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.email.MailException
 
MailUtils - com.github.jarvisframework.tool.email中的类
邮件工具类,基于javax.mail封装
MailUtils() - 类 的构造器com.github.jarvisframework.tool.email.MailUtils
 
multipart - 类 中的变量com.github.jarvisframework.tool.email.Mail
正文、附件和图片的混合部分

P

parseAddress(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.email.InternalMailUtils
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
parseAddressFromStrs(String[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.email.InternalMailUtils
将多个字符串邮件地址转为InternetAddress列表
单个字符串地址可以是多个地址合并的字符串
parseFirstAddress(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.email.InternalMailUtils
解析第一个地址
pass - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
密码
pass - 类 中的变量com.github.jarvisframework.tool.email.UserPassAuthenticator
 
port - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
SMTP服务端口

R

reply - 类 中的变量com.github.jarvisframework.tool.email.Mail
回复地址(reply-to)

S

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
增加附件或图片,附件使用DataSource 形式表示,可以使用FileDataSource包装文件表示文件附件
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
设置正文
正文可以是普通文本也可以是HTML(默认普通文本),可以通过调用Mail.setHtml(boolean) 设置是否为HTML
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是对纯文本通信协议的扩展。

T

timeout - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
SMTP超时时长,单位毫秒,缺省值不超时
title - 类 中的变量com.github.jarvisframework.tool.email.Mail
标题
to(String...) - 类 中的方法com.github.jarvisframework.tool.email.Mail
设置收件人
tos - 类 中的变量com.github.jarvisframework.tool.email.Mail
收件人列表
toString() - 类 中的方法com.github.jarvisframework.tool.email.MailAccount
 

U

useGlobalSession - 类 中的变量com.github.jarvisframework.tool.email.Mail
是否使用全局会话,默认为false
user - 类 中的变量com.github.jarvisframework.tool.email.MailAccount
用户名
user - 类 中的变量com.github.jarvisframework.tool.email.UserPassAuthenticator
 
UserPassAuthenticator - com.github.jarvisframework.tool.email中的类
用户名密码验证器
UserPassAuthenticator(String, String) - 类 的构造器com.github.jarvisframework.tool.email.UserPassAuthenticator
构造

V

valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.email.GlobalMailAccountEnum
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.jarvisframework.tool.email.GlobalMailAccountEnum
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A B C D E F G H I M P R S T U V 
跳过导航链接

Copyright © 2020. All rights reserved.