PowerTCP Mail for .NET
Forward(String,Boolean) Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessageStream Class > Forward Method : Forward(String,Boolean) Method




text
The new text for the forwarded message.
attachment
Determines if an attachment should be created from the forwarded part of the message.
Returns a MessageStream object formatted for a forwarded message.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Forward( _
   ByVal text As String, _
   ByVal attachment As Boolean _
) As MessageStream
Visual Basic (Usage)Copy Code
Dim instance As MessageStream
Dim text As String
Dim attachment As Boolean
Dim value As MessageStream
 
value = instance.Forward(text, attachment)
C# 
public MessageStream Forward( 
   string text,
   bool attachment
)
Managed Extensions for C++ 
public: MessageStream* Forward( 
   string* text,
   bool attachment
) 
C++/CLI 
public:
MessageStream^ Forward( 
   String^ text,
   bool attachment
) 

Parameters

text
The new text for the forwarded message.
attachment
Determines if an attachment should be created from the forwarded part of the message.

Return Value

A MessageStream object formatted for a forwarded message.

Remarks

If attachment is false, this method will create a second part from the original message with Content-Type equal to "Message/RFC822". If attachment is true, this method will create an attachment from the original message with Content-Type equal to "Message/RFC822". "FW:" will automatically be prepended to the subject line of the newly created message.

This method does not change the original message.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.