Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email message attachments...
Message
From
23/09/2003 06:49:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Email message attachments...
Miscellaneous
Thread ID:
00831383
Message ID:
00831383
Views:
62
Hi folks,

I have file attachments stored in a SQL Server 2000 table that has a field type of Image. I can read, display, and write these files to and form the database without any problems. I am using VB.NET and ASP.NET.

I want to be able to send these out as email attachments without having to save them to disk first, if possible. If it is possible, somehow I would need to set the SMTP object's mail attachment name and have it accept the stream from a binaryreader. Is this possible. I've not had much luck.

Would saving the file to disk first, attaching and sending it, then deleting it be the only way? I was hoping to avoid the additional I/O for this process, as there are many different files attachments to be sent to different people all of the time. This is part of an "eLearning" application, with an end user pool of ~5000 users.

Thought are appreciated,
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Next
Reply
Map
View

Click here to load this message in the networking platform