需求
使用fastlane打包的时候,打包成功想要直接发送邮件给指定的同学,fastlane目前没有很好的支持脚本发送邮件,mailgun这个是fastlane的作者推荐使用的邮件服务,我采用的方案还是自己写脚本
方案
sendEmail 下载方法
brew install sendEmail
然后在终端输入sendEmail 可以查看他的使用说明,也可以参考他的网站sendEmail

发送成功如下图

补充
取消安全连接的选中状态 没找到具体原因,如果选中安全连接,邮件发不出去,希望解决的同学在评论区说明

网友评论