Как отправить sms, которое включает в себя T& C?
Вот мой текст
Dear Member, your 3000 Points will expire on 31-08-2017. Redeem them along with the 3000 exchange points as loyalty benefit to buy a new car. Visit your nearest dealership or www.marutiautocard.com to redeem. T&C apply.
но когда я отправляю sms, я получаю только
Dear Member, your 3000 Points will expire on 31-08-2017. Redeem them along with the 3000 exchange points as loyalty benefit to buy a new car. Visit your nearest dealership or www.marutiautocard.com to redeem. T
Он оставил t characters после T
Что я уже пробовал:
ret = String.Empty Dim w As WebRequest = WebRequest.Create("http://180.179.104.9/smspush-enterprise/api/push") System.Net.ServicePointManager.Expect100Continue = False w.Method = "POST" w.ContentType = "application/x-www-form-urlencoded" Dim AutoCardSenderName As String = "MARUTI" Using writeStream As Stream = w.GetRequestStream() Dim encoding As UTF8Encoding = New UTF8Encoding() 'MSG = MSG.Replace("&", "&") Dim bytes() As Byte = encoding.GetBytes("accesskey=SKt8r0w7Q3OI8rZUWLwiANpbDpLCt2&to=" + mobileno + "&text=" + MSG + "&from=" & AutoCardSenderName) writeStream.Write(bytes, 0, bytes.Length) End Using Using r As HttpWebResponse = w.GetResponse() Using responseStream As Stream = r.GetResponseStream() Using readStream As New StreamReader(responseStream, Encoding.UTF8) ret = readStream.ReadToEnd() If ret.ToUpper().Contains("SUCCESS") = True Then boolStatus = True End If End Using End Using End Using Catch ex As Exception boolStatus = False ret = ex.Message Finally End Try Return boolStatus End Function
Graeme_Grant
Похоже, вы достигли предела персонажа. Вам нужно проверить документацию.