Hello,
I need help again.
I want to make sending emails silently with report in PDF attached, and only I have a problem:
In export the report to email (MailExport), I am using the function SetProperty () to set programmatically export information.
The property "ExportFilter" does not work or no exist.
xHarbour syntax:
oReport: SetProperty ("MailExport" "ExportFilter" "PDFExport")
error:
"Undeclared identifier: 'ExportFilter'
I checked the source code of fastreport and this property exists.
Anyone know solution for this?
PS: If not set the ExportFilter, FastReport this by attaching a file in fp3 format.
thanks,
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Sending emails silently with report in PDF attached
Re: Sending emails silently with report in PDF attached
It's better to make silently a PDF with FR and save into disk and then send it via email by your own app without FR.
BiSoft Desarrollo de software profesional
http://www.bisoft.es
http://www.bisoft.es
Re: Sending emails silently with report in PDF attached
I'm just trying to simplify and automate the process without having to implement an e-mail sending module in my application. If this property there will be very interesting to work.
However, if this is not fixed, your solution is correct.
thanks,
However, if this is not fixed, your solution is correct.
thanks,
- ignacio
- Site Admin
- Mensajes: 9243
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: Sending emails silently with report in PDF attached
The third parameter is not a string, it should be a pointer to a TfrxCustomExportFilter object. This can not be accomplished from [x]Harbour. BTW, we have made a work-around to fix it using a string as your proposal. It will be available on next release.mcegar escribió:oReport: SetProperty ("MailExport" "ExportFilter" "PDFExport")
error: "Undeclared identifier: 'ExportFilter'
Regards,
Re: Sending emails silently with report in PDF attached
Hello,
Nice,
I will look for the next version to test.
thanks
Nice,
I will look for the next version to test.
thanks