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

Default Email Settings

edited September 2014 in General
I have report builder version 11.04 enterprise for delphi 7. When
sending an email, if you do not have the email settings setup for a
report, where does it get the defaults from? What unit in the code? Thanks

Comments

  • edited September 2014
    Hi Jeff,

    The default values for the email settings can be found in the
    TppEmailSettings class which is located in the ppEmailSettings.pas file.

    Moving forward, we hope you will consider upgrading your version of
    ReportBuilder to the latest (RB 15). We have made hundreds of
    enhancements and additions since RB 11.

    http://www.digital-metaphors.com/rbWiki/General/What's_New/RB_15

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2014
    So, how would I look at that file to know if I am pulling the windows
    default email settings or something else (not sure if that makes sense).

    In other words, I want to email a report with the windows default email
    settings.


  • edited September 2014
    Hi Jeff,

    Perhaps I'm misunderstanding what you mean by "Default Email Settings".

    ReportBuilder uses various email plugins to automatically send emails.
    By default the TppSMTPMapi plugin is used which utilizes the MAPI
    (Microsoft) technology to automatically send an email using the default
    email client installed on the machine (usually Outlook). Using MAPI,
    ReportBuilder only has control over the settings defined in the
    Report.EmailSettings property, nothing else.

    ReportBuilder does not access any Windows email settings as it assumes
    these are already set up when using the MAPI plugin.

    Note that if you have multiple Outlook profiles on the same machine, you
    can control which profile is used using the TppEmailSettings.UserName
    property.

    Best Regards,

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