是否可以在不使用用户名和密码的情况下发送电子邮件
问题描述:
嗨
是否可以使用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://*.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://*.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[^]