使用asp.net发送电子邮件 [英] To send Email using asp.net

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

问题描述


我想使用asp.net发送邮件,当我使用带有g邮件用户凭据的主机作为smtp.gmail.com时,它可以正常工作,但我尝试使用主机作为smtp.bizmail.yahoo.com,端口为465我收到错误的错误提示邮件
因为它是安全的,所以我应该在IIS上进行任何注册表注册,并请帮助我进行相同的操作

Hi
I want to send mail using asp.net and when i use the host as smtp.gmail.com with the g mail user credentials it works fine but whrn i try to use the host as smtp.bizmail.yahoo.com with port as 465 i am getting the error Failed snding mail
since it is secured should i make any registry with the IIS and pl help me about the same

推荐答案

使用端口25 or 587
参考: Google [ ^ ]
Use port 25 or 587
Ref: Google[^]


尝试使用端口-587.
我没有帐户,所以无法测试.
让我知道它是否有效.
Try using port - 587.
I dont have an account, so I can not test.
Let me know whether it works or not.


您要使用SMPT服务器吗? Gmail或任何给定要求
Do you want use SMPT server ?? Gmail or any give requirement


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

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