以编程方式将 PDF 从 MemoryStream 附加到 Outlook 电子邮件项目
Programmatically Attach PDF from MemoryStream to Outlook E-Mail Items
是否可以将来自 MemoryStream 或其他 功能 的 PDF 附加到 Outlook 电子邮件项目 MailItem.Attachment.add(),而不是通过此方法传递文件的物理路径从硬盘上的文件。
我想以编程方式为用户创建带有 PDF 附件的 Outlook mailitem,让用户自己查看和发送电子邮件。
提前致谢。
未使用 Outlook 对象模型 - Attachments.Add will only let you pass a file name for the olByValue
attachments. Extended MAPI (C++ or Delphi) only operates on IStream objects (IAttach::OpenProperty(PR_ATTACH_DATA_BIN, IID_IStream,...)
), Redemption (I am its author) lets you pass file name, url, array, IStream or IStorage to RDOAttachments.Add。
是否可以将来自 MemoryStream 或其他 功能 的 PDF 附加到 Outlook 电子邮件项目 MailItem.Attachment.add(),而不是通过此方法传递文件的物理路径从硬盘上的文件。
我想以编程方式为用户创建带有 PDF 附件的 Outlook mailitem,让用户自己查看和发送电子邮件。
提前致谢。
未使用 Outlook 对象模型 - Attachments.Add will only let you pass a file name for the olByValue
attachments. Extended MAPI (C++ or Delphi) only operates on IStream objects (IAttach::OpenProperty(PR_ATTACH_DATA_BIN, IID_IStream,...)
), Redemption (I am its author) lets you pass file name, url, array, IStream or IStorage to RDOAttachments.Add。