Hello,
I assume that i configured smtp settings accuretly as my provider informs me. I try manually to send or receive mail and accomplished. But when i try to register a new account or send forgot password link it gives me following error. I've also tried to implement my own custom mail system with the same credentials and it was working.
"User not local; please try a different path. The server response was: This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail."
7 Answer(s)
-
0
Hi,
Was your successfull attempt from a local server which is in the same domain with smtp server ? Maybe you need to configure your smtp to send mails from non local Ip addresses. Or maybe you should allow ip address of azure server on your smtp server.
You can create a simple console app with your working code and run it on the azure server to see if it works there as well.
-
0
My successfull attempt was also on azure with my custom mailing system including same credentials. I configured it already as my provider suggested me to. I still get no clue.
-
0
Hi,
Have you solved your problem ? It might be related to azure security settings. Maybe you need to allow access of smpt ports on your azure server.
-
0
Problem still occurs! My hosting provider says it's about my code. I am able to send e-mail via my host with my custom credentials but abp. So im not able to provide forgot password feature to users. And also when registering i've set isEmailConfirmed to true in order to complete process succesfully.
-
0
Hi,
ABP's email sender is fairly simple. You can try to not use it and directly use SmtpClient class to send emails. If it works then it may be related to ABP's email settings. Can you try it?
-
0
I have tried every possible combination of abp's email settings. But it kept saying me that my request was unauthorized. Then i implemented my custom e-mail sender class and i could manage send mail but this time another error throwed up by abp side. (it may be related that my mail sender method was not async. ) So no clue to solve this annoying problem.
-
0
Hi,
What is the last error you are gettig ? Can you share that ?