locked
sending email from asp.net to outlook users RRS feed

  • Question

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

    • Moved by Naomi N Sunday, February 3, 2013 4:02 PM There is no forum where this can be moved as ASP.NET forum is not part of MSDN forums
    Sunday, February 3, 2013 8:55 AM

Answers

  • 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!!


    • Edited by Stan210 Sunday, February 3, 2013 9:04 AM
    • Proposed as answer by Kalman Toth Sunday, February 3, 2013 1:05 PM
    • Marked as answer by Just Karl Friday, October 3, 2014 10:01 PM
    Sunday, February 3, 2013 9:02 AM
  • 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/

    • Proposed as answer by Naomi N Sunday, February 3, 2013 4:00 PM
    • Marked as answer by Just Karl Friday, October 3, 2014 10:01 PM
    Sunday, February 3, 2013 12:50 PM

All replies

  • 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!!


    • Edited by Stan210 Sunday, February 3, 2013 9:04 AM
    • Proposed as answer by Kalman Toth Sunday, February 3, 2013 1:05 PM
    • Marked as answer by Just Karl Friday, October 3, 2014 10:01 PM
    Sunday, February 3, 2013 9:02 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 3, 2013 11:20 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 3, 2013 11:30 AM
  • 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 3, 2013 12:14 PM
  • 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/

    • Proposed as answer by Naomi N Sunday, February 3, 2013 4:00 PM
    • Marked as answer by Just Karl Friday, October 3, 2014 10:01 PM
    Sunday, February 3, 2013 12:50 PM