MailMan:一个体面的电子邮件发送 Java 库-源码

上传者: 42102272 | 上传时间: 2021-06-30 09:06:24 | 文件大小: 11KB | 文件类型: ZIP
邮差 一个有意义的电子邮件库。 这个库是出于对现有流行库的不满而创建的。 它们太复杂了,不能真正测试,并且很难分离职责。 发送电子邮件 发送电子邮件很简单。 你所需要的只是一个EmailSender ,写一个Email ,说谁在发送它并设置它的收件人。 EmailSender emailSender = new SmtpEmailSender ( " smtp.gmail.com " ); emailSender . setAuthentication( " username " , " password " ); Email email = new Email (); email . setMessage( " Hello, World! " ); email . setFrom( " me@world.com " , " Me " ); email . addRecipient(

文件下载

资源详情

[{"title":"( 11 个子文件 11KB ) MailMan:一个体面的电子邮件发送 Java 库-源码","children":[{"title":"MailMan-master","children":[{"title":".gitignore <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"br","children":[{"title":"com","children":[{"title":"ampliato","children":[{"title":"mailman","children":[{"title":"api","children":[{"title":"EmailSender.java <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"Email.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"EmailType.java <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"Recipient.java <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"RecipientType.java <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"smtp","children":[{"title":"SmtpEmailSender.java <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"br","children":[{"title":"com","children":[{"title":"ampliato","children":[{"title":"mailman","children":[{"title":"smtp","children":[{"title":"SmtpEmailSenderTest.java <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明