PDF creation with form data

Denica Daceva asked on January 13, 2016 13:52

Hello,

Is there a way to send the submitted form data in a PDF attachment to the notification mail, instead of displaying it the e-mail body?

Thank you!

Be well,

Recent Answers


Dawid Jachnik answered on January 13, 2016 14:07 (last edited on January 13, 2016 14:09)

Hello,

Yes, it is possible but you can do it manualy like previous solution (http://devnet.kentico.com/questions/separate-mails-to-different-receivers). To create PDF in c# you need to use another c# librarby like PDFsharp. When you create file you can easly attach it to email :)

EDIT: Here's quick use of this library http://csharp.net-informations.com/file/create-pdf.htm

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.