项目作者: bingblue

项目描述 :
Send Email By Nodemailer
高级语言: JavaScript
项目地址: git://github.com/bingblue/send-nodemailer.git
创建时间: 2020-01-22T00:56:33Z
项目社区:https://github.com/bingblue/send-nodemailer

开源协议:MIT License

下载


Send-Nodemailer

Send Email By Nodemailer.

使用Nodemailer发送邮件。

Base Info

作者 : 小牧COOL

博客xiaomucool.com

QQ群215259343

官网www.bingblue.com

Usage

  1. - name: Send Mail 发送邮件
  2. uses: bingblue/send-nodemailer@master
  3. with:
  4. # 账号
  5. user: '${{ secrets.MAIL_USER }}'
  6. # 密码
  7. pass: '${{ secrets.MAIL_PASS }}'
  8. # Host,在邮箱的设置里可以找到
  9. host: 'smtp.exmail.qq.com'
  10. # 端口
  11. port: 465
  12. # 是否开启SSL
  13. secure: true
  14. # 发送者
  15. from: 'Your Name <youremail@gmail.com>'
  16. # 收件人
  17. to: someone@gmail.com,sometwo@outlook.com
  18. # 主题
  19. subject: 'this is email subject'
  20. # Use html file prefix [file://],使用HTML文件,已[file://]开头
  21. html: file://./path/result.html
  22. # Or use html script,或者使用HTML代码片段
  23. # html: '<p>this is content</p>'

More

Usage docs for Nodemailer are here.

更多Nodemailer用法请看官方文档

License

The scripts and documentation in this project are released under the MIT License

Powered by : 小牧COOL