Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connect outlook 2000 via VB Program in package

Status
Not open for further replies.

Maieke

Programmer
Joined
Jan 2, 2002
Messages
2
Location
GB
I work with SQL-server 7.0

The problem:
I made a program in VB, that: accesses outlook 2000 -using a profile-, reads attachment from mail in the inbox, deletes the mail after processing it and via Stored Procedures puts the data into tables on SQL-server.

The program works, when I execute the program manually on the server, where SQL-server is installed.

When I put the program in a package and create a job, executing this package; it doesn't work any more.
I use the same username, password as when I execute the program manually on the server.

The mail is not deleted and not read, so I presume there is a problem with accessing the mailbox via SQL-server.

Any suggestions?
I am most greatfull for any tips You can give me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top