我正在按照本指南进行操作,但还没有走很远
我卡在这里了
Now that we have the MAPI namespace, we can log on using using:
.Logon(object Profile, object Password, object ShowDialog, object NewSession)
Profile: This is a string value that indicates what MAPI profile to use for logging on. Set this to null if using the currently logged on user, or set to an empty string ("") if you wish to use the default Outlook Profile.
我想在我的程序中做的就是获取我在变量中已有的电子邮件地址,并打开一个新的 Outlook 电子邮件窗口,该电子邮件地址位于太部分。
非常感谢。
最佳答案
CodeProject 上的这篇文档展示了如何打开默认邮件客户端。
http://www.codeproject.com/KB/dotnet/Default_mail_client.aspx
关于c# - 在 C# 中从 Outlook 发送电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5884094/