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.
- 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
All Replies
-
Sunday, February 03, 2013 9:02 AM
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 03, 2013 9:04 AM
- Proposed As Answer by Kalman TothMicrosoft Community Contributor Sunday, February 03, 2013 1:05 PM
-
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
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 NMicrosoft Community Contributor Sunday, February 03, 2013 4:00 PM

