Re: Configuring SMTP properties programmatically



I need to set or change properties of smtp server programmatically
like "General","Access","Messages" etc by any script or code. We had
multiple computers and everyone requires same smtp setting. For
example properties like "Limit Message size","Limit Session Size"
etc. they are same for all the computers.How can I programmatically
set those properties?

Two ways:

[1] Use the ADSI IIS namespace: GetObject("IIS://localhost/smtpsvc/1")

[2] Enable direct metabase edit and use the XML API of your choosing.

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
.


Loading