Encrypts, verifies recipient trust, and signs an RFC 5322 formatted message The provided sender and recipient addresses will be used instead of the header information in the messageText.

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

Syntax

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

Parameters

messageText
Type: System..::..String
An RFC 5322 formatted message string
recipients
Type: NHINDirect.Agent..::..NHINDAddressCollection
An NHINDAddressCollection instance specifying message recipients.
sender
Type: NHINDirect.Agent..::..NHINDAddress
An NHINDAddress instance specifying message sender

Return Value

An OutgoingMessage instance containing the encrypted and trust verified message.

See Also