Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Imports Microsoft.VisualBasic Imports System.Net.Mail Public Class sendemailtosuperusers Shared Function sendemail() As String ' Create an Outlook application. Dim oApp As Outlook._Application oApp = New Outlook.Application() ' Create a new MailItem. Dim oMsg As Outlook._MailItem oMsg = oApp.CreateItem(Outlook.OlItemType.olMailItem) oMsg.Subject = "testing tom testing" oMsg.Body = "Hello World" & vbCr & vbCr ' TODO: Replace with a valid e-mail address. oMsg.To = "firstname.lastname@example.org" ' Send oMsg.Send() ' Clean up oApp = Nothing oMsg = Nothing End Function End Class
Join the community of 500,000 technology professionals and ask your questions.