TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Building a Lightweight, Command-Line Newsletter Program

4 点作者 erwald大约 4 年前

3 条评论

tux大约 4 年前
Google&#x27;s has free IMAP&#x2F;POP&#x2F;SMTP service but there daily email limit is 100&#x2F;day.<p>ProtonMail dosn&#x27;t have any free IMAP&#x2F;POP&#x2F;SMTP services and there daily email limit is 150&#x2F;day.<p>So if you don&#x27;t have many subscribers you should be fine. But you might be better off hosting your own small email server. You&#x27;ll have much more control over your emails. Good job coding &quot;nwsl&quot; in python, but you can code even lighter version with simple bash script.
ttyprintk大约 4 年前
A fine way to do it as lightly as necessary. A few things I’d consider to use it myself:<p>- mailbox-side filters to shove unsub and sub requests into folders. Then, the state discovery would read from those folders. This moves a little configuration into the server-side filtering (“Settings” in most webmails) so that I can pick up, for example, requests in non-English.<p>- Automatic subscribe requests would end up in their own folder, where To: addresses are the receiver. For a message to hit this folder, its filter needs to match an admin email.<p>- Non-requests from people would not end up in those folders, and I would accumulate those as reactions or comments —- collected as a comment-section for the next newsletter.<p>- Templating is helpful because there are laws around mailing list content. Perhaps more importantly, a mailto: link in the list-unsubscribe header.
vhodges大约 4 年前
Related(?): <a href="https:&#x2F;&#x2F;www.paperboy.email&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.paperboy.email&#x2F;</a><p>Also: Sendgrid is free to start and seems cheap enough for a bit of volume. I use them for transactional emails and $DAYJOB uses them too.