Adding pdf files to an email report (Offer) RB 11.02
Hi,
I am sending a booking report which is an offer via email (the Offer is
included as a pdf file). This is straigtforward designing using the Report
Designer in RB 11.02.
What I would like is to automaticly add some other standard pdf files (e.g.
location info, travel info...) to the same email. I would like to do this
whithout having to program in Delphi nor having to manualy add the pdf files
runtime after the report-pdf is added to the email. Is this possible?
I hope so :-)
Regards
Hans Christian
I am sending a booking report which is an offer via email (the Offer is
included as a pdf file). This is straigtforward designing using the Report
Designer in RB 11.02.
What I would like is to automaticly add some other standard pdf files (e.g.
location info, travel info...) to the same email. I would like to do this
whithout having to program in Delphi nor having to manualy add the pdf files
runtime after the report-pdf is added to the email. Is this possible?
I hope so :-)
Regards
Hans Christian
This discussion has been closed.
Comments
There is currently no built-in way to add additionaly attachments to an
email without using a minimal amount of code.
In Delphi you can use the following line...
ppReport.EmailSettings.Attachments.Add();
In RAP, you would need to create a pass thru function to access the
properties of the TppEmailSettings object. See the Rap demos located in the
\Demos\0. RAP\... directory on creating a pass thru function as well as in
the Developer's Guide. The passthru function would simply call the code
above and your pass thru would send the file name.
I will take a look at possibly making this property published for a later
release so it is possible to add attachments from the designer and adding
native RAP support.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com