all groups > iis smtp nntp > april 2008 >
You're in the

iis smtp nntp

group:

Configuring SMTP properties programmatically


Configuring SMTP properties programmatically Leena
4/28/2008 2:11:00 PM
iis smtp nntp:
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?



Re: Configuring SMTP properties programmatically Sanford Whiteman
4/28/2008 5:58:47 PM
[quoted text, click to view]

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.
Re: Configuring SMTP properties programmatically soler
5/8/2008 2:36:41 PM
Sanford,
Thanks for your reply, but I am already using ADSI for other properties. Is
just that I don t know the corresponding properties for the ones mentioned
below.


--
soler


[quoted text, click to view]
AddThis Social Bookmark Button