Share via


MailItem.SetMustDeliver method

When overridden in a derived class, the SetMustDeliver method specifies that the message will remain in queue until it is delivered, without expiring or generating a non-delivery report (NDR). Executing the SetMustDeliver method sets the value of the MustDeliver property to true.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Sub SetMustDeliver
'Usage
Dim instance As MailItem

instance.SetMustDeliver()
public abstract void SetMustDeliver()

See also

Reference

MailItem class

MailItem members

Microsoft.Exchange.Data.Transport namespace