Mutt on Linux has empty text attachments that appear in Yahoo Mail

廉价感情. 提交于 2019-12-11 16:33:46

问题


I'm trying to set up a script on my VPS where it'll email backup files. I found that mutt seems to be the email to use for attachments, but I'm getting a weird text file appearing in each email and can't figure out why.

The text file is a few dozen bytes at the most, and is either called 1.txt with attachments or TEXT.txt without attachments.

It even happens on super simple examples like this:

echo "Test body" | mutt -s "Test subject" me@email.com

I tried it on dropmail.me and it didn't show the attachment, so I assume it's a minor issue that Yahoo processes wrongly. I had a google but couldn't find the right terms to search for, since it's only ever happened when sending email through mutt. Sending through sendmail is fine.

Here is a pastebin of the raw data of an email with no attachments.

来源:https://stackoverflow.com/questions/48436217/mutt-on-linux-has-empty-text-attachments-that-appear-in-yahoo-mail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!