Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
E-mailing a report
rbuser
August 2003
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
rbuser
September 2003
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
rbuser
September 2003
edited September 2003
My client is using 5.5 Ent. I don't think that class is in there.
Larry
rbuser
September 2003
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.
Comments
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
Larry
There is a demo on my web site at www.waler.com
James Waler
Waler Ltd
http://www.waler.com