I am working with the ShowEmail Function. It works when a simple text string is passed as the Email Body.
I have an HTML Report generated via the VFP Report Listener saved as a .HTM file on disk.
My goal is to embed this report into the Email Body, but having no luck.
I'm using this approach: lcBody = FILETOSTR("HTMLFilePath")
ShowEmail(lcReceipient, lcSubject, lcBody)
When I use the above ShowEmail Command with lcBody set to the HTMLReport string, the Email Client never displays. Is there a way (correct way) to embed the HTML Report into the email body?
TIA,
Steve