Could not be able to send Email ?


  • Hi friends,

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

    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!217&parid=7529E2A34BFA8106!107

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

    Sunday, April 08, 2012 7:16 PM


  • 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."


    Tuesday, April 10, 2012 2:42 AM