I am setting smtp properties programatically like "General","Access","Messages". using "System.DirectoryServices" while using this function EnumerateProperties("IIS://localhost/SMTPSVC"); its throwing exception "Exception from HRESULT: 0x80005008". Total properties are 69 but I am able to get only 48 properties as its throwing exception in between. I need to know all properties name to set them to new value. Thanks for your help in advance, Leena
> I need to know all properties name to set them to new value. What is the last one successfully fetched? --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. ------------------------------------
BadMailDirectory is the last one which is successfully fetched "Sanford Whiteman" wrote: > > I need to know all properties name to set them to new value. > > What is the last one successfully fetched? > > --Sandy > > > ------------------------------------ > Sanford Whiteman, Chief Technologist > Broadleaf Systems, a division of > Cypress Integrated Systems, Inc. > ------------------------------------ >
Is there any way (any msdn article ) which will give me all smtp properties name? "Leena" wrote: > I am setting smtp properties programatically like > "General","Access","Messages". > using "System.DirectoryServices" > while using this function EnumerateProperties("IIS://localhost/SMTPSVC"); > its throwing exception "Exception from HRESULT: 0x80005008". > Total properties are 69 but I am able to get only 48 properties as its > throwing exception in between. > I need to know all properties name to set them to new value. > > Thanks for your help in advance, > Leena >