Creates an instance from a Message instance, 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(
	Message message,
	NHINDAddressCollection recipients,
	NHINDAddress sender
)
Visual Basic
Public Sub New ( _
	message As Message, _
	recipients As NHINDAddressCollection, _
	sender As NHINDAddress _
)
Visual C++
public:
OutgoingMessage(
	Message^ message, 
	NHINDAddressCollection^ recipients, 
	NHINDAddress^ sender
)

Parameters

message
Type: NHINDirect.Mail..::..Message
Message instance representing the message 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