如何使用 sendmail 发送带有多个文本附件的 HTML 正文电子邮件 [英] How to send HTML body email with multiple text attachments using sendmail

查看:46
本文介绍了如何使用 sendmail 发送带有多个文本附件的 HTML 正文电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送一个 HTML 文件作为邮件正文,并想在此电子邮件中附加多个文本文件.

I want to send a HTML file as message body and want to attach multiple text files to this email message.

由于需要发送 html 文件,所以必须使用 sendmail(我无法使用 mailx 发送).

Since html file needs to be sent, sendmail has to be used ( I could not do it using mailx ).

如何使用 sendmail 发送 HTML 正文电子邮件和多个文本附件?

How do you send HTML body email and multiple text attachments using sendmail?

推荐答案

我认为 sendmail 不会帮助你解决这个问题.找一个像 mutt 这样的客户端,然后做例如mutt -a file1 -a file2 --recipient@do.main.或者去perl.

I don't think sendmail is going to help you with that. Go for a client like mutt, and do e.g. mutt -a file1 -a file2 -- recipient@do.main. Or go for perl.

这篇关于如何使用 sendmail 发送带有多个文本附件的 HTML 正文电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆