开发者

Send attachment with email using WCF

开发者 https://www.devze.com 2022-12-18 02:16 出处:网络
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 purpo

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 ap开发者_开发知识库preciated.

Thanks and regards.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消