Our application is sending our emails with Word attachments using System.Net.Mail. We have empty-string as our plaintext bodies. The application receiving these email messages sends them as faxes, with the result that the fax machines prints an unnecessary blank page for the empty plain-text body.
我们的应用程序是使用System.Net.Mail发送带有Word附件的电子邮件。我们有空字符串作为我们的明文实体。接收这些电子邮件消息的应用程序将它们发送为传真,结果是传真机为空的纯文本正文打印了不必要的空白页。
Is there any way to force System.Net.Mail to not send any body at all?
有没有办法强制System.Net ?邮件根本不发送任何身体?
Alternatively, setting the email to use the multipart/alternative mime type (it's currently using multipart/mixed) seems like it should fix this problem, but I don't think it's supported. Any ideas for how to make System.Net.Mail do this?
或者,设置电子邮件以使用multipart/替代mime类型(目前使用multipart/混合)似乎应该解决这个问题,但我认为它不受支持。关于如何创建System.Net的任何想法。邮件呢?
1 个解决方案
#1
1
That maybe a flaw in the fax system, have you checked the resulting mails format, in that on arrival, is there perhaps blank lines, or is it just that the fax defaults to adding a blank page for the blank email?
这可能是传真系统的一个缺陷,你检查过邮件的格式,在到达的时候,可能有空白行,或者只是传真默认为空白电子邮件添加空白页?
#1
1
That maybe a flaw in the fax system, have you checked the resulting mails format, in that on arrival, is there perhaps blank lines, or is it just that the fax defaults to adding a blank page for the blank email?
这可能是传真系统的一个缺陷,你检查过邮件的格式,在到达的时候,可能有空白行,或者只是传真默认为空白电子邮件添加空白页?