You need to clarify if the problem you are encountering is:
1. PDF document(s) are being created but with the wrong employee's content
2. The Wrong PDF documents are being attached to an employee's email
3. Correct PDF document(s) are being created, but sent to the wrong employee email address.
Regardless - First, there are a variety of other ways to create PDF documents from your VFP application.
I am sure that if you used this forum's Search tool you would find MANY of those options discussed.
Some of the alternatives are Free and others are not.
Regardless, I used Bullzip for multiple years to programatically create PDF documents for 200+ individuals each and every day and it worked just fine and reliably.
Perhaps the issue(s) you are encountering
may be an issue of
how you are using Bullzip.
I merely pre-configured the client's Bullzip to ALWAYS create a PDF with the same name and in the same directory.
1.Then when the VFP application needed to print it would temporarily change the workstation's default printer to Bullzip
2. Print the document with REPORT FORM <whatever> TO PRINTER
3. Change the workstation's printer back to its original default printer.
Once the VFP application created that document it 'knew' where it was located and what its file name was.
With that 'knowledge' it then Moved the document to where I really needed to be and renamed it to the final intended file name (NOTE - each PDF document was uniquely named in the end)
And then finally sent out the PDF as an email attachment.
Again this approach worked for 200+ email documents each day without fail for years.
There is another way of using Bullzip that does not involve pre-configuring it.
That way is by means of command line execution, but I have never used it so I cannot speak to its effectiveness.
However even if I were to try that approach, I think that I'd still follow the same basic methodology - just using the command line approach instead.
Good Luck,
JRB-Bldr