WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

MAPI

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Mapi Logon Failure

Keywords: 	  profile name

Question:

I have written a winbatch script that when run from the NT command line formats and delivers E-mail using the mapi functions correctly. I have a power monitor utility that allows a script to be run when the UPS is about to fail. The script runs the WBT program. When it attempts to do the Mlogon function using the 'Mapiextender DLL' I just downloaded results in an WIL Extender Error: 703 Mapi Logon Failed. I have fought with this for hours.

Answer:

I suspect the power utility is launching the script under the service account that does not have MAPI installed or a MAPI profile.

You might set the utility up to use your userid and password instead of he LocalSystem account to run (Control Panel -> Services)

Or if you have a SMTP server available, try the Postie extender instead.

Resolution:

I think you have hit the nail on the head. I'm going to look further into the settings with the service account.



Article ID:   W14423
Filename:   Mapi Logon failure.txt
File Created: 2000:05:01:14:22:28
Last Updated: 2000:05:01:14:22:28