Error receiving Attachments with mail in other than Outlook

RolfGarde
Member Posts: 15
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.
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
Rolf Garde
0
Comments
-
RolfGarde wrote: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.
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 automaticallyTorsten
MCP+I, MCSE NT, Navision MCT (2004,2005)0 -
todro wrote: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
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.Mvh
Rolf Garde0 -
RolfGarde wrote:todro wrote: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
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.
Try this:OSendMail.BodyFormat := 1;
David Singleton0 -
RolfGarde wrote:todro wrote: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
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.
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.Torsten
MCP+I, MCSE NT, Navision MCT (2004,2005)0 -
David Singleton wrote:
OSendMail.BodyFormat := 1;
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?Mvh
Rolf Garde0 -
RolfGarde wrote:David Singleton wrote:
OSendMail.BodyFormat := 1;
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?
Are the attachments inline attachments ? If so, then automatically RTF/HTML format will be used to create the links.Torsten
MCP+I, MCSE NT, Navision MCT (2004,2005)0 -
Still didn't work. Only Outlook and Gmail can receive the attached documents correct.
I will now try to contact MicrosoftMvh
Rolf Garde0 -
Hi Rolf, I am facing similar problem...have you got any solution for this?0
-
Did you find any solution to this problem ?0
-
Not really.
But mail me, and I will return the "the casefiles".
- RolfMvh
Rolf Garde0 -
I have the same problem and I'm thinking it's better to use another Automation instead of the one used in cu 397.
Wich one can I use?0 -
Same problem here even in NAV 2009 R2. Any solutions to this?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions