我还没有在网上找到我的答案。
我需要从我的web应用程序(VB.NET)发送一条MMS短信,该短信需要包含一个可点击的超链接。
我现在的代码是:
Msg = "Your documents are now ready for pickup. Located" _
& " in Box 7 " _
& " Please download the support App. " _
& "<a href=\"https://linksandroidurlhere.com\">Android</a>" _
& " or " _
& "<a href=\"https://linksIOSurlhere.com\">IOS</a>" _
& " to access your keys."
Dim MsgB64 As String = Convert.ToBase64String(Encoding.Unicode.GetBytes(Msg))
Dim textURL As String = "http://www.ct.com/PushNotificationsendTextB64.aspx?Phone=" & ownerPhone & "&Content=" & MsgB64
Dim webClient As New System.Net.WebClient
这种方式很有效,但超链接不是以链接的形式通过彩信发送的。相反,他们是通过“原样”文本。
如何格式化文本中的超链接,以便它们通过彩信传输成为链接?