使用SendGrid发送注册邮件

使用SendGrid发送注册邮件
Email Newsletters — Ghost Developer Docs
Sites using the Members feature benefit from built-in email newsletters, where all posts can be delivered directly to segments of your audience in just a few clicks.

之前对邮件这个东西不感兴趣,不过我也想试试万一,有朋友想注册我的网站呢,不试不知道,原来我的这个网站一直都无法注册。既然Ghost都做了这么好的一个系统,还是有必要把这个邮件系统整起,至少要能正常注册吧。

去看了官方默认的邮件管理工具:Mailgun,这家伙,真的是,必须信用卡才能注册,那就找找替代方案吧。

7 Best Mailgun Alternatives For Transactional Emails (2023)
Looking for an email API service to send transactional emails? Here are seven Mailgun alternatives with easy SMTP integration.
Is there a cheaper option for email than the Mailgun intergration?
Hi, I am currently paying Mailgun $35 a month for the Foundation tier. It includes 50,000 emails per month, but my total email count this month is 50. I can not see that going above 1000 emails in the long term unless my site suddenly gets super popular. That 50 email count includes transactional and newsletter emails. I tried to downgrade my Mailgun account, but it is not showing anything lower than the Foundation tier at $35 per month, which I am currently on. At this rate, I might as we…

方案很多,随便选一个就行了。对了,有网友推荐这个SendGrid,看起来还不错,去搜一下教程。

Configure SMTP For Outbound Emails (Ghost SMTP Setup)
Email configuration for your ghost publication. There are two type of setup needed for ghost emails. For transactional emails & for Newsletter emails.
Setting up Sendgrid with Ghost and DigitialOcean
Set up the Sendgrid for sending email on Droplet hosted on DigitalOcean.

1.注册

2.Authenticate your sending domain

选择yes就可以填写自己的域名作为发送者。

按照步骤,填写好你的发送域名,这个默认你的域名就可以了。然后就是DNS验证,把Recors在解析服务器上面配置好即可。

3.Integrate using our Web API or SMTP Relay

这个选择SMTP Relay:

生成密钥:

然后编辑Ghost配置文件,如果是Docker托管,就修改环境变量,把上面的参数复制过去就可以了。我是在pikapods上面托管的,在下面的这个位置,复制过去就可以了。

然后验证成功,可以发送邮件了。

4.Activity Feed

在数据面板查看行为记录和数据统计

SendGrid
Delivering your transactional and marketing email through one reliable platform.

注意:这配置好以后可实现用户注册功能。不能实现mailgun的群发newsletter功能。

Delivering bulk email newsletters can’t be done with basic SMTP. A bulk mail provider is a requirement to reliably deliver bulk mail. At present, Mailgun is the only supported bulk email provider. Mailgun is free for up to 600 emails per month, and has very reasonable pricing beyond that.

Why do I have to set up Mailgun for newsletters?
Sending bulk email to many recipients using SMTP is not supported. In order to send newsletters from Ghost you’ll need to setup Bulk Mail with Mailgun.

就目前的实际情况,要使用mailgun存在很多问题,首先就是mailgun的滥用,导致正常注册都是十分困难的(我的手机号就无法接收验证码),即使是注册成功,你不添加信用卡也不能自定义域名,很容易被和谐,进入垃圾邮件。需要了,以后再说吧

mailgun 邮件服务注册激活与使用 - Guozhang Wu’s Blog - 吴国章的博客
在阅读 laravel 文档的时候,发现邮件发送模块的多个 driver 中, mailgun 是排第一的,好奇心作祟,决定尝试使用一下。注册、激活邮箱注册,邮箱激活,基本操作不再赘述。邮箱激活…

Read more

DNSRelay,支持H3、DoQ、DNSSEC、ECS和拦截规则的安卓客户端

DNSRelay,支持H3、DoQ、DNSSEC、ECS和拦截规则的安卓客户端

最近1年时间都是用Null Private的DNS服务,在安卓手机上可以直接使用DoT,不需要第三方客户端,但是有时候感觉还是不方便,不过最近Adguard客户端有很多问题,经常后台退出,或者过度拦截。于是去商店找了几款DNS客户端体验,而目前支持H3的DNS客户端数量非常少,其中DNSRelay的体验还真的不错。这是2025年11月发上架的新APP,参考下载地址: https://apkcombo.com/tw/dnsrelay-secure-dns-proxy/com.sonlabs.dnsrelay/ 官方介绍: 功能 1.隐私 这款DNS客户端首要优势就是支持主流的DNS协议,包括DNS-over-HTTPS (DoH)、DNS-over-TLS (DoT)、DNS-over-QUIC (DoQ) 以及 HTTP/3。那么阿里云的H3 DNS就可以派上用场了,还有易安云的DoQ以及Null Private的H3都能用上了。而像HTTP/3这种集大成的DNS协议,是目前你能用到的最好的协议。 阿里云:h3://dns.alidns.com/dns

By note
Notion免费版与一众云笔记的政策对比

Notion免费版与一众云笔记的政策对比

Notion几乎是PKM界首屈一指,而且免费版对比其他云笔记工具,也是真香的存在,且看不限量的区块和页面,不限量的小于5MB的文件存储,就能PK掉一众云笔记工具。 且看存储空间精贵的FlowUs: 把“块”当作宝贝的Wolai: 老派但是增加了AI功能的有道云笔记: 功能拉垮的印象笔记Verse: 跟随者FlowIn,功能非常简单: 语雀: 飞书,认证前15G云空间,单个文件不超过20MB,也是够用,只是桌面端反应慢、功能单一,不是纯粹的云笔记工具。 上手难度极高的Tana: 免费空间高达100MB且很难用的Anytype: Capacities免费版也提供无限的空间和块,只是媒体限制5G且超出后每月增加100MB。 Amplenote看介绍也是没有容量和页面的限制,单个文件限制5MB。 颜值不错的Craft,但是1500个免费的块真的太感人了。 Notion 看完这么多云笔记工具,再看看Notion的免费版提供的待遇: 梳理了这么多云笔记的价格,可以发现,提供免费无线区块或者页面的云笔记,有Capacities、Amplenote以

By note
123云盘PC客户端支持挂载盘

123云盘PC客户端支持挂载盘

这个功能是近期更新的,因为之前官方的客户端不支持挂载盘,我一直是用RaiDrive去挂载的,其实体验也还不错,比较稳定。新版客户端直接支持挂载盘,对于普通用户来说,真的太友好了。挂载盘需要VIP才能使用。 安装新版Windows客户端,登录后,找到工具中心,点击挂载盘。 可以看到配置界面和功能介绍。 挂载 点击挂载,很快就配置成功,可以打开我的电脑查看你的网盘文件 体验 挂载后,网盘就像是本地硬盘一样,由于有缓存,而且123盘作为云服务供应商做的产品,其网络速度本身就不错,基本上可以媲美本地硬盘的使用感受 退出客户端依然可以正常使用,这个的体验就真的太好了。 速度 测试拷贝一个大文件到本地,看看网络连接体验如何 这种网络连接速度,比你本地用U盘快吧,这么看来,云U盘的这个称呼还是对得起的。 之前我也用阿里云盘的挂载盘,需要单独安装一个软件。123云盘直接使用Windows本身的接口,安装体验不错,使用也更加方便。

By note
我的Notion Dashboard

我的Notion Dashboard

试了很多笔记工具,要说慷慨、颜值高功能全,大品牌的,Notion肯定是有一席之地的。当我看到那么多“第二大脑”模板的时候,不得不惊叹于制作者的审美。例如: Second Brain Template | Notion MarketplaceWith the power of the PARA system created by Tiago Forte, the Second Brain provides an all-in-one solution for your work, studies, personal life, hobbies, and more. | Discover new ways to use Notion across work and

By note