Message.Save(FileInfo) Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

Message.Save(FileInfo) Method

Save this Message to a file.

Can be loaded at a later time using the Load method.

public void Save(
   FileInfo file
);

Parameters

file
The File location to save the Message to. Existent files will be overwritten.

Exceptions

Exception Type Condition
ArgumentNullException If file is a null reference
Other exceptions relevant to using a FileStream might be thrown as well

See Also

Message Class | OpenPop.Mime Namespace | Message.Save Overload List