Sunday, February 03, 2013 8:55 AM
I have a class for sending email from my website to outlook users but it raise an error :
could u help me????
- Moved by Naomi NMicrosoft Community Contributor Sunday, February 03, 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 03, 2013 9:02 AMI 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
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.
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
Sunday, February 03, 2013 12:50 PM
Actually this forum is for SQL Server specially .
You can check the article :"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 NMicrosoft Community Contributor Sunday, February 03, 2013 4:00 PM