Send message from originator to array of destinations.

Namespace: hr.tis.mgw.client.message
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Public MustOverride Function sendMessageWithResult ( _
	message As Message, _
	dest As String(), _
	orig As String, _
	priority As Priority, _
	charging As Charging _
) As SendResult
C#
public abstract SendResult sendMessageWithResult (
	Message message,
	string[] dest,
	string orig,
	Priority priority,
	Charging charging
)
Visual C++
public:
virtual SendResult^ sendMessageWithResult (
	Message^ message, 
	array<String^>^ dest, 
	String^ orig, 
	Priority priority, 
	Charging^ charging
) abstract

Parameters

message
hr.tis.mgw.client.message.Message
Message object to send
dest
System.String[]
Destination array addresses
orig
System.String
Originator address
priority
hr.tis.mgw.client.message.Priority
Priority of message
charging
hr.tis.mgw.client.charging.Charging
Charging

Return Value

SendResult

Remarks

Use default username and password for authentication. Priority is used only for MmsMessage and ignored for all other message types. Method returns MessageId object which can be used to obtain message delivery information. To link charging with message sending use charging object returned after reserving currency. The method throws generic GatewayException which is parent of specific exceptions for various reasons.

This method uses a ParlayX extension interface and might not be available with some operators.

Exceptions

ExceptionCondition
hr.tis.mgw.client.GatewayExceptionGeneric exception base class for all exceptions.