Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 2005 Database Mail - Attachments Saved

Status
Not open for further replies.

EriRobert

MIS
May 9, 2003
114
GB
Hi
We recently started to use Database Mail to send information packs to our clients (pdf attachments). The emails + attachments are sent without a problem. I have subsequently noticed that the attachments are being saved on the C drive causing space issues - for example:

C:\Documents and Settings\ADPH\Local Settings\Temp\1a33ff6a-63b4-4bc4-b0e7-7efe9e6f98d0\Info.pdf


Is this normal behaviour? Is there a setting to persuade database mail to tidy up (delete these files) after sending?

Thanks
 
You will have to create a maint plan to go clean up that directory.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Thanks Paul

Yes I can do that.

Why does Database mail leave them in the first place? For example, we don't expect to clean up Tempdb after it has run some queries. Is there a reason why they are allowed to build up?

Curious really

Many Thanks

Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top