在VB.NET中发送电子邮件 [英] sending e-mail in VB.NET

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

问题描述

好的,我知道我必须使用System.Web.Mail.SmtpMail类,但我已经从
读取了
http://msdn.microsoft.com /library/de...lasstopic.asp:

要求

命名空间:System.Web.Mail


平台:Windows 2000,Windows XP Professional,Windows Server 2003家族


汇编:System.Web(在System.Web.dll中)

是不是意味着我的应用程序不会从Win98客户端发送电子邮件?

该类是否使用CDONTS?


是否可以通过以下方式发送电子邮件Win98(不使用套接字)?


感谢

ok, I know that I have to use the System.Web.Mail.SmtpMail class, but I''ve
read from
http://msdn.microsoft.com/library/de...lasstopic.asp:
Requirements
Namespace: System.Web.Mail

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)
does it mean that my app will not send e-mails from a Win98 client?
does that class use CDONTS?

is there a way to send e-mails from Win98 (without using socket)?

thanks

推荐答案

Hi Massimo,


这意味着在VB98,ME和XP家庭版上没有SMTP邮件服务器可以运行。


但是如果你还有其他地方的SMTP邮件服务器帽子可以通过你的
电脑到达,你可以使用它。


Cor
Hi Massimo,

It means that on VB98, ME and XP home edition no SMTP mail server can run.

But if you have somewhere else a SMTP mailserver that is reachable from your
computer, you can use that.

Cor


对不起Cor !不...要求仅说明XP Professional,2000和2003

,因为CDONTS扩展在98,ME,XP Home中不可用。你可以获得
获得98,ME和XP Home的SMTP服务器,但让他们不能使

SmtpMail课程工作。


-

HTH,

- Tom Spink,überGeek


请回复新闻组,

所以所有人都可以受益


" System.Reflection Master"


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

删除内联声明


Cor < no*@non.com>在消息中写道

news:OU ************** @ TK2MSFTNGP09.phx.gbl ...
Sorry Cor! No... The requirements state only XP Professional, 2000 and 2003
because the CDONTS extensions are not available in 98, ME, XP Home. You can
get SMTP servers for 98, ME and XP Home but having them won''t make the
SmtpMail class work.

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

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations

"Cor" <no*@non.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Hi Massimo,

这意味着在VB98,ME和XP家庭版上没有SMTP邮件服务器可以运行。

但是如果你还有其他地方可以从
到达的SMTP邮件服务器你的电脑,你可以用它。

Cor
Hi Massimo,

It means that on VB98, ME and XP home edition no SMTP mail server can run.

But if you have somewhere else a SMTP mailserver that is reachable from your computer, you can use that.

Cor



嗨汤姆,


你绝对确定吗?


因为这是关于SMTP类的说法。


邮件信息可以通过构建的SMTP邮件服务

到Microsoft Windows 2000或通过任意SMTP服务器传送


并且不仅在Microsoft文档中的一个位置。


Cor
Hi Tom,

Are you absolute sure of that?

Because this is what is said about the SMTP class.

The mail message can be delivered either through the SMTP mail service built
into Microsoft Windows 2000 or through an arbitrary SMTP server

And not only in one place in the Microsoft documentation.

Cor
抱歉Cor!否......要求仅说明XP Professional,2000和
2003,因为CDONTS扩展在98,ME,XP Home中不可用。您
可以获得98,ME和XP Home的SMTP服务器,但让他们不能使
SmtpMail类工作。
Sorry Cor! No... The requirements state only XP Professional, 2000 and 2003 because the CDONTS extensions are not available in 98, ME, XP Home. You can get SMTP servers for 98, ME and XP Home but having them won''t make the
SmtpMail class work.



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

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