Rafael,
We do it here for monthly statements etc ... Produce PDF Via XFRX and then CDO 
email sending. You are welcome to the CDO source code if you want but the XFRX 
is obviously chargeable but not expensive and very reliable.

Dave


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: 16 May 2017 21:37
To: [email protected]
Subject: generate pdf files by batch and send them by email

I need to generate a batch of invoices in PDF format and then send them 
automatically by email I’ve been exploring the web for some meaningful code but 
most examples are in VB 1. I have a cursor with N invoices and all pertinent 
header data 2. I want to generate N PDF files with all the invoice data and 
sabe them to a designated folder 3. I need to email them, one by one, to the 
respective customers I know this has been done zillions of times but in my case 
I never did it for batches and would appreciate an example on:
1. How to generate the PDF files
2. How to save them in a particular folder 3. How to email them Needles to add 
that the solutions have to be in VFP and FREE TIA Rafael Copquin





--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to