MailMessage.Import

MailMessage.Import method

Replaces the content of this message with a message read from a stream in EML format.

public virtual void Import(Stream stream)
ParameterTypeDescription
streamStreamThe stream to read.

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null.

See Also