Can I delete attached file immediately after sending email?

Giganews Newsgroups
Subject: Can I delete attached file immediately after sending email?
Posted by:  Jacob Havkrog (..@a.a)
Date: Sun, 22 Oct 2006

Hi group

I use TIdMessage and TIdSmtp to send emails from my Delphi 5 application.

I attach a file to the email.

My question is, can I delete the file immediately after sending the email by
code?

Or should I better wait a little, perhaps not delete temp files until my app
closes down?

Thanks for your help
Jacob

Replies