Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.StoreMessageAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 8.0.9673)

StoreMessageAsync(EwsFolderId, MailMessage, Object)

Stores a mail message to an exchange folder.

Declaration
public Task<EwsItemId> StoreMessageAsync(EwsFolderId folderId, MailMessage message, object state = null)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder where to store the message.

MailMessage message

Message to store.

Object state

An object containing state information for this request.

Returns
Type Description
Task<EwsItemId>

EwsItemId of the stored message.

StoreMessageAsync(EwsFolderId, MimeMessage, Object)

Stores a MIME message to an exchange folder.

Declaration
public Task<EwsItemId> StoreMessageAsync(EwsFolderId folderId, MimeMessage message, object state = null)
Parameters
Type Name Description
EwsFolderId folderId

ID of a folder where to store the message.

MimeMessage message

Message to store.

Object state

An object containing state information for this request.

Returns
Type Description
Task<EwsItemId>

EwsItemId of the stored message.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies