Shax
Shax

Reputation: 4307

Send attachment with email using WCF

We need to build an email functionality in our application and the application will be based on Silverlight. In this application user will be able to send the email with attachement. So for this purpose we have realized that we need to build and utilize WCF service which is not a problem. The place where I am stuck is that how can I attach the files and send it to outside world with email.

So please any guidence and article will be highly appreciated.

Thanks and regards.

Upvotes: 1

Views: 1534

Answers (1)

AnthonyWJones
AnthonyWJones

Reputation: 189439

You will need to integrate a file uploader into your Silverlight application to place the files somewhere on your server. You can then use standard WCF to invoke code you've placed on the server to piece together the email using .NET SMTP client components.

Upvotes: 3

Related Questions