Add a mail message as new attachment to an exchange item.
Namespace:
Rebex.Net
Assembly:
Rebex.Ews (in Rebex.Ews.dll)
Syntax
Visual Basic |
---|
Public Function AddAttachment ( _ itemId As EwsItemId, _ mail As MailMessage _ ) As EwsAttachmentId |
C# |
---|
public EwsAttachmentId AddAttachment( EwsItemId itemId, MailMessage mail ) |
Parameters
- itemId
- Type: Rebex.Net..::..EwsItemId
ID of an item to which to add the attachment.
- Type: Rebex.Mail..::..MailMessage
A Mail message to attach.