如何检查从ASP发送的电子邮件? [英] How to check emails sent from asp?

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

问题描述

大家好
我是使用asp.net编程的新手.我想在ASP中开发一个支持用户帐户的应用程序.因此,当新用户在我的网站上注册时,我想将其登录数据发送到他们的电子邮件地址.有人可以告诉我如何使用vb进行操作.
如果收到电子邮件,如何检查我的计算机?我是否需要设置Outlook来检查电子邮件?请告诉我如何配置Outlook来接收来自asp的此类电子邮件?
谢谢

Hi everyone
I am new at programming with asp.net. I want to develop an application in asp which supports user accounts. So when a new user registers with my site i want to send their login data to their email addresses. can someone please tell me how to do it using vb.
How to check on my computer if emails are getting recieved? Do i have to setup outlook to check emails? kindly tell me how to configure outlook to recieve such emails sent from asp?
Thanks

推荐答案

要检查是否收到电子邮件,您不需要为此专门设置/配置Outlook.

接收电子邮件与从代码或网站等发送的电子邮件无关.电子邮件通过交换服务器进行路由.
您可以将电子邮件发送到任何域...,例如:gmail,yahoo等.

因此,使用您的代码,将电子邮件发送给您的朋友或您自己(使用各种gmail,yahoo,hotmail ID),然后查看您是否收到了该电子邮件.

但是,要进行发送,您需要在应用程序中进行一些编码.
For checking if you recieved an email, you dont need to setup/configure Outlook just for it.

Recieving an email has nothing to do about if it was sent from a code or a website or so. Emails are routed through an exchange server.
You can send emails to any domain... for example: gmail, yahoo, etc.

So, use your code, send emails to your friends or to yourself (on various gmail, yahoo, hotmail ID''s) and see if you recieved the email or not.

For sending though, you need to some coding in your application.


好.但是,如果我的计算机没有互联网连接,而我只想在计算机上检查电子邮件怎么办?这意味着在开发应用程序时,我是否必须连接到互联网以检查电子邮件?
Ok. but what if i dont have internet connected with my computer and i just want to check email on my computer? This means while developing an application do i have to connect to internet to check emails?


这篇关于如何检查从ASP发送的电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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