PDA

View Full Version : Attach some other files to the e-mail?


Vic Peters
22-Dec-2005, 12:53 AM
Is it possible to attach an Application's ini file (or any other file) to
the EurekaLog e-mail, in addition to the screenshot?

POLCAP
22-Dec-2005, 01:58 AM
Yes it is possible with the R5.x version.

You can add this kind of code to attach multiple files

procedure TFrmMain.EurekaLog1AttachedFilesRequest(
EurekaExceptionRecord: TEurekaExceptionRecord; AttachedFiles: TStrings);
begin
AttachedFiles.Add(DebugFileName);
AttachedFiles.Add(Options.ProgramDir + IniFileName);
end;

admin
03-Jan-2006, 04:21 PM
Hi,

POLCAP wrote:
> Yes it is possible with the R5.x version.
>
> You can add this kind of code to attach multiple files
>
> procedure TFrmMain.EurekaLog1AttachedFilesRequest(
> EurekaExceptionRecord: TEurekaExceptionRecord; AttachedFiles:
> TStrings);
> begin
> AttachedFiles.Add(DebugFileName);
> AttachedFiles.Add(Options.ProgramDir + IniFileName);
> end;

Exactly! :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!