but my problem is I can't produce the pdf file that will be attached in the email. I'm using PDF Xchange 3.0. Do I need to have a license for this or I can produce the pdf file without the license?
Whatever the application you found that was correct and if you are running macro with Qlikview Version 10 and it is not working then it may be problem with Qlikview 10 version and some of the function objects does not work. if something else not sure what is the problem.