简体   繁体   中英

Error when sending email using Outlook API

Am trying to send email using MS Outlook API through from my .Net 4 C# application on a Windows 7 machine. Am able to send it successfully if I dont set any sender's email Id in the code.

But when I invoke SendUsingAccount(), I get an access violation error:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Could you please advise?

Thanks.

谢谢大家。此问题现在已解决。这是由于我机器上的MS Office损坏而发生的。

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