feat(Go-StudyExample):2020/12/29:新增【Go每日一库】emial发送邮件

This commit is contained in:
Huangzj
2020-12-29 11:55:19 +08:00
parent ac81840d80
commit 20c2c7fab0
7 changed files with 164 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
获取库命令:go get github.com/jordan-wright/email
参考地址:https://segmentfault.com/a/1190000021761747
参考地址:https://github.com/darjun/go-daily-lib
使用说明:
先要打开邮箱,通过上方的设置找到STMP服务,打开该服务,获取对应的密码
搜索对应邮箱的STMP地址和端口号,这个百度就可以找到
填写对应的发送邮箱和接受邮箱,并设置STMP密码即可