We create a PDF document using a pdfprinter from NAV 5.0.
We use CU 397 to create an e-mail with this PDF-file as an attachment. We set the mail to Open in outlook so the user can add more text if necessary.
When the receiving end uses outlook or GMail this mail incl. attachment is received without problems. When the user has Outlook Express or another mail-client the mail is received, but the attachment is received as Winmail.dat - and this attachment is not possible to open with Acrobat reader.
If we manually open af new mail from outlook and attach the same PDF-File - it is received without problems. So the error must be in the mail that is generated from NAV.
I am all out off Ideas - so any ideas are velcome.
Mvh
Rolf Garde
0
Comments
change the format in Outlook Express in the Menu "Format" to "Text-Only". I'm not aware of a MAPI property which could be used inside codeunit 397 to get this done automatically
MCP+I, MCSE NT, Navision MCT (2004,2005)
The problem is that the feature is used for sending PDF-files all over the world - and to new partners each day. So it is not possible to change settings on the receivers side. It must be done from the NAV-side.
I should think that there must be a setting in til outlook library that could solve this problem - but my knowledge about that is none to speak off.
Rolf Garde
Try this:
Try the BodyFormat property as David suggested. If this property is mapped to the MAPI Attachment type, this might do the trick, changing from InText-Attachments to AddOn-Attachments which no longer cause the RTF format to be used.
MCP+I, MCSE NT, Navision MCT (2004,2005)
That didn´t do the trick :-(
We use Outlook 2003 to send - and it is received without errors in Outlook 2003 and Gmail. It is received as Winmail.dat in Outlook Express, Some Linux Mail klient, Some Danish Webmail from TDC.
I am all out of ideas. Does anyone have some?
Rolf Garde
Are the attachments inline attachments ? If so, then automatically RTF/HTML format will be used to create the links.
MCP+I, MCSE NT, Navision MCT (2004,2005)
I will now try to contact Microsoft
Rolf Garde
But mail me, and I will return the "the casefiles".
- Rolf
Rolf Garde
Wich one can I use?
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
http://blogs.msdn.com/b/nav/archive/201 ... lient.aspx
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book