IntroductionIn this article, i have describe, how to send email in silver light using .NET Framework. beucase now days every applicaion has email sending features, since when we are develop application in silverlight, we have to add email sending features as well. Steps by StepsI have created silver light application using vs 20010,the GUI like following to send email. Above GUI xaml like following, Then add asp.net Generic Handler in Web.Project, Now i'm going to Add Static Class and Crate Send Email Function.the email sending code like following,you can download sample code of this project end of this article. Now we have to add code to peform mail sending through the generic handler. Add This Code At SilverLight Project(MainPage.xaml.cs) on send button click. Finally, we have to configure the SMTP settign inside the configuration file, here is settings details, that's all press F5 and run then enter the email address send email. Sample Project SourceDownload source files -87 kb |