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

Email Groups as HTML

edited October 2012 in General
Just discovered the Email Groups facility and I'm very impressed!
However, would it be possible to implement this whereby instead of a
file being exported and then "attached" to the email the export is to an
HTML file and then this HTML is assigned to the EmailSettings.BodyHtml
property? In other words, the report output becomes the entirety of the
email received rather than an attachment? For email campaigns this would
be a much nicer solution than recipients getting an email with an
attachment.

TIA, Paul

Comments

  • edited October 2012
    Hi Paul,

    This is currently not supported by the RB email feature.

    The HTML device uses positional
    tags to place report components.
    These tags are not fully supported in the latest versions of MS Outlook.
    It may be possible for the future to completely redesign the HTML
    device to use a different positioning architecture however for now,
    attaching the reports as files is the only option.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2012
    Thanks for the reply Nico.

    Notwithstanding the limitations of Outlook (I'm no HTML expert but from
    memory
    tags are a very good way of achieving accurate layouts, so
    it seems to me that you already a good solution), is there nonetheless a
    way of assigning to the BodyHTML anyway instead of sending an
    attachment? I ask as it wouldn't surprise me if Thunderbird handled it
    quite well.

    Paul

  • edited October 2012
    Hi Paul,

    There is no automatic way to add the report as the body of an email.
    You would need to export the report to HTML (each group) then manually
    add that to the body of an email.

    The email groups feature is designed to attach each exported file to a
    separate email. See the TppFileDevice.SendEmail routine for where this
    is done. You could either try to alter this code and add the HTML
    report as the BodyHTML property or take control of this process
    completely with your own Indy components.

    Best Regards,

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