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
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.
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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.
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com