Hi Alt,
How do I read destination address from below, is args.Parts(0).DestAddr missing?
Private Sub OnFullMessageReceived(ByVal sender As Object, ByVal args As MessageEventHandlerArgs)
addtolog(String.Format("Full message received from {0}: {1}", args.Parts(0).SourceAddr, args.Text), _clientID)
End Sub
Regards,
Gbenga
destination address from OnFullMessageReceived
-
- Posts: 54
- Joined: Mon Nov 16, 2009 3:48 pm
- Location: United Kingdom
- Contact:
Re: destination address from OnFullMessageReceived
Hello Gbenga,
You can cast args.Parts(0) to DeliverSm or SubmitSm and get all required properties.
You can cast args.Parts(0) to DeliverSm or SubmitSm and get all required properties.
-
- Posts: 54
- Joined: Mon Nov 16, 2009 3:48 pm
- Location: United Kingdom
- Contact:
Re: destination address from OnFullMessageReceived
Hi Alt,
When I retrieve messageText that is longer than 160 characters from args.Parts(0), the message is truncated. How do I get the full messageText from it.
Regards,
Gbenga
When I retrieve messageText that is longer than 160 characters from args.Parts(0), the message is truncated. How do I get the full messageText from it.
Regards,
Gbenga