Private Sub SendEmail(ToField As String, Subject As String) As Boolean
If App.CanOpenURL("mailto:") = False Then
Return False
Else
App.OpenURL($"mailto:?to=${ToField}&subject=${Subject}"$)
Return True
End If
End Sub
#QueriesSchemes: mailto
Sub SendEmail(Email As String,Body As String, Subject As String) As Boolean
Dim SU As StringUtils
Body = SU.EncodeUrl(Body,"UTF-8")
Subject = SU.EncodeUrl(Subject,"UTF-8")
Dim Url As String = "mailto:" & Email & "?subject=" & Subject & "&body=" & Body
If App.CanOpenURL("mailto:") = False Then
Return False
Else
App.OpenURL(Url)
Return True
End If
End Sub
Private Sub SendEmail(ToField As String, Subject As String) As Boolean
If App.CanOpenURL("mailto:") = False Then
Return False
Else
Dim su As StringUtils
App.OpenURL($"mailto:?to=${ToField}&subject=${su.EncodeUrl(Subject, "utf8")}"$)
Return True
End If
End Sub