How to send a report as an attachment?

I just know how to send a mail in Navision but the difficult point is how can I send a report as an attachment? does there have any method can save a report to a temporary file…then I can send this file as an attachment…

anyone got ideas? I’m appreciated.

You save a report as HTML using function SAVEASHTML or you can print it to a pdf printer.