Hello everybody

I have big problem with sending email with attachment. My example program you can see in attachment.
When i close my program with Button, program saves all texts from ComboBoxes, Edits, Memos to file called report.txt. File report.txt in his name contains date and time when file was generated for example:
22.08.2018_15.02.20_report.txt. I can generate multiple report files in one hour. I have problem with add last generate file to email.
My code for button:
procedure TForm1.BitBtn1Click(Sender: TObject);
const
OutputFileName = 'report.txt';
var
OutputFile: TStringList;
time: TFormatSettings;
Mail: TSendMail;
begin
GetLocaleFormatSettings(1045, czas);
time.TimeSeparator := '.';
if (Application.MessageBox('Allert!', 'Raport', MB_ICONQUESTION + MB_YESNO) <> IDYES) then Exit;
OutputFile := TStringList.Create;
OutputFile.Add('');
OutputFile.Add('-----------------------------------------------------------------------------------------------------------------');
OutputFile.Add('');
OutputFile.Add('Dyżur pełnili:');
(......)
OutputFile.SaveToFile('reports\\' + DateToStr(Now, time) + '_' + TimeToStr(Now, time) + '_' + OutputFileName);
Mail := TSendMail.Create;
try
Mail.Sender := '*************' <'*************'>;
Mail.Receivers.Add('*************');
Mail.Subject := 'Hello';
Mail.Message.Add('How are you');
Mail.Attachments.Add('reports\\report.txt'); // for send files, optional
Mail.Smtp.UserName := '*************';
Mail.Smtp.Password := '*************';
Mail.Smtp.Host := 'smtp.gmail.com';
Mail.Smtp.Port := '587';
//Mail.Smtp.SSL := True;
mail.Smtp.FullSSL:=false;
Mail.Smtp.TLS := True;
Mail.Send;
ShowMessage('SUCCESS :) ');
finally
Mail.Free;
end;
end;
I created file in this line:
OutputFile.SaveToFile('reports\\' + DateToStr(Now, time) + '_' + TimeToStr(Now, time) + '_' + OutputFileName);
And i have problem to select the last generated file from line above iin this section:
Mail.Attachments.Add('reports\\report.txt'); // for send files, optional