如何使用 Tcl 的 sendmail
如何使用 Tcl 中的 sendmail 将邮件发送给“收件人”和“抄送”中的多个收件人?
How do I send mail to multiple recipients in To and Cc using sendmail in Tcl?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用 smtp 包,例如:SMTP 包 docu 或 维基。
我认为你可以这样做:
You can use the smtp package, see e.g.: SMTP package docu or Wiki.
I think you could e.g. do:
如果您想实际使用 sendmail,请将消息构建为字符串并使用 exec
<<
选项将其传递给 sendmail 的标准输入:If you want to actually use sendmail, build up the message as a string and use the exec
<<
option to pass it to sendmail's stdin:这也将起作用:
This will also work: