简体   繁体   中英

How to get Current User's Email address and password in C#

I'm wondering is there any solution to get current users email and password from outlook with C# ? I need those information to send e-mail from desktop app for log.

Since you have tagged ASP-Classic, I guess you are trying implement this in classic ASP. I would suggest you to create a new aspx page or a handler (ashx) in .Net. Then you can implement your email functionality in that class using Microsoft.Office.Interop.Outlook . Refer- https://msdn.microsoft.com/en-us/library/office/bb644320.aspx?f=255&MSPPError=-2147217396 and Sending Email through Outlook 2010 via C# Please note- You need to use an existing Windows account which can send and receive mails.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM