We do that all the time.  You'll need an object that allows you to make
command line calls.  I use a free component called ASPExec available here:
http://www.serverobjects.com/products.htm#free

Here's an example code snippet using that object:

Set Executor = Server.CreateObject("ASPExec.Execute")
 Executor.Application = "c:\imail\addalias " & aliasName & "=accountName"
 Response.Write "<pre>" & Executor.ExecuteDosApp & "</pre>"
 Set Executor = nothing

Onward,

Ian Carswell
__________________
VibesMedia.com
Vice President, IT

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Grant
Sent: Tuesday, February 06, 2001 6:31 PM
To: [EMAIL PROTECTED]
Subject: [IMail Forum] Call addalias.exe in ASP coding


Does anyone here know how to do this?

Perhaps some sample code?

Thanks a bunch.

Regards,
==================================================
Jason Grant
System Administrator at Norlink Communications and Consulting
428 E. Victoria Ave. Thunder Bay, Ontario Canada. P7C 1A5
Voice:(807)622-5465 ext.114 Fax: (807)622-8220
Email: [EMAIL PROTECTED] WWW: http://www.norlink.net
Helping Businesses Succeed on the Internet

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to