
Working on Dynamics 365 F&O, I need to send SSRS payslips report on email to employees on button click,
1. Need basic testing code for emailing recipient an email on button click,
2. How can I achieve the task to send attachment of SSRS pay slip to each employee.
Thanks in advance
Hi Haseeb1993,
You need to convert SSRS to PDF, and convert it to a memory stream. Finally, use SysMailerMessageBuilder.addAttachment() method to attach SSRS(PDF) with email.
Please check: www.linkedin.com/.../how-send-ssrs-email-along-all-attachments-d365fo-safdar-ali