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.
Set myMail=CreateObject("CDO.Message") Const ForReading = 1 set args = WScript.Arguments ' Parse args select case args.Count case 0 sVariable = args(0) myMail.Subject=("Test environment is now shutting down") case 1 sVariable = args(1) myMail.Subject=("Test environment is now online") end select myMail.From="email address" myMail.To="email address" myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 'Name or IP of remote SMTP server myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="server name" 'Server port myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25 myMail.Configuration.Fields.Update myMail.Send set myMail=nothing 'To call for for example, arg1, then cscript //nologo emailscript1.vbs ARG1
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.