C# Class SampleApp.ConsoleMessageStore

Inheritance: SmtpServer.Storage.MessageStore
Datei anzeigen Open project: cosullivan/SmtpServer

Public Methods

Method Description
SaveAsync ( ISessionContext context, IMimeMessage message, CancellationToken cancellationToken ) : Task

Save the given message to the underlying storage system.

Method Details

SaveAsync() public method

Save the given message to the underlying storage system.
public SaveAsync ( ISessionContext context, IMimeMessage message, CancellationToken cancellationToken ) : Task
context ISessionContext The session context.
message IMimeMessage The SMTP message to store.
cancellationToken System.Threading.CancellationToken The cancellation token.
return Task