简体   繁体   English

未经身份验证在asp.net中发送电子邮件

[英]Email sending in asp.net without authentication

I want to send email in asp.net web application without authentication, that means without having to enter the password by the email sender just like in contact page of a normal website.我想在没有身份验证的asp.net Web应用程序中发送电子邮件,这意味着不必像在普通网站的联系页面中那样由电子邮件发件人输入密码。 Any help on this will be highly appreciated.对此的任何帮助将不胜感激。 Thanks in advance.提前致谢。

If your e-mail provider, like gmail, demands authentication, you cannot "send email without authentication".如果您的电子邮件提供商(如 gmail)要求进行身份验证,则您不能“​​未经身份验证就发送电子邮件”。

Each and every contact form you will find on the Internet for sure will do some backend stuff for sending emails, including authentication against the SMTP.您在 Internet 上找到的每个联系表肯定都会做一些后端工作来发送电子邮件,包括针对 SMTP 的身份验证。

Create an account for that purpose, and use those credentials.为此目的创建一个帐户,并使用这些凭据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM