Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否增添自由发邮件的功能 #98

Closed
lemongad opened this issue Apr 4, 2024 · 10 comments · Fixed by #113
Closed

能否增添自由发邮件的功能 #98

lemongad opened this issue Apr 4, 2024 · 10 comments · Fixed by #113

Comments

@lemongad
Copy link

lemongad commented Apr 4, 2024

找到一个 worker代码,https://gist.github.com/ihsangan/6111b59b9a7b022b5897d28d8454ad8d
作者可以参考,实现功能
为作者项目点赞

@dreamhunter2333
Copy link
Owner

mailchannels 是第三方的服务,cf 的邮件功能目前只能收或者自动回复,发送邮件只能到验证的转发地址

@lemongad
Copy link
Author

lemongad commented Apr 7, 2024

mailchannels 是第三方的服务,cf 的邮件功能目前只能收或者自动回复,发送邮件只能到验证的转发地址

作者大大,发现一个仓库可以支持cf发邮件,但是不知道什么原理 https://github.com/oiov/vmail

@lemongad
Copy link
Author

lemongad commented Apr 7, 2024

就是每次仓库代码改动都需要重新拉取部署吗?能否提供一个比较快捷方式,比如一键升级命令

@dreamhunter2333
Copy link
Owner

就是每次仓库代码改动都需要重新拉取部署吗?能否提供一个比较快捷方式,比如一键升级命令

好的我看一下怎么加个简单的方式

@dreamhunter2333
Copy link
Owner

dreamhunter2333 commented Apr 10, 2024

看起来可以通过这个来发送
https://gist.github.com/stonking/3902550b2b0066a28a5064b73e2505ee

@lemongad
Copy link
Author

找到一个 worker代码,https://gist.github.com/ihsangan/6111b59b9a7b022b5897d28d8454ad8d 作者可以参考,实现功能 为作者项目点赞

是的,上面代码也是根据MailChannels发件的,但是作者你找的这个时间好早,没想到2年前就可以利用这个发件了

@dreamhunter2333
Copy link
Owner

找到一个 worker代码,https://gist.github.com/ihsangan/6111b59b9a7b022b5897d28d8454ad8d 作者可以参考,实现功能 为作者项目点赞

是的,上面代码也是根据MailChannels发件的,但是作者你找的这个时间好早,没想到2年前就可以利用这个发件了

经过测试可以发送,我有空集成到现在的逻辑里

@dreamhunter2333
Copy link
Owner

@xiewei3536
Copy link

@dreamhunter2333
大佬,可以正常寄出。但收到邮件内容似乎有点问题,请帮忙看看是否哪里有问题,感谢!

CleanShot 2024-04-12 at 14 19 03@2x

@dreamhunter2333
Copy link
Owner

@dreamhunter2333

大佬,可以正常寄出。但收到邮件内容似乎有点问题,请帮忙看看是否哪里有问题,感谢!

CleanShot 2024-04-12 at 14 19 03@2x

可以看下发件箱中的json么

@dreamhunter2333 dreamhunter2333 linked a pull request Apr 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants