Click or drag to resize

SystemMailExtensionsExtractStream Method

Returns a stream representation of a MailMessage as a rfc822 MIME object

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static Stream ExtractStream(
	this MailMessage Message
)

Parameters

Message
Type: System.Net.MailMailMessage
The message object.

Return Value

Type: Stream
A RFC822 MIME representation of the message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MailMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also