Configuring MAPI
Additional configuration steps are required for MAPI before you can define the parameters for incoming and outgoing mail within System Admin.
MAPI is no longer supported from ASM version EOS (10.5).
You must:
Download MAPI onto the web server
Create the MAPI profile on the web server
Configure ASM Core to use the MAPI connection
Configure the ASM Core services to use appropriate access account
If you have difficulties, see the Troubleshooting section for suggestions.
Downloading the MAPI Client
You must have MAPI and Outlook downloaded and configured on the web server where ASM Core is installed.
If you have the 64bit version of Outlook, Exchange Server, or Exchange Admin installed on the web server, MAPI is already provided.
Creating the MAPI Profile
A MAPI profile needs to be created on the web server.
If you are using Exchange as a mail server, you will not need to create a MAPI profile for the incoming email account.
If you have Outlook installed on the web server, you can add MAPI profiles using the Mail Settings in the Control Panel.
Open the Mail Setup dialog box by selecting Control Panel > Mail.
Select the Show Profiles button.
Add the MAPI profile.
If you do not have Outlook installed, use the following link to find instructions, as provided by Microsoft.
Or use the steps below:
Download the MAPI Profile Manager from the Microsoft website onto the web server.
Open Profman2.exe from the extracted directory.
Click Create New Profile and enter a name for the profile.
Select the newly created profile and click Add service to selected profile.
Select Microsoft Exchange Server, and click OK.
Enter the name of the Microsoft Exchange server and Mailbox to be used with ASM Core.
Click Check Name in this window. The Exchange Server and Mailbox should be underlined, indicating that they are reachable. If not, or you see an error, check the details and try again.
If additional settings, such as Advanced, Dial-Up Networking or Remote Mail are required for your MAPI connection, consult your Exchange Server documentation.
Click OK. Your MAPI profile is now configured.
If the MAPI account has more than one mailbox, ASM Core uses the default folder to retrieve email.
Configuring ASM Core to use the MAPI connection
From System Administration, expand the System section and open Email Settings.
Select the Incoming or Outgoing server that you want to add, and click Add.
Enter the Exchange Server and mailbox details.
Enter the login ID and password of the appropriate account. Or select the Use NT Auth checkbox.
Enter details for options such as Logging Analyst and Auto Reply, as described in Email Settings.
Click Save. MAPI is now configured for use with ASM Core.
You cannot test the connection on MAPI accounts within the Email Server Details as you do with SMTP or IMAP.
Configuring ASM Core Services
To use MAPI for incoming emails, the ASM Messaging Service must run as an account that has full access to the mail server and MAPI mailbox.
If using a normal Windows account it must have full access to the mail server and MAPI mailbox, and have appropriate privileges to run as local service.
If using MAPI mailbox account, it must also be a services account with the appropriate privileges to run as local service. Use this account to log onto the web server so that a Windows profile is created on that server.
The account must also have full access to the database if DB NT Auth is selected in Server Console > System Properties > Database tab.
All ASM Core Services must run under the same account.
Click Start > Run, type services.msc, and click OK. The Services window opens.
Right-click each of the ASM Core services and select Properties.
Click the Log On tab and change the Log On to the appropriate account. Be sure to include the domain in the Login ID (DOMAIN/username).
Change all of the services to run as the same account.
Restart all of the ASM Core Services by restarting the Administrative Service.
Troubleshooting
If you receive errors after completing the steps above, use these troubleshooting steps.
Error
Solution
MAPI_E_NOT_FOUND
Often indicates that the account you are using does not have permission or cannot reach the Exchange server.
Ensure that you have installed the Microsoft Exchange Server MAPI Client from the link above, and that you have configured a profile for the account.
Ensure you have configured the services to run as the email account, and that the email account has been granted Log On as Service rights on the server.
Deselect the NT Authentication checkbox in ASM Core and restart the Messaging Service.
MAPI_E_NOACCESS
Often indicates a permission issue, where the email account configured for the services does not have full rights to the mailbox.
If you are using Microsoft Exchange, open a web browser and log into Outlook Web Access as the email account you have configured for the services. Ensure that this account can successfully log into the account.
MAPI_FAILONEPROVIDER
A catch-all error, but often indicates that there is a configuration problem with one or more folders on the mail server.
If you are using Microsoft Exchange, ensure that Public Folders have been configured on the Exchange server and are accessible by the email account you are using.
If the error persists after configuring the Public Folders, you can add a string to the registry to tell Collaboration Data Objects to ignore the Public Folders:
Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft article 136393 (http://support.microsoft.com/kb/136393) .
On the ASM Core server, click Start > Run, type regedit, and press Enter. The Registry Editor window opens.
Navigate to: HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Microsoft/Windows Messaging Subsystem/CDO
If no CDO key exists, create one.
Add a 32-bit DWORD with the name Ignore No PF, and set the value to 1.
Restart the messaging service for the change to take effect.