terça-feira, 1 de setembro de 2020

Gmail account is not sending e-mails due to security issues

 "Mail error: The following From address failed: @gmail.com : MAIL not accepted from server,530,5.7.0 Authentication Required. Learn more at\r\n530 5.7.0 https:\/\/support.google.com\/mail\/?p=WantAuthError o7sm3762758qkd.64 - gsmtp\r\n

Even if you set the write credentials you still need to turn off the google's account security for some apps: 

using the link: https://myaccount.google.com/lesssecureapps

In this way you will be able to send e-mails using a google account.

less secure apps

sábado, 13 de junho de 2020

Failed to add a service. Service metadata may not be accessible

If you renamed your WCF service and are getting this error:

Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata



Please make sure you renamed the reference on the svc file as well. (I'm using vs 2019 and it didn't change it)