"Les" <in**@fluidwebz.com> wrote in message
news:dd**************************@posting.google.c om...
Thank you for your quick response and the link.
<http://www.aspfaq.com/show.asp?id=2119> but I should have been more
explicit in my post.
As I've never done this before, I'm assuming that I can figure out how
to:
1. Write the data submitted in the form to a csv file
2. Save that to the server and then
3. Have the csv attached to an email and sent to the project manager.
My question is: can the csv file be created "on the fly" (not saved to
the server) and attached to the email which would be created from my
ASP page? I read through the aspfaq site, but was unable to find if
this were possible.
Once again thanks so much,
Les
Check out the GetDecodedContentStream Method of the BodyPart(attachment)
object
http://msdn.microsoft.com/library/en...tentstream.asp
The basic premise is that all simple (versus multipart) bodyparts have
an associated stream interface. You can load content into the
bodypart(i.e. attachment) via the stream interface by using the
Write/WriteText methods. You indicated that you already know how to
retrieve the submitted file content from the Request object, but just in
case, here's an article that describes a component-less method for doing
so:
http://msdn.microsoft.com/library/en...ml/asp0900.asp
HTH
-Chris