Thank you for posting this link.
I have seen this code before when searching for sending email with PDF attachment using xmlworker.
However, I preferred your original solution. While the solution in the link you provided forces me to write extra code using the Append term, your original solution grabs the values already in HTML form.
I succeeded in modifying your original code to both add logo to the top of the PDF and also send the PDF as attachment.
I have accepted that soluion as the Answer.
Thank as always sir for your continued assistance.
What an amazing forum!