Could not be able to send Email ?

Answered Could not be able to send Email ?

  • Sunday, April 08, 2012 7:16 PM
     
     

    Hi friends,

    I want to send a simple email to the user through my project. By referring to this article

    http://michaelsync.net/2008/05/25/tiptrick-sending-email-in-silverlight-2-beta1

    I've created a small application "SL4Mail". But I can'nt be able to send the mail through this application. Please tell me what is the error in this application. Download application from here

    https://skydrive.live.com/redir.aspx?cid=7529e2a34bfa8106&resid=7529E2A34BFA8106!217&parid=7529E2A34BFA8106!107

    Don't forget to change ur username and password in the web.config file..

All Replies

  • Tuesday, April 10, 2012 2:42 AM
     
     Answered

    Hi there,

    The dev server of Visual Studio does not support SMTP, for that functionality you must deploy your app in IIS.

    "The Visual Studio Development Server does not include all of the extra facilities of IIS. For example, like IIS Express, the Visual Studio Development Server does not support SMTP or FTP. If your Web project involves sending email messages, you must have access to an IIS SMTP virtual server to test email."

    http://msdn.microsoft.com/en-us/library/58wxa9w5.aspx

    Regards