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.
Answers
Know the answer? Post it. Somebody with the same question will find it here.