NetTalk Central

Author Topic: How do i generate a pdf report and mail it.  (Read 1971 times)

lkeyser

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Email
How do i generate a pdf report and mail it.
« 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]

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: How do i generate a pdf report and mail it.
« Reply #1 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: How do i generate a pdf report and mail it.
« Reply #2 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

lkeyser

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Email
Re: How do i generate a pdf report and mail it.
« Reply #3 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

 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: How do i generate a pdf report and mail it.
« Reply #4 on: January 17, 2014, 02:01:39 AM »
Example 13 uses the Clarion EE PDF creator, not the Tracker one.

cheers
Bruce

lkeyser

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Email
Re: How do i generate a pdf report and mail it.
« Reply #5 on: January 18, 2014, 12:25:13 AM »
Thanks you so much.

Thanks for super support !!!

Louis