Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email message attachments...
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Email message attachments...
Divers
Thread ID:
00831383
Message ID:
00831383
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform