Questions tagged «mailutils»

1
无法发送带有html正文和附件的电子邮件
我无法发送带有附件的html正文的电子邮件。COMMAND1: echo "<html><b>Hello</b></html>" | mail -s "Subject #1" -a "content-type: text/html" asdf@gmail.com 命令2: echo "<html><b>Hello</b></html>" | mail -s "Subject #2" -a "content-type: text/html" asdf@gmail.com -A "/Users/asdf/Downloads/00000001.pdf" Command1工作正常。我看到带有html正文的电子邮件。 在第2个命令中,body不是html格式。 请告诉我如果我在这里遗漏了什么。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.