是否可以在不使用用户名和密码的情况下发送电子邮件 [英] Is it possible to send emails without using username and password

查看:114
本文介绍了是否可以在不使用用户名和密码的情况下发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


是否可以使用c#语言发送电子邮件而不使用用户名和密码(用户凭据)

如果可能请来电话给我..



谢谢

问候

Pradeep

Hi Is it possible to send emails without using username and password(user credentials) using c# language
if Possible pls tel me..

Thanks
Regards
Pradeep

推荐答案

只有你发现非常罕见SMTP服务器不需要您登录发送电子邮件。
Only if you find the VERY rare SMTP server than doesn't need you to login to send email.


在配置文件中存储用户名和密码是一个选项。参见..

http://stackoverflow.com/questions/7270318/sending-email-没有硬编码用户名和密码 [ ^ ]

http://www.dotnetspider.com/forum /257442-Without-credentials-how-send-mail-using-asp.net-with-c.aspx [ ^ ]
Storing the username and password in a configuration file would be an option.See..
http://stackoverflow.com/questions/7270318/sending-email-without-hard-coding-username-and-password[^]
http://www.dotnetspider.com/forum/257442-Without-credentials-how-send-mail-using-asp.net-with-c.aspx[^]


这篇关于是否可以在不使用用户名和密码的情况下发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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