The SendSMS method sends a text message to a mobile phone device.
Namespace: mCore
Assembly: mCoreLib (in mCoreLib.dll)
| Name | Description |
| SendSMS (DestinationNumber As String, TextMessage As String) | Sends a specified text message (TextMessage) to a specified mobile phone number (DestinationNumber). |
| SendSMS (DestinationNumber As String, TextMessage As String, AlertMessage As Boolean) | Sends a specified text message (TextMessage) to a specified phone number (DestinationNumber) with the option to send it as a alert message (AlertMessage) or a normal text message. |
mCore.SMSSendException
mCore.GeneralException
| Visual Basic |
Public Class MyClass Dim strMsg As String
Catch ex As mCore.GeneralException |
| C# |
class MyClass SetCommParameters(); catch
(mCore.GeneralException e) catch
(mCore.GeneralException e) |
mCore.SMS.Encoding Property
mCore.SMS.LongMessage Property
mCore.SMSSendException Class