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.
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.)
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:
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' .
*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.