Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"A program is trying to send an e-mail program on your behalf..." message when you send a Word Template documents via E-mail in Microsoft Dynamics GP


View products that this article applies to.

Symptoms

Every time you send a Word Template document via e-mail, you see this message:

A program is trying to send an e-mail message on your behalf. If this is unexpected, click Deny and verify your antivirus software is up-to-date. For more information about e-mail safety and how you might be able to avoid getting this warning, click Help.
 


↑ Back to the top


Cause

When the user clicks SEND, the system looks for certain MAPI settings in the Win.ini file that are not there. (You could disable through Programmatic Access on the Trust Center window, but there is an easier fix.)

↑ Back to the top


Resolution

Here is an easy fix:

1. Open a Windows Explorer window and go to C:\Windows.

2. Make a backup of the Win.ini

3. Open the WIN.ini file found in this folder.

4. Look for the MAPIX setting in the file under the [Mail] section of the file.

     a. If the MAPIX setting reads MAPIX=0, please change the 0 to a 1 and then save the file.

     b. If there is not a MAPIX setting under the Mail section, please add the following under the Mail section of the file:
    i. MAPIX=1


5. Once you have modified the WIN.ini file, please be sure to save the changes and then close the file.

6. Then you can restart both Microsoft Outlook and Dynamics GP to ensure that the changes to the file are picked up.

If you run into trouble with editing the Win.ini you can save this to your desktop and drag and drop it into the C:\Windows folder.

If this still does not work you will need validate your Registry.  The document below will walk you through on how to check your Registry for Mail. Go through Steps 1-7 and choose Option A if you are 32-bit or Option B if you are 64-bit. 

Click HERE to open the blog article and click on the link at the bottom to download the 'Registry MAPI Fix.doc' 

------------------

UPDATED NOTE:

*Note: Recently (as of 1/11/18) we found some situations where the Customer did have MAPIX=1 in the Win.ini file and it still did not work.  We removed this line in the Win.ini and it started working.  Not sure if there was a certain Windows update that is preventing this setting from being used.

The steps above should resolve this error as a workaround.   This is an Outlook message, and is occurring based on how your environment is set up and whether Outlook trusts the Microsoft Dynamics GP application to email on your behalf or not automatically. 

If you see side effects of this workaround such as the filename of the document that you are sending containing the path of the file from the user's TEMP folder (C:\\User\Username…\BlankInvoiceForm.docx), then please remove the MAPIX=1 setting, and properly fix the issue in Outlook itself to prevent that warning by contacting a Microsoft Office resource.  

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb, gp

↑ Back to the top

Article Info
Article ID : 3091943
Revision : 3
Created on : 9/4/2019
Published on : 9/4/2019
Exists online : False
Views : 375