You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to send a SMS with more than 160 characters, but it doesn't work properly when I test the message below:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut commodo lorem, eget molestie velit. Etiam mollis ex ac dignissim pharetra. Curabitur at mauris semper, dapibus erat sed, tempus sapien. Proin sem dui, elementum sed convallis non, porttitor quis nisl. Mauris id eros vestibulum, bibendum diam id, gravida ipsum. Nulla rutrum purus non nisi viverra, nec egestas massa ornare. Donec tempus blandit ultricies. Nullam feugiat luctus porta. Nam efficitur id ante nec dictum. Suspendisse potenti. Suspendisse potenti. Nam hendrerit non.
Return:
citur id ante nec dictum. Suspendisse potenti. Suspendisse potenti. Nam hendrerit non.
m id, gravida ipsum. Nulla rutrum purus non nisi viverra, nec egestas massa ornare. Donec tempus blandit ultricies. Nullam feugiat luctus porta. Nam effi
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut commodo lorem, eget molestie velit. Etiam mollis ex ac dignissim pharetra. Curabitur at
mauris semper, dapibus erat sed, tempus sapien. Proin sem dui, elementum sed convallis non, porttitor quis nisl. Mauris id eros vestibulum, bibendum dia
As we can see, I received it in the following order: 4 - 3 - 1 - 2.
I already read about payload parameters in another NuGet packages, but I didn't found anything about this in JamaaSMPP documentation yet.
Is there a parameter that I can use to send this SMS in the correct order? Is there a way to send it in only one SMS?
My code:
Private Sub btnConectar_Click(sender As Object, e As EventArgs) Handles btnConectar.Click
Dim msg As TextMessage = New TextMessage()
msg.DestinationAddress = "5511981000000"
msg.SourceAddress = "5511981000000"
msg.Text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut commodo lorem, eget molestie velit. Etiam mollis ex ac dignissim pharetra. Curabitur at mauris semper, dapibus erat sed, tempus sapien. Proin sem dui, elementum sed convallis non, porttitor quis nisl. Mauris id eros vestibulum, bibendum diam id, gravida ipsum. Nulla rutrum purus non nisi viverra, nec egestas massa ornare. Donec tempus blandit ultricies. Nullam feugiat luctus porta. Nam efficitur id ante nec dictum. Suspendisse potenti. Suspendisse potenti. Nam hendrerit non."
msg.RegisterDeliveryNotification = True
Dim client As SmppClient = New SmppClient()
Dim properties As SmppConnectionProperties = client.Properties
properties.Host = "40.200.199.1"
properties.Port = 9500
properties.SystemID = "user"
properties.Password = "pass"
properties.SystemType = ""
properties.DefaultServiceType = "CMT"
client.AutoReconnectDelay = 3000
client.KeepAliveInterval = 15000
client.Start()
If client.ConnectionState <> SmppConnectionState.Connected Then client.ForceConnect(5000)
Try
client.SendMessage(msg, 15000)
MessageBox.Show("Return: " & msg.ReceiptedMessageId)
Catch ex As Exception
txtResult.Text = ex.Message
End Try
End Sub
Thanks,
Victor.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to send a SMS with more than 160 characters, but it doesn't work properly when I test the message below:
Return:
As we can see, I received it in the following order: 4 - 3 - 1 - 2.
I already read about payload parameters in another NuGet packages, but I didn't found anything about this in JamaaSMPP documentation yet.
Is there a parameter that I can use to send this SMS in the correct order? Is there a way to send it in only one SMS?
My code:
Thanks,
Victor.
The text was updated successfully, but these errors were encountered: