Loads a Message from a file containing a raw email.
Parameters
- file
- The File location to load the Message from. The file must exist.
Return Value
A Message with the content loaded from the file
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentNullException | If file is a null reference |
| FileNotFoundException | If file does not exist |
| Other exceptions relevant to a FileStream might be thrown as well |
See Also
Message Class | OpenPop.Mime Namespace | Message.Load Overload List