经典活动服务器页面不需要SMTP服务器发送电子邮件? [英] Classic Active Server Page don't need SMTP server to send email?

查看:434
本文介绍了经典活动服务器页面不需要SMTP服务器发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次处理传统的ASP,我有与协作数据对象发送电子邮件的一些问题。

This is my first time dealing with Classic ASP, and I have some questions on sending email with Collaboration Data Objects.

在.NET中,当我们需要发送电子邮件,我们需要包含在电子邮件对象SMTP服务器。但是,在传统的ASP,我发现它不需要一个SMTP服务器发送电子邮件。结果
(我的参考: http://www.w3schools.com/asp/asp_send_email.asp

In .NET, when we need to send email, we need to include the SMTP server in the email object. But in classic ASP, I found out that it doesn't require a SMTP server to send email.
(my reference : http://www.w3schools.com/asp/asp_send_email.asp)

我的问题是:结果
1.为什么以及如何用电子邮件发送CDO不需要SMTP服务器?结果
2.如果不需要SMTP服务器,电子邮件是如何送出?

My questions are:
1. Why and how the email sending with CDO doesn't need SMTP server?
2. If it doesn't need SMTP server, how the email is sent out?

在先进的感谢。

推荐答案

当然它需要一个SMTP服务器。它只是假设,除非您指定W3Schools的网页上的远程一个作为每个底部的例子有本地一家present,默认它

Of course it needs an SMTP server. It just assumes there's a local one present and defaults to it unless you specify a remote one as per the bottom example on your W3Schools page

这篇关于经典活动服务器页面不需要SMTP服务器发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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