This project is read-only.

changing the attachment type in e-mail?

Oct 18, 2007 at 8:08 PM
Hi, I'm working on this for the website at a hospital. I've got it working pretty well. What I'm wandering is there a way for the e-mail attachment to be a text file or something similar. Right now xml docs in attachments are being filtered by our network. It would be even better if it could just be generated into the body of an e-mail. I'm pretty new to ASP and I've been doing C#for about 1 year. Any help on this would be great.
Nov 5, 2007 at 6:27 AM
There is no mechanism built it to allow you to change the email type. However, that part of the code is pretty simple. You could probably modify it yourself quite easily (even something as naming the file with a .txt extension might do the trick to get by that filter).

Take a look at the WebSurvey.cs file -- I'd be willing to bet you wouldn't have much trouble at all making this change.