我是COnsole应用程序的新手.我从Google搜索到的几篇文章的帮助下创建了一个控制台应用程序,每篇文章说的是不同的方法. 我正在尝试创建一个可以发送电子邮件的新控制台应用程序. 任何人都可以通过链接开始向我提出建议.
Hi, I am new to the COnsole applications .I created a console application with the help of few articles i searched from google and each article says a different approach. I am trying to create a new console application that can send an e-mail. Could anyone please suggest me with links where to get started.
推荐答案您好, 您可以参考以下链接 谷歌搜索 [ ] Hi, you can Refer Following Links Googling[]
通过任何应用程序发送电子邮件都不难. 包括在您的课程中: sending email form any application is not hard. include in your class: using System.Net.Mail;
使用MailMessage 对象 [ ^ ]创建电子邮件并使用 SmtpClient 对象 [ ^ ]通过电子邮件发送. 此外,继续使用Google查找此 [ ^ ],并在页面. 祝您编码愉快!
use MailMessage object[^] to create the email and use SmtpClient object[^] to send via email. Furthermore keep using Google to find this[^] and use the example in the page. Have fun coding!
请点击链接,如果需要进一步的帮助,请告诉我 msdn.microsoft/en-us/library/t7980f5h(vs .71).aspx [ ^ ] http: //weblogs.asp/ashicmahtab/archive/2009/04/28/how-to-send-emails-from-net-example-uses-gmail-smtp.aspx [ ^ ] Please follow the link and let me know if you need further help msdn.microsoft/en-us/library/t7980f5h(vs.71).aspx[^] weblogs.asp/ashicmahtab/archive/2009/04/28/how-to-send-emails-from-net-example-uses-gmail-smtp.aspx[^]
更多推荐
在C#.Net中创建控制台应用程序
发布评论