我正在尝试发送带有高达(1MB,2MB)的大尺寸附件的邮件。但发送邮件失败。(发送到 Google Apps)为:
MailItemEntry[] entries = new MailItemEntry[1];
String EmlPath = "C:\\testemail.eml";
String msg = File.ReadAllText(EmlPath);
entries[0] = new MailItemEntry();
entries[0].Rfc822Msg = new Rfc822MsgElement(msg);
如何将附件分成多个部分?
将此 EML 迁移到 Google 应用程序时遇到的异常是:{“请求已中止:请求已取消。”}