LoadFromTnef

MapiMessage.LoadFromTnef method (1 of 2)

Loads message from Transport Neutral Encapsulation Format (TNEF) data structure

public static MapiMessage LoadFromTnef(Stream stream)
Parameter Type Description
stream Stream A stream representing message data in TNEF format

Return Value

A read MapiMessage

Exceptions

exception condition
ArgumentNullException stream is null
NotSupportedException stream does not support reading

See Also


MapiMessage.LoadFromTnef method (2 of 2)

Loads message from Transport Neutral Encapsulation Format (TNEF) data structure

public static MapiMessage LoadFromTnef(string fileName)
Parameter Type Description
fileName String Name of file containing message data in TNEF format

Return Value

A read MapiMessage

Exceptions

exception condition
ArgumentException fileName is null or empty

See Also