Developer forum

Forum » Development » ABCpdf in OnSendMail subscriber

ABCpdf in OnSendMail subscriber

Ivan Marijanović
Ivan Marijanović
Reply

I cretaed noification subscriber to run when user submits form. I need to create PDF file with form values and send it to user as attachemnt.

Since I need to create PDF file I referenced ABCpdf.dll from DW application bin folder. I am devoloping on machine where DW app is served from and my subscriber compiles ok but when it fires I get this error:

Thank you in advance for help!

Ivan


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Ivan,

We don't use ABCpdf in Dynamicweb 9.7 and later versions.
Instead you can use Dynamicweb.Imaging.PdfRenderer to generate a PDF document from either URL or HTML.

Best regards,
Morten

Votes for this answer: 1
 
Nicolai Pedersen
Reply

Also if you use ABCPdf or the new IronPdf objects you need a license from them...

 
Ivan Marijanović
Ivan Marijanović
Reply

Thank you Morten!

Ivan

 
Ivan Marijanović
Ivan Marijanović
Reply

Nicolai

But is'nt it licenced by DW. I am using dll I find in bin folder so it it allready licenced. I am adding new listener which is part of DW. Am I wrong here?

Ivan

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes - to use as we have build it. If you code against their API, you need your own license. If you use pdf=true or our PdfRenderer, you are covered.

Votes for this answer: 1
 
Ivan Marijanović
Ivan Marijanović
Reply

Thank you Nicolai!

Ivan

 

You must be logged in to post in the forum