| SendBtnClick method |
Applies to
TExceptionDialogMail
Declaration
procedure SendBtnClick(Sender: TObject);Implementation
procedure TExceptionDialogMail.SendBtnClick(Sender: TObject);
begin
with TJclEmail.Create do
try
ParentWnd := Application.Handle;
Recipients.Add(SendBugReportAddress);
Subject := SendBugReportSubject;
Body := ReportAsText;
SaveTaskWindows;
try
Send(True);
finally
RestoreTaskWindows;
end;
finally
Free;
end;
End; |
|
|