Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.
The error is occuring on the "myDistList.Save" instruction.
Dim myOlApp, myDistList, myMailItem, myRecipients Set myOlApp = WScript.CreateObject("Outlook.Application") Set myDistList = myOlApp.CreateItem(7) myDistList.DLName = InputBox("Enter the name of the new distribution list.") Set myMailItem = myOlApp.CreateItem(0) Set myRecipients = myMailItem.Recipients myRecipients.Add "firstname.lastname@example.org" myRecipients.Add "email@example.com" myRecipients.Add "firstname.lastname@example.org" ... myRecipients.Add "email@example.com" myRecipients.ResolveAll myDistList.AddMembers myRecipients myDistList.Save myDistList.Display
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.