NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: lkeyser on January 13, 2014, 05:53:11 AM

Title: How do i generate a pdf report and mail it.
Post by: lkeyser on January 13, 2014, 05:53:11 AM
Hi all
Please assist, need some guidance.
I want to send a mail with a pdf attachment that gets generated by a normal report function, using, (Report to PDF) Template. This all need to happen within a nettalk web application.

I was hoping that ntkpxc24.app [C:\...Accessory\Capesoft\NetTalk\Email\Email Send PDF Report] will help me in this process, but I'm getting the following error when running the sample app. (See attachment)

It sends the mail eventually with a pdf attachment that can’t be opened.

Regards

Louis


[attachment deleted by admin]
Title: Re: How do i generate a pdf report and mail it.
Post by: kevin plummer on January 13, 2014, 03:15:44 PM
I would break it down into 2 parts. Check out example 11 and make sure you can send an email with an attachment that already exists. Once that works, get your report working so it generates a PDF and saves a copy in the folder you are expecting to email it from with the filename expected.
Title: Re: How do i generate a pdf report and mail it.
Post by: Bruce on January 13, 2014, 09:56:38 PM
As Kevin says;

Presumably you get the erro message you posted because the file is indeed not there. So first step is making sure the file is created, with the right name, in the right place.

Cheers
Bruce
Title: Re: How do i generate a pdf report and mail it.
Post by: lkeyser on January 14, 2014, 02:08:26 AM
Hi Guys

My apologies. I see the example I tried to get working, you need the PdfXChange template to create the pdf..

Is there a way to do this with the normal pdf creator in Clarion EE.?

Many Thanks
Louis

 
Title: Re: How do i generate a pdf report and mail it.
Post by: Bruce on January 17, 2014, 02:01:39 AM
Example 13 uses the Clarion EE PDF creator, not the Tracker one.

cheers
Bruce
Title: Re: How do i generate a pdf report and mail it.
Post by: lkeyser on January 18, 2014, 12:25:13 AM
Thanks you so much.

Thanks for super support !!!

Louis