{"id":16331597,"url":"https://github.com/soxft/timemail","last_synced_at":"2025-09-07T16:36:29.756Z","repository":{"id":49169286,"uuid":"278299914","full_name":"soxft/TimeMail","owner":"soxft","description":"Write a letter to the future,After many years, I hope you will live up to your expectations.","archived":false,"fork":false,"pushed_at":"2024-08-26T07:38:32.000Z","size":159,"stargazers_count":59,"open_issues_count":0,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T16:46:45.677Z","etag":null,"topics":["mail","postmail","time","timemail"],"latest_commit_sha":null,"homepage":"https://www.timeletters.cn","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soxft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-09T07:53:58.000Z","updated_at":"2025-03-10T12:04:42.000Z","dependencies_parsed_at":"2024-08-26T09:27:58.597Z","dependency_job_id":"d87f70d0-423a-41f4-ae90-b0870674108b","html_url":"https://github.com/soxft/TimeMail","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxft%2FTimeMail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxft%2FTimeMail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxft%2FTimeMail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxft%2FTimeMail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soxft","download_url":"https://codeload.github.com/soxft/TimeMail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251717444,"owners_count":21632299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mail","postmail","time","timemail"],"created_at":"2024-10-10T23:27:44.695Z","updated_at":"2025-04-30T14:11:14.944Z","avatar_url":"https://github.com/soxft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TimeMail\n[![](https://data.jsdelivr.com/v1/package/gh/soxft/TimeMail/badge)](https://www.jsdelivr.com/package/gh/soxft/TimeMail)\n\u003ca href=\"http://www.apache.org/licenses/LICENSE-2.0.html\"\u003e \n\u003cimg src=\"https://img.shields.io/github/license/soxft/TimeMail.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/soxft/TimeMail/stargazers\"\u003e \n\u003cimg src=\"https://img.shields.io/github/stars/soxft/TimeMail.svg\" alt=\"GitHub stars\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/soxft/TimeMail/network/members\"\u003e \n\u003cimg src=\"https://img.shields.io/github/forks/soxft/TimeMail.svg\" alt=\"GitHub forks\"\u003e\u003c/a\u003e \n\n## 简介\n\u003e 给未来写封信\u003cbr /\u003e\n\u003e 多年之后,愿你不负所期.\u003cbr /\u003e\n\u003e 时间没有现在,永恒没有未来,也没有过去\u003cbr /\u003e\n\u003e 未来的你,过的还好吗?\u003cbr /\u003e\n\u003e 给未来写封信,从过去获得惊喜,\u003cbr /\u003e\n\u003e 给未来的自己带来些鼓励的话, \u003cbr /\u003e\n\u003e 或是写下一些目标,看未来的自己是否实现\n\n# 初衷\n  制作这个项目的初衷是为了让我们放下手边的一些事,或是给自己定下一个目标,或是仅仅只是一段对自己未来的憧憬。\n  \n  在这个平台寄送出去,寄出的信是不可撤回的,也不可查找,希望你也忘掉这件事,直到你收到信的那一天,也给自己一个惊喜.在那一天回忆起写这封信的时候,带着更多的可能是一种怀念?或许这封邮件会激励你越走越远...\n  \n# 用户/隐私协议\n1. TimeMail-时光邮局,包括但不限于TimeMail,时光邮局等(特指定本程序)由\u003ca href='//xsot.cn'\u003eXCSOFT\u003c/a\u003e开发,版权归xcsoft所有.\n\n2. 源码使用到了MDUI作为前端样式,后端采用php,发信采用PHPMailer库. 在使用本程序时,应同时遵守以上源码的开源协议.\n\n3. 由于某些不可抗因素,故开源本源码,由于时间限制,并没有做网页端的安装程序,所以需要用户手动修改根目录下的`config.php`,具体步骤会在下方快速开始栏目显示.\n\n4. 在使用过程中,请不要修改版权信息,当然如果你实在要去改的话,我也拦不住\\^_^)\n\n5. 基于\u003ca href='http://www.apache.org/licenses/LICENSE-2.0.html'\u003eApache2.0\u003c/a\u003e开源协议开源,使用过程中涉及到的一切可能造成损失的因素,由运营者承担,与本人无关.\n\n6. 请不要使用与官方运营名称相类似的标题, 如 “拾光邮局” 等标识, 否则我们将采取相应措施, 包括但不限于在 本仓库标识, 官网展示等.\n\n7. 禁止以任何手段倒卖本程序. \n\n8. 协议可能随时更新,不另作通知.\n\n# 快速开始\n1.修改根目录下的`config.php`文件,将DATABASE常量依据注释中的提示指向数据库地址,并导入根目录下的`time.sql`文件.\n\n2.修改其他基本信息,注意网址必须区分https与http,否则可能导致邮件无法发送,在修改smtp信息的同时请注意填写正确,区分好授权码和密码.\n\n3.将常量`IF_SET`修改为`true`,用于标识已经修改config信息.\n\n4.至此,已经安装完毕,请注意如果任然无法发送邮件,可能是服务商屏蔽了25等常用smtp端口,请尝试与服务商取得联系得到支持,同时也注意服务器是否放通了该类端口,或者查看是否是WAF(Nginx防火墙)屏蔽了海外访问等常见问题.\n\n5.最后记通过 Corntab 或 Uptime 等其他方式添加一个计划任务,定时访问 http//example.com/server/send.php 一天 \u003e 2次 用于监控定时发信\n\n# 需要注意\n\n\u003e TIPS: 由于仍然使用 mysqli 连接数据库, 未对语句进行预处理, 确定存在注入安全问题。 请务必搭配 WAF 使用，以避免隐私泄漏及潜在的安全风险。\n\n如果搭建该平台，希望您能遵守约定，将所有信件按时寄出。\n\n目前 www.timeletters.cn 为我们运行的官方站点, 并在持续升级构建中. (该版本并不会开源)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoxft%2Ftimemail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoxft%2Ftimemail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoxft%2Ftimemail/lists"}