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.
' Add attachments
'Dim objAttachment As New MailAttachment("MyFile.txt")
'objMM.Attachments.Add(objAttachment)
Dim str As New StringBuilder
Dim status As String
str.Append("There has been a task assigned to you.")
str.Append("Date: " & Date.Now.Date)
Dim email As New MailMessage
email.BodyFormat = MailFormat.Text
email.From = ConfigurationSettings.AppSettings("FromAddress")
email.To = "email@email.com"
email.Subject = "Task Reassignment"
email.Body = str.ToString
email.Attachments.Add(object)
Try
SmtpMail.SmtpServer = ConfigurationSettings.AppSettings("SmtpServer")
SmtpMail.Send(email)
Catch ex As Exception
Dim catchMe As New Admin.CaughtError
catchMe.showMeTheError(ex)
End Try
email = Nothing