我想知道是否可以在 sendmail 中包含附件。我正在生成具有以下布局的以下 emailfile.eml 文件
From: Company Name <example@nowhere.com>
To: recipient@madeup.com
CC: someoneelse@place.com
Subject: Generated Output
Mime-Version: 1.0
This will be the body copy even though it's terrible
Run Code Online (Sandbox Code Playgroud)
我正在使用这些电子邮件发送
# /usr/sbin/sendmail -t < emailfile.eml
Run Code Online (Sandbox Code Playgroud)
这部分是工作文件,但我想在这封电子邮件中包含一个附件,但我还没有想出如何去做