主要是设置Gmail的SMTP地址,端口,SSL加密等参数,代码如下:
Visual C#中使用Gmail发送邮件private void button1_Click(object sender, EventArgs e)
        }

相关文章: