类的使用
com.gdxsoft.easyweb.utils.Mail.SmtpCfg
使用SmtpCfg的程序包
-
com.gdxsoft.easyweb.utils.Mail中SmtpCfg的使用
修饰符和类型方法说明static SmtpCfgSmtpCfgs.getDefaultSmtpCfg()static SmtpCfgSmtpCfgs.getSmtpCfg(SendMail sm) Get a SMTP configuration from the SendMailstatic SmtpCfgSmtpCfgs.getSmtpCfg(String fromEmail, List<Addr> recipients) Get a SMTP configuration from sender or recipientsstatic SmtpCfgSmtpCfgs.getSmtpCfg(javax.mail.internet.MimeMessage msg) Get a SMTP configuration from the message返回变量类型为SmtpCfg的类型的com.gdxsoft.easyweb.utils.Mail中的方法修饰符和类型方法说明SmtpCfgs.getSmtpCfgByFromDomain(String fromDomain) Get all configurations that match the from domain nameSmtpCfgs.getSmtpCfgByFromEmail(String fromEmail) Get all configuration that match the from email addressSmtpCfgs.getSmtpCfgByToDomain(String toDomain) Get all configurations that match the to domainSmtpCfgs.getSmtpCfgByToDomain(List<Addr> al) Get all SMTP configurations that match the recipient domain listSmtpCfgs.getSmtpCfgByToEmail(String toEmail) Get all configurations that match the to email addressSmtpCfgs.getSmtpCfgByToEmail(List<Addr> al) Get all SMTP configurations that match the recipient list参数类型为SmtpCfg的com.gdxsoft.easyweb.utils.Mail中的方法修饰符和类型方法说明static javax.mail.SessionSmtpCfgs.createMailSession(SmtpCfg smtpCfg) Create a mail session