Hi Support Team ABP!
ABP Framework version: v7.4.2
UI Type:Angular
Database System: MongoDB
Tiered (for MVC) or Auth Server Separated (for Angular): yes
Currently, I'm setting email information in Emailing screen of angular side, I saved successfully,
After that, I click to button Send test email
and in the next step I input sender email address, target email address, Subject and body
and in the next step click o send
I got error: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required.
Can you help me for this issue? and suggest solution for this problem. Thanks ABP Support Team!
5 Answer(s)
-
0
Hi, It seems a generic SMTP error. Did you check:
- https://stackoverflow.com/questions/20906077/gmail-error-the-smtp-server-requires-a-secure-connection-or-the-client-was-not
- https://stackoverflow.com/questions/18503333/the-smtp-server-requires-a-secure-connection-or-the-client-was-not-authenticated
You can also test your email sending at https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo
-
0
Hi gterdem! Thank you for support.
Curently, I'm still having this issue. Can you suggest for me another solution?
-
0
Hello, did you try the sample at https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo ? Were you able to send an email successfully?
-
0
Hi gterdem! The sample that you give me can work normally. However, I get the error when send working with email confirmation function
Let me explain about my feature: When a user register to our system, an email confirmation will be automatically sent to that user. However, when send email confirmation, I get this error.
I think that the email function of confirmation email is having some issues Please help me with this issue
-
0
Hello,
It seems to be related to (TLS) needs to be set to "Yes" in your SMTP settings. And you seem to enable the SSL already.
Is you SMTP server google? It may be related to
- Captcha
- 2FA
- Or different time-zone
as I've investigated from https://support.google.com/mail/thread/146949535?hl=en&msgid=147102610
I've limited knowledge on SMTP servers unfortunatelly. Can you check the items above to narrow down the diagnostics?