Sendmail attachments
Hi - I'm using Delphi 7 and RB 10.02
I create a report to PDF and use SendMail to email report as an attachment
works - OK
The PDF is Created in a directory I nominate - Ok and exist when the User
email client is displayed
When the user sends the email the attachment is sent with the email but the
PDF is then deleted from the directory
Is there any way to not delete the PDF from the directory?
Thanks
Rob Nankiville
I create a report to PDF and use SendMail to email report as an attachment
works - OK
The PDF is Created in a directory I nominate - Ok and exist when the User
email client is displayed
When the user sends the email the attachment is sent with the email but the
PDF is then deleted from the directory
Is there any way to not delete the PDF from the directory?
Thanks
Rob Nankiville
This discussion has been closed.
Comments
Yes, you can use the Report.EmailSettings.DeleteFile boolean property to
control whether the attached PDF file is deleted or not. This is a public
property so it needs to be set in code before the mail is sent.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com