IIRC using VBSCRIPT and CDO you can create a MAPI session to log in using the outlook model do a send/receive and then have it disconnect.... I'm looking for a code example now.
Joshua Morgan Email: [EMAIL PROTECTED] -----Original Message----- From: Roger Seielstad [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 9:27 AM To: Exchange Discussions Subject: RE: Outlook 2002 cmd line switches You should be able to use VBScript to open an instance of Outlook and then call the send/receive via an api. Which API, I can't help you with. -------------------------------------------------------------- Roger D. Seielstad - MCSE Sr. Systems Administrator Inovis Inc. > -----Original Message----- > From: Weatherly, Rob [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 9:16 AM > To: Exchange Discussions > Subject: RE: Outlook 2002 cmd line switches > > > I can do everything except the outlook send/receive > In other words I can connect and disconnect the VPN via > command line (or > script) > > -------------------------------- > Rob Weatherly > -------------------------------- > > -----Original Message----- > From: Joshua R. Morgan [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 9:11 AM > To: Exchange Discussions > Subject: RE: Outlook 2002 cmd line switches > > How far have you gotten? > > > > > > > > Joshua Morgan > Email: [EMAIL PROTECTED] > > > -----Original Message----- > From: Weatherly, Rob [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 9:12 AM > To: Exchange Discussions > Subject: RE: Outlook 2002 cmd line switches > > > Let me help out a bit more by saying > I am trying to write a script that will: > > Connect to VPN > Open outlook > Perform send/receive > Close outlook > Disconnect from VPN > > -------------------------------- > Rob Weatherly > -------------------------------- > > -----Original Message----- > From: Weatherly, Rob > Sent: Thursday, April 03, 2003 9:09 AM > To: Exchange Discussions > Subject: RE: Outlook 2002 cmd line switches > > I did state that I specifically cannot use the outlook GUI > settings to perform a send/receive every time outlook opens I > need to perform this from a "command line" > > Is this possible? > > -------------------------------- > Rob Weatherly > -------------------------------- > > -----Original Message----- > From: Bob Sadler [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 9:04 AM > To: Exchange Discussions > Subject: RE: Outlook 2002 cmd line switches > > Tools - Options - Mail Setup - Send/Receive - Check the box > that allows what you want. > > > > Bob Sadler > City of Leawood, KS, USA > WAN/Internet Specialist > 913-339-6700 x194 > > > -----Original Message----- > From: Weatherly, Rob [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 8:03 AM > To: Exchange Discussions > Subject: Outlook 2002 cmd line switches > > > Does any one know if there is a command line switch of third > party tool for outlook that I could use, to invoke outlook > and cause it to perform a full Send/Receive. > > I know you can set outlook to perform a send/receive every > time it opens but that would cause negative effects. > > > > > -------------------------------- > Rob Weatherly > -------------------------------- > > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]