If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.
Set cdoMail = CreateObject("CDO.Message") Set cdoConfig = CreateObject("CDO.Configuration") Set Flds = cdoConfig.Fields With Flds .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost" .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 .Update End With With cdoMessage Set .Configuration = cdoConfig .To = "email@example.com" .From = "firstname.lastname@example.org" .Subject = "test" .TextBody = "Here is the message" .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing Set Flds = Nothing
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.