使用 TLS 编写 Windows 脚本发送电子邮件

发布于 2024-07-08 10:22:55 字数 95 浏览 5 评论 0原文

我正在尝试制作一个 SVN 提交后脚本来备份到 Gmail 驱动器。 Blat 似乎不支持 TLS。 Windows 上有什么好的脚本程序可以通过 TLS 发送电子邮件吗?

I'm trying to make an SVN post-commit script that makes backups to a Gmail drive. Blat doesn't seem to support TLS. Are there any good scripting programs on windows that can send an email via TLS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

终陌 2024-07-15 10:22:55

我不知道其他邮件发件人,但 stunnel 能够接受纯文本连接并通过隧道进行传输通过 SSL 连接。 您可以让它监听 localhost:25 并与 smtps 服务器 (tcp/465) 建立 SSL 连接。 我曾在 WebDAV 客户端不支持 SSL 的类似情况下使用过它。

I don't know about other mail senders, but stunnel is able to accept a plain text connection and tunnel it through an SSL connection. You can have it listen on localhost:25 and make an SSL connection to an smtps server (tcp/465). I have used it in a similar situation where a WebDAV client didn't support SSL.

泪之魂 2024-07-15 10:22:55

blat 人说 stunnel 是 tls 支持的最佳选择,但我发现 gmail 不需要 tls 来发送邮件。 现在,数据可能没有加密,但我一直通过我的帐户(仅向其他 Gmail 帐户)发送电子邮件作为自动化过程,并且效果很好。 如果您需要它,请告诉我,我将添加命令行参数。

The blat folks are saying the stunnel is the best bet for tls support but i've found that gmail doesn't require tls to send mail. Now, the data may not be encrypted but I send out email via my account (to other gmail accounts only) all the time as an automated process and it works great. if you need it let me know and i'll drop in the command-line parms.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文