Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

wcf email with attachment

Posted on 2012-08-14
1
Medium Priority
?
432 Views
Last Modified: 2012-08-29
I would like to learn how to build wcf with attachment. I know how to do without attachment, but with attachment it seems a lot more harder....

Thanks
0
Comment
Question by:Webboy2008
1 Comment
 
LVL 18

Accepted Solution

by:
DarrenD earned 2000 total points
ID: 38299842
Hi,

You can pass the attachment as a Stream or byte array and then store it in the database....

See this
http://blogs.msdn.com/b/carlosfigueira/archive/2008/04/17/wcf-raw-programming-model-receiving-arbitrary-data.aspx

or

http://www.codeproject.com/Articles/37651/WCF-Large-File-Download-Upload-Service

Hope this helps,

Darren
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question