System.Diagnostics.Process.Start与mailto不起作用 [英] System.Diagnostics.Process.Start with mailto not working

查看:75
本文介绍了System.Diagnostics.Process.Start与mailto不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含联系人数据(包括电子邮件地址)的datagridview.

I have a datagridview with contacts data, including email address.

当用户单击电子邮件单元格时,如果其中包含有效的电子邮件地址,则我的程序会调用

When the user clicks the email cell, if it contains a valid email address, my program calls 

System.Diagnostics.Process.Start("mailto:Cell.Value.ToString").

System.Diagnostics.Process.Start("mailto:Cell.Value.ToString"). 

它用于产生一个新的默认电子邮件客户端窗口,其中的CellValidEmailAddress位于至:"字段

It used to produce a new default email client window with the CellValidEmailAddress in the "to:" field 

现在,它会打开默认Internet浏览器的新窗口,并在其中提供一个新标签".标签.

Now it opens a new window of the default internet browser with a "new tab" tab.

我不明白为什么要进行更改,也没有找到返回预期的新默认电子邮件客户端窗口的方法.

I don't understand why the change, nor have I found a way to go back to the expected new default email client window.

你能帮我吗?

谢谢

推荐答案


这篇关于System.Diagnostics.Process.Start与mailto不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆