Hello,
We have a customer on Dynamics GP 2016 R2 then when sending invoices as PDF attachments, the document name will contain the full file path e.g "C:\Users\username\AppData\Temp\18\CompanyName - Invoice Number.
It seems like its happening when receiving the email into Outlook 2016 and higher as it wasen't happening in 2013. Has anyone else had this problem or know a way to fix it?
Kind regards,
Matt
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.
This is an old thread, so I was wondering if anyone had any new suggestions for this? The suggested fix for changing the registry (instead of the Win.ini file) did not do the trick.
- Victoria
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,028
André Arnaud de Cal... 878 Super User 2025 Season 2
Sohaib Cheema 579 User Group Leader