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

Waler library won't email all file types.

edited November 2007 in General
Delphi7 and RB latest release (10.07)

I'm currently using the TExtralibrary from Waler.com. I have now got it
working in the way I need it to but have found that some of the file types
cannot be created as an email attachment. I use the following property and
pass in the Device Type name:

Report.EmailSettings.ReportFormat.

This works fine for PDF, RTF, Lotus, PrinterFile and Excel but when I pass
in the Device Type for Graphic, HTML or XHTML it doesn't do anything. The
preview window flickers a couple of times but I get no errors and no email
dialog. If I go into the Print to file option I can save to file using all
of the above. Can anyone tell me if this is a known issue or if some of
these can't be emailed ?
Ian Munro

Comments

  • edited November 2007
    Hi Ian,

    I'm unsure what could be causing this behavior. The emailing process is
    pretty straight forward, the report is generated to a file, that file
    (location) is added to the attachments list of the email message which is
    later attached to the email to be sent. We do not have the ability to debug
    the Waler devices however there must be some difference in how a file is
    created compared to the built-in RB devices and the Waler devices that
    function correctly. Try tracing the code in the TppEmail.ProcessAndSend
    routine and see if you can see where the problem is occuring.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2007
    Thanks, I'll take a look and let you know what I can find out.

    Ian



  • edited December 2007
    Hello,

    I checked with Waler and they say the some of these device types create
    multiple files per report. The Report Builder doesn't seem to be able to
    handle attaching multiple files when using the
    "Report.EmailSettings.ReportFormat " method. Any chance of a fix for this in
    the future ?

    Ian

  • edited December 2007
    Hi Ian,

    Thanks for the feedback and info. The email feature is not designed to
    handle multiple files as the report output. We will consider adding a
    feature to allow you to possibly email all files located in a defined
    directory for a later major release.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.