如何模拟"邮寄地址:"呼吁的WinForms按钮单击? [英] How to simulate a "mailto:" call on Winforms Button Click?
本文介绍了如何模拟"邮寄地址:"呼吁的WinForms按钮单击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将发送一封电子邮件,通过开放标准的电子邮件程序中的一个地址,如至mailto:在一个标签将做到这一点,但点击一个按钮在
I will send an email with a given address by open the standard email program like "mailto:" in an a-tag will do it, but within a button click.
如何?
推荐答案
例如,从的此处
private void btnEmail_Click(object sender, EventArgs e)
{
string command = "mailto:info[at]codegain.com?subject=The Subject&bcc=vrrave[at]codegaim.com";
Process.Start(command);
}
这篇关于如何模拟"邮寄地址:"呼吁的WinForms按钮单击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文