My programmer wrote me a VB app that sends an email through the windows messaging system (Outlook Express 5) to an SMTP server. Works great when run from the desktop.
When run as an NT Service (instsrv, srvany) I don't see the sent messages in Outlook Express.
The email profile was created while logged onto the server with the domainx/administrator id. The identities folder for the email profile is under the winnt\profiles\administrator directory.
The service logs on using the same domainx\administrator id. The email gets sent and an identities folder with same name as the identities folder above gets created under the winnt\administrator.000 directory. I can copy the sent items.pbx created to the winnt\profiles\administrator identity folder and view sent items. When the program is run from the desktop all mail stuff is saved in winnt\profiles\administrator identities folder.
Why does a new identities folder(with same name) get created under the administrator.000 profile? How can I either have the sent mail saved to the winnt\profiles\administrator directory or get Outlook to open to the winnt\profils\administrator.000 directory?
I tried to have the service login with the local administrator id, same problem but then it didn't actually send email or create sent items.dbx file.
When run as an NT Service (instsrv, srvany) I don't see the sent messages in Outlook Express.
The email profile was created while logged onto the server with the domainx/administrator id. The identities folder for the email profile is under the winnt\profiles\administrator directory.
The service logs on using the same domainx\administrator id. The email gets sent and an identities folder with same name as the identities folder above gets created under the winnt\administrator.000 directory. I can copy the sent items.pbx created to the winnt\profiles\administrator identity folder and view sent items. When the program is run from the desktop all mail stuff is saved in winnt\profiles\administrator identities folder.
Why does a new identities folder(with same name) get created under the administrator.000 profile? How can I either have the sent mail saved to the winnt\profiles\administrator directory or get Outlook to open to the winnt\profils\administrator.000 directory?
I tried to have the service login with the local administrator id, same problem but then it didn't actually send email or create sent items.dbx file.