Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function SendMail(ByVal body As String)
Dim from As String = Csystem.AppSettings("ExpeditorEmail")
Dim mailto As String = Csystem.AppSettings("RecipientEmail")
Dim subject As String = "Application Log - Do not reply"
SmtpMail.Send(from, mailto, subject, body)
End Function
<System.Web.Services.WebService(Namespace:="[URL unfurl="true"]http://tempuri.org/")>[/URL] Public Class SendmyMail
Inherits System.Web.Services.WebService
<WebMethod()> Public Function WS_Send(ByVal msg As MyMessage) As String
'send the mail here
End Function
End Class
Dim wsTest As New SendmyMail()
Dim myObj as MyMessage
myObj.sender= .....
...
strReponse = wsTest.WS_Send(myObj)