在C#.Net中创建控制台应用程序 [英] Create a Console Application in C#.Net

查看:73
本文介绍了在C#.Net中创建控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是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[]


通过任何.net应用程序发送电子邮件都不难.
包括在您的课程中:

sending email form any .net application is not hard.
include in your class:

using System.Net.Mail;


使用MailMessage 对象 [对象 [ [


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!


请点击链接,如果需要进一步的帮助,请告诉我

http://msdn.microsoft.com/en-us/library/t7980f5h(vs .71).aspx [ ^ ]

http: //weblogs.asp.net/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

http://msdn.microsoft.com/en-us/library/t7980f5h(vs.71).aspx[^]

http://weblogs.asp.net/ashicmahtab/archive/2009/04/28/how-to-send-emails-from-net-example-uses-gmail-smtp.aspx[^]


这篇关于在C#.Net中创建控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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