web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Creating PDF Docs from NAV and Email them

(0) ShareShare
ReportReport
Posted on by 82

Using NAV 2009 classic. I created a function to create Posted Sales Invoices in PDF format using BullZip printer then email it to the customer using the Mail Codeunit #397.

The problem is for some customers (Not all) they are not getting the PDF attachment instead they are getting win.dat attachment!! but if I manually  save the invoice in pdf and then email it to them it works fine!!

Any ideas?

Thank you..

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    The winmail.dat file usually happens because the customer's mail programs does not support Outlook rich text format.

    This is normally fixed in Outlook by changing the email format to plain text.

    I think you can do this in NAV by changing the bodyformat property to 1.

  • Ebitas Profile Picture
    82 on at

    Thanks Teddy.. I’ll try that and let you know .. thanks again

  • Ebitas Profile Picture
    82 on at

    that worked Teddy.. Thank you for your help!

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans