在visual basic .net应用程序中发送电子邮件 [英] e-mail in a visual basic .net application

查看:98
本文介绍了在visual basic .net应用程序中发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何直接从vb实现电子邮件

功能。净申请......

我是一名大学生,这个话题给我带来了灰色

头发!

解决方案

您好Sohail,您需要检查System.Web.Mail命名空间,在项目中向System.Web添加一个

refence,然后您可以发送电子邮件(只要

运行2000/2003 / XP并安装了IIS。)


-

HTH,

- Tom Spink,überGeek


请回复新闻组,

所以所有人都可以受益


System.Reflection Master"


====转换为2002 ====

删除内联声明

" Sohail Carim < SH *** @ webmail.co.za>在消息中写道

news:06 **************************** @ phx.gbl ... < blockquote class =post_quotes>有没有人知道如何直接从vb实现电子邮件功能。网络应用......
我是一名大学生,这个话题给我带来了灰色的头发!



*Sohail Carim" < SH *** @ webmail.co.za> scripsit:

有没有人知道如何直接从vb实现电子邮件功能。网络申请......
我是一名大学生,这个话题给我带来了灰色的头发!




< http:// msdn .microsoft.com / library / zh-cn / dnvssamp / html / vbcs_SendMail.asp>


-

Herfried K. Wagner

MVP·VB Classic,VB.NET

< http://www.mvps.org/dotnet>


Hi Tom ,

你正在运行2000/2003 / XP并安装了IIS。)




我不相信SMTP服务是绑在IIS上的吗?你可以根据我在XP Pro上搞乱的经验来安装

,或者两者兼而有之。


XP顺便提一下Sohail,虽然我确定它可以是

bodgestalled。


尼克。


-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \


does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!

解决方案

Hi Sohail, you need to check out the System.Web.Mail namespace, add a
refence to System.Web in your project, then you can send email (as long as
your running 2000/2003/XP and have IIS installed).

--
HTH,
-- Tom Spink, über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"Sohail Carim" <sh***@webmail.co.za> wrote in message
news:06****************************@phx.gbl...

does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!



* "Sohail Carim" <sh***@webmail.co.za> scripsit:

does anyone know how to go about implementin an e-mail
function directly from a vb . net application...
I am a university student and this topic is giving me grey
hair!



<http://msdn.microsoft.com/library/en-us/dnvssamp/html/vbcs_SendMail.asp>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>


Hi Tom,

your running 2000/2003/XP and have IIS installed).



I don''t believe the SMTP service is tied to IIS is it? You can install
either or both, from my little experience of messing about on XP Pro anyway.

XP Home doesn''t have it by the way Sohail, though I''m sure it can be
"bodgestalled".

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


这篇关于在visual basic .net应用程序中发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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