visamz / commenttomail Goto Github PK
View Code? Open in Web Editor NEWTypecho评论邮件提醒插件
Typecho评论邮件提醒插件
使用的QQ邮箱
如题,今天手贱点了插件的禁用,结果还要重新设置!!
表示很难受。
最近大致看了一下插件的源代码,是先把评论写入文件,然后以文件名为 url 参数传递到 action 的。直接把评论的内容格式户成 json 在 url 里面传递不可以么?
很多 php 环境本地都是不可写的,比如各种 app engine,这样就大大的限制了插件的利用场景。
2021-08-05 10:59:52 开始发送请求:https://XXXXXXX.XXX/index.php/action/comment-to-mail?send=IAEk6AW
SOCKET错误,0:
用的是腾讯企业邮箱
发送服务器hwsmtp.exmail.qq.com 端口465
主机在国外
提示插件目录不可写 typecho版本 1.1 (17.10.30)
启用插件提示:Server Error
无法发送邮件
环境:
Nginx 1.21.4
OpenSSL 1.1.1l
PHP 8.0
Typecho 1.2.0-RC
Attempt to assign property "from" on null
报错:
SOCKET错误,0
Apache/2
MySQL: 5.6.49
因为我使用的是GCP的VPS,GCP封禁了所有的邮件端口,目前看好像只能使用第三方邮件系统的API来实现邮件的收发!
插件要是支持第三方邮件就最好了!解决我一个大问题!
要做一个评论回复邮件提醒的勾选☑️
感觉是需要【支持socket 和 curl 两种方式异步触发请求】这个功能去做的。
能否告诉我一下 怎么写个代码。
设置完成后,评论未发送邮件。
php没有报错
cache的评论缓存文件已经生成了。
2017-09-12 21:28:42 开始发送请求:https://joychou.org/action/comment-to-mail?send=LWKIHxH
Socket 方式发送
请求结束
你好,如题,下载安装后到对应目录后,在控制面板启用插件时提示500错误?
是否是版本不兼容?我当前的typecho版本是1.0正式版。
谢谢。
邮件发送类需更新,目前版本发送失败,经检查发现是phpmailer类需更新,自行更新替换后功能正常,望修复,谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.