Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

E-mailing a report

edited August 2003 in General
I want to extend a feature that would allow my client to E-mail a report
directly from the report previewer. Can someone get me started on this?

Comments

  • edited September 2003
    TExtraDevices has such a feature:

    TXUtils.pas
    procedure ExportToStream(Report: TppProducer; DeviceFormat:
    TExtraDevicesFormat; Stream: TStream);
    procedure ExportToFile(Report: TppProducer; DeviceFormat:
    TExtraDevicesFormat; TgtFile: String);
    procedure ExportToMail(Report: TppProducer; DeviceFormat:
    TExtraDevicesFormat; FileName, Host, FromAddr, ToAddr, Subject, MsgBody,
    User, Pass: String);

    HTH
    Bernd
  • edited September 2003
    My client is using 5.5 Ent. I don't think that class is in there.
    Larry
  • edited September 2003
    TExtraDevices is an add-on product that you need to purchase separately.
    There is a demo on my web site at www.waler.com

    James Waler
    Waler Ltd
    http://www.waler.com
This discussion has been closed.