Creates an instance from an RFC 5322 string, specifying recipients and sender.

Namespace: NHINDirect.Agent
Assembly: nhinAgent (in nhinAgent.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public OutgoingMessage(
	string messageText,
	NHINDAddressCollection recipients,
	NHINDAddress sender
)
Visual Basic
Public Sub New ( _
	messageText As String, _
	recipients As NHINDAddressCollection, _
	sender As NHINDAddress _
)
Visual C++
public:
OutgoingMessage(
	String^ messageText, 
	NHINDAddressCollection^ recipients, 
	NHINDAddress^ sender
)

Parameters

messageText
Type: System..::..String
RFC 5322 message string to be prepped for send.
recipients
Type: NHINDirect.Agent..::..NHINDAddressCollection
An NHINDAddressCollection of recipients, takes precedence over recipients in the message
sender
Type: NHINDirect.Agent..::..NHINDAddress
Sender NHINDAddress, takes precendence over the To field in the message.

See Also