Hi all,
I want to send an email to a client on a weekly basis.
I have configured the email-sending part using a timer.
Now I want to get data from an existing table and include that table data in a PDF format and attach it to the above email before sending it. (The PDF should attach to the email before sending it to the client.)
Could anyone please help me to achieve this?
Thanks in advance!
(Current implementation Status: So far I have been able to send an email on weekly basis by using a Timer which calls a server action. Also, I was able to get the table data to a PDF and download it using a client action. But I was not able to attach that PDF to the email and send it)
Hi Kavindu Pathberiya
think of splitting your problem into two parts.
step First from your UI to generating a PDF
step second Sending this PDF in an Email attachment.
Ultimate PDF is really a great component that help you all the way till you generate your PDF file. Everything upto here can be done in your Reactive app.
After that the remaining part has to be done in Traditional Web app which actually sends an email. You expose a public server action which receives the PDF and sends as an email attachment.
Hello
You can refer to the documentation available to send an attachment via email:
ThanksTousif Khan