 | ServerMessageLifespan Property |
The
TimeSpan a message is stil considered valid. By default, a message lasts 15 minutes after its creation time
Namespace:
SMTPRouter
Assembly:
SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntaxpublic TimeSpan MessageLifespan { get; set; }Public Property MessageLifespan As TimeSpan
Get
Set
Dim instance As Server
Dim value As TimeSpan
value = instance.MessageLifespan
instance.MessageLifespan = value
public:
property TimeSpan MessageLifespan {
TimeSpan get ();
void set (TimeSpan value);
}Property Value
Type:
TimeSpan
RemarksThe Lifespan is the maximum time the message is still considered active. After the Lifespan expires, the message is sent to the Error Queue.
See Also