private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     System.Diagnostics.Process.Start("mailto:amysimple@");
 }[System.Runtime.InteropServices.DllImport("shell32.dll", EntryPoint = "ShellExecuteA")]
 public static extern int ShellExecute(
     int hwnd,
     String lpOperation,
     String lpFile,
     String lpParameters,
     String lpDirectory,
     int nShowCmd
 );private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     ShellExecute(0, String.Empty, "mailto:amysimple@", String.Empty, String.Empty, 1);
 }winform调用outlook
原创
             ©著作权归作者所有:来自51CTO博客作者biyusr216的原创作品,请联系作者获取转载授权,否则将追究法律责任        
            上一篇:用C#写vs插件中的一些Tip
下一篇:Word文档的读取与分析
 
            
        
                提问和评论都可以,用心的回复会被更多人看到
                评论
            
            
                    发布评论
                
            
            相关文章
        
        
- 
                    Microsoft Outlook邮箱存储清理问题记一次处理outlook邮箱存储空间占满问题 outlook microsoft 微软
- 
                    基于键盘和短信的双门锁系统双密码锁 电机控制 顺时针 整流器
 
 
                    













 
                    

 
                 
                    