Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.
Dim strFrom As String = "firstname.lastname@example.org" Dim strTo As String = "email@example.com" Dim MailMsg As New MailMessage(New MailAddress(strFrom.Trim()), New MailAddress(strTo)) MailMsg.BodyEncoding = Encoding.Default MailMsg.Subject = "Application" MailMsg.Body = "A new policy has been purchased. Please see attached." MailMsg.Attachments.Add(New System.Net.Mail.Attachment(vFile)) MailMsg.Priority = MailPriority.High MailMsg.IsBodyHtml = False Dim SmtpMail As New SmtpClient SmtpMail.Credentials = New System.Net.NetworkCredential("firstname.lastname@example.org", "password") SmtpMail.Send(MailMsg) SmtpMail = Nothing MailMsg.Dispose()
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!