How can I send a report by e-mail? Is there a template for it?

Applies to: posted in the Clarion 5.5 EE group (2001); the thread names no template chain.

Problem

The poster wanted to send a Clarion report by e-mail and asked whether a template existed, or how to write the code.

Solution

The thread offered several routes; none was marked as the answer:

  1. Print the report to a PDF printer driver (PDF-XChange was named), then attach the resulting PDF file with a MAPI e-mail template or any e-mail engine. One poster called this a perfect combination.
  2. Use a ready-made template set that sends reports: the CPCS e-mail and PDF templates were recommended, and a sample was said to be in a download center.
  3. Use a free external mailer (HotSend was named); it is not a Clarion application.
  4. Save the report's WMF page files and view them with a viewer template (a Clarion Magazine article and open source templates were named). As posted it worked on an internal LAN/WAN only; zipping the files for e-mail was suggested.
  5. Create a TIFF file with a TIFF driver, let the application poll the folder for it, then send it with an e-mail template (NetTalk and the MAPI templates were named).

Caveats

  • The thread names no outcome from the original poster.
  • One poster suggested a Word macro that inserts the temporary report page images into a document for attaching; it was posted as a macro only, with the temp folder path to adjust for Windows 2000 or NT.
  • The products named are third-party and date from 2001; their availability and versions are not known here.

Today (2026)

The print-to-PDF-then-attach idea likely still holds, since the report engine and the printer driver route have not changed in principle; not re-tested. The third-party tools named should be checked before use.

Sources: Jeri B. (Aug 2001, the question), Steve P., Doug, Wayne H., John V., Eric J., Dave P., Johan R., Fred S. (Aug 2001) in softvelocity.products.c55ee.