我正在尝试发送带有CSV附件的电子邮件,但无法在本地创建该文件。
有没有办法管理内容(我的内容在内存中的变量),sendmail / mail以数据显示为附件的方式?
更新:两者
—
Michael Vehrs
mailx
和 mutt
无法或不愿意从fifo读取附件,因此进程替换不起作用。
嗯,听起来像sendmail或telnet可能是我的朋友。
—
user2360915
sendmail
。 IIRC,mail
会破坏结果。它可能更容易使用mutt
要么mailx
。