The SendSmartMessage method sends a Smart SMS i.e it sends a text message to a
specified application port of a mobile phone device.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
| Name | Description |
| SendSmartMessage (ByVal DestinationNumber As String, ByVal TextMessage As String, ByVal DestinationPort As Integer) | Sends a specified text message (TextMessage) to a specified application port (DestinationPort) of a mobile phone number (DestinationNumber). |
| SendSMS (ByVal DestinationNumber As String, ByVal TextMessage As String, ByVal DestinationPort As Integer, ByVal SourcePort As Integer) | Sends a specified text message (TextMessage) to a specified phone number (DestinationNumber) and specified source port (SourcePort) of a mobile phone number (DestinationNumber). |
mCore.SMSSendException
mCore.GeneralException
| Visual Basic |
Public Class MyClass Dim strMsg As String
'Send Smart SMS to phone application port 1725
Catch ex As mCore.GeneralException |
| C# |
class MyClass SetCommParameters();
//Send Smart SMS to phone application port 1725 catch
(mCore.GeneralException e) catch
(mCore.GeneralException e) |