sending email from asp.net to outlook users

Proposed Answer sending email from asp.net to outlook users

  • Sunday, February 03, 2013 8:55 AM
     
     

    hi

    I have a class for sending email from my website to outlook users but it raise an error :

    could u help me????

    thanks alot.

All Replies

  • Sunday, February 03, 2013 9:02 AM
     
     Proposed Answer
    I am sorry but I think you are in the wrong forum. please post it in http://forums.asp.net/ . This forum is for Tsql.

    Hope it Helps!!


  • Sunday, February 03, 2013 11:20 AM
     
     

    You can create DB stored procedure to call sp_send_dbmail. Read this

    http://msdn.microsoft.com/en-us/library/ms190307%28v=SQL.90%29.aspx


    Many Thanks & Best Regards, Hua Min

  • Sunday, February 03, 2013 11:30 AM
     
     

    This thread should be in an ASP.NET programming forum.

    The correct type for sending mail from a .Net application is System.Net.Mail.SmtpClient.  You are attempting to automate the Outlook application, which requires that Outlook be installed and isn't supported on a server.

    David


    David http://blogs.msdn.com/b/dbrowne/

  • Sunday, February 03, 2013 12:14 PM
     
     

    Please post this in ASP.Net forum for better answers

    Just a guess on the error, It shows  UnauthorizedAccessException , so you may not have proper access privilege

    http://www.outlookforums.com/threads/35497-unauthorizedaccessexception/


    Regards
    Satheesh

  • Sunday, February 03, 2013 12:50 PM
     
     Proposed Answer

    Hi

    Actually this forum is for SQL Server specially .

    You can check the article :"Sending Email through ASP. NET"

    http://www.codeproject.com/Articles/10433/Sending-Email-through-ASP-NET


    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/