This is a mirror of official site: http://jasper-net.blogspot.com/

How to send an email in Silverlight

| Tuesday, November 30, 2010
Introduction
Welcome again to Dotnetfunda. In this article I am going to demostrate on how to send an email in Silverlight. I have previously wrote an article on how you can do that in asp.net, but now in Silverlight the approach is different and a newbie or even an experienced person can get lost. I am known by writing easly interpreted articles and I will keep on doing that , by even providing you with screenshots. Thanks again to Sheo who take my article as word document and post them on my behalf. I am a programmer who does not like to spent to much time on a word processing program like ms word.

Background
In this Article we are going explain how you can send an email from your silverlight appplication , with gmail or other email accounts that you know the smtp and port.

Using the code
We are going to user C# as our language and we will have some xaml to build our UI.

What do I need to Follow this article Examples
You need Visual Studio 2010  or Visual Studio 2008 SP1 and if 2008 version make sure that you have installed the Silverlight Tools. We are going to use WCF to send an email and you need a Gmail account or any account that you know the smtp name and port name. Below is a list of checklist to make sure that you have everything before you start following the examples.

Create a WCF Service
Right click on your Solution Explorer and click on new Project as depicted below

Read more: .Net Funda Part 1, Part 2

Posted via email from .NET Info

0 comments: