RE: Invoice PDF attachment name containing full file path
Hi Matt,
This can occur if you are updating your Win.ini file to MAPIX = 1 or MAPI = 1 as a workaround for the Outlook message ‘A program is trying to send an e-mail message on your behalf’ rather than fixing the issue in Outlook itself.
If you go through the steps in the following blog, one of the side effects is that the file name will pick up the file path from the temp folder with it.
A program is trying to send an e-mail message on your behalf when trying to send a Template via E-mail
community.dynamics.com/.../draft-a-program-is-trying-to-send-an-e-mail-message-on-your-behalf-when-trying-to-send-a-template-via-e-mail
To avoid the file path changing you must remove MAPIX=1 from my Win.ini file (C:\Windows\) and restarted GP and Outlook, or change your system preferences to email using Exchange rather than MAPI (Tools>>Setup>>System>>System Preferences).
If this brings back the Outlook Prompt, instead of using the quick/fix workaround from the blog, you need to properly address that prompt in Outlook/Exchange to trust the Microsoft Dynamics GP Application automatically with emails. This would be handled by the Office team as this is not a Microsoft Dynamics GP warning message, but is an Outlook warning message that occurs based on your environment’s setup.
I hope this helps.