使用system.net.mail ib c#.net发送电子邮件 [英] Email sending using system.net.mail ib c#.net

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

问题描述

大家好,
我想从Windows应用程序发送电子邮件,我使用了system.net.mail,但出现操作超时"错误.请帮助我解决此问题,并且我也怀疑我们是否必须在系统上安装IIS,以便使用system.net.mail,因此请帮助我解决此问题.
谢谢..

Hi everybody,
I want to send email from my windows application and i used system.net.mail, but i got "operation is timeout" error.Please help me solve this, and also i have a doubt that we have to install IIS on the system for using system.net.mail, so please help me for solving this.
Thanking you..

推荐答案

似乎您的SMTP地址不正确,解决SMTP服务器时您的代码抛出了超时错误.
我认为您的本地系统中不需要IIS.
Seems that your SMTP address is not correcct, your code is throwing timeout error while resolving the SMTP server.

I don''t think that IIS is required in you local sytem.


K谢谢您的答复


在收件人的系统中显示时,我们可以将实际的地址从地址更改为我们的名字吗?

谢谢.
K thank u for your reply


Can we change the actual from address to our name while displaying in the recipient''s system.

Thanking you.


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

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