We'd have a separate, identical report to the one we wanted to email.
Setup printer selection to go to a pdf writer for this identical report. This gives them the option of printing the original report or emailing the identical one.
Once the pdf was saved (as a hard coded file name, or at least something that you can find on the hard drive) we just used the mail codeunit to send it as an attachment.
On the quote form there was an option for email or print.
We'd have a separate, identical report to the one we wanted to email.
Setup printer selection to go to a pdf writer for this identical report. This gives them the option of printing the original report or emailing the identical one.
Once the pdf was saved (as a hard coded file name, or at least something that you can find on the hard drive) we just used the mail codeunit to send it as an attachment.
On the quote form there was an option for email or print.
Comments
We'd have a separate, identical report to the one we wanted to email.
Setup printer selection to go to a pdf writer for this identical report. This gives them the option of printing the original report or emailing the identical one.
Once the pdf was saved (as a hard coded file name, or at least something that you can find on the hard drive) we just used the mail codeunit to send it as an attachment.
On the quote form there was an option for email or print.
Hope that helps.
My Blog - nav.education
Thanx