Caution: this is old EurekaLog 6 documentation. This is not the latest version.
EurekaLog includes a function called EurekaLogSendEmail, that enables you to send en email to one o more recipient using the default email client installed on your PC.
Syntax of this function is as follows:
function EurekaLogSendEmail(const AMailTo, ASubject, ABody, AAttachments: string): Boolean;
You can insert more recipients and attachments, separating them with a ';' or a ',' char.
uses ExceptionLog; // The required unit...
Sent := EurekaLogSendEmail('firstname.lastname@example.org;email@example.com', 'Test email',
'This is a test email!', 'C:\Log.txt;C:\Windows\notepad.exe');