PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: Sonia Cruz on April 09, 2021, 09:40:02 PM

Title: is there a way to copy a report writer letter result to an email content
Post by: Sonia Cruz on April 09, 2021, 09:40:02 PM
Hello all!
Do you know if there is a way to copy the result of a letter created in report writer and put in the content of an email like the wording?   
Thanks in advance!
Regards
Sonia Cruz
Title: Re: is there a way to copy a report writer letter result to an email content
Post by: Mike King on April 11, 2021, 03:01:53 PM
Have you tried outputting the report to a PDF and passing that as a attachment to *web/email?

You could also produce the letter as a html file, then read the file and pass it directly to *web/email setting the content type to text/html
Title: Re: is there a way to copy a report writer letter result to an email content
Post by: Sonia Cruz on April 11, 2021, 05:07:03 PM
Hello Mike!
Thank you so much for the ideas, the second option is what the business is looking for.
Regards,
Sonia Cruz