Home General

HTML Email

edited June 2010 in General
Using Report Builder Ent v11.07.

I currently create PDF reports and email them as an attachment to an
email message.

Is there a way to create a HTML email message?



Richard Harding

Comments

  • edited June 2010
    Hi Richard,

    This is not a built-in feature of ReportBuilder. The MAPI plugin does not
    support HTML encoding in mail messages as it only uses the Simply MAPI
    interface. There are however three options to try.

    The EasyMapi plugin allows this as it uses the more advanced Extended MAPI.
    This plugin requires a separate third-party library to function.
    http://www.rapware.nl/

    Though it is not currently, the Indy plugin can be configured to handle HTML
    messages. Inside the TppSMTPIndy10.pas file you will notice there is a
    field named FMessage. Setting the FMessage.ContentType := 'text/html';
    should give you the effect you are after. This is currently not a public
    property so you will need to alter the plugin to manipulate this property.
    I will change this for the next release of ReportBuilder.

    Finally, if you would like to try using the TppSMTPOutlook plugin, you will
    notice some commented out code located in the AssignMessageToSMTP routine.
    Un-commenting this should allow the use of HTML code in the message.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2010
    >Setting the FMessage.ContentType :=

    Thank you Nico.



This discussion has been closed.