Email Groups as HTML
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
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
This discussion has been closed.
Comments
This is currently not supported by the RB email feature.
The HTML device uses positional
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Notwithstanding the limitations of Outlook (I'm no HTML expert but from
memory
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
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com