is all day that I'm getting crazy....finally I found out that in a log there is an access denied 5.7.0.....
I've read that this happen when the IP which is used to send email is different than the FQDN IP. I have installed the system on AWS EC2 instance and I did all the checks that I was able to do.....
Can someone help me to find out what is going on?
thanks again
2020/03/25 17:19:13.567|654|0003|Excpt|MailKit.Security.AuthenticationException: 535: 5.7.0 Denied ---> MailKit.Net.Smtp.SmtpCommandException: 5.7.0 Denied
--- End of inner exception stack trace ---
at MailKit.Net.Smtp.SmtpClient.AuthenticateAsync(Encoding encoding, ICredentials credentials, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
at MailKit.MailService.Authenticate(Encoding encoding, String userName, String password, CancellationToken cancellationToken)
at TcxMail.MailTemplateSender.Send(XDocument template, Func`2 getParameter, String mailTo, IEnumerable`1 attachments, Func`2 needEncode)
at _3cxSystemService.EventNotifier.ErrorEventNotifier.SendPbxErrorCodeEmail(Int32 evtId, Int32 type, DateTime dt, String source, String message, String[] prms)
2020/03/25 17:19:14.645|654|0003|Excpt|MailKit.Security.AuthenticationException: 535: 5.7.0 Denied ---> MailKit.Net.Smtp.SmtpCommandException: 5.7.0 Denied
--- End of inner exception stack trace ---
at MailKit.Net.Smtp.SmtpClient.AuthenticateAsync(Encoding encoding, ICredentials credentials, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
at MailKit.MailService.Authenticate(Encoding encoding, String userName, String password, CancellationToken cancellationToken)
at TcxMail.MailTemplateSender.Send(XDocument template, Func`2 getParameter, String mailTo, IEnumerable`1 attachments, Func`2 needEncode)
at _3cxSystemService.EventNotifier.ErrorEventNotifier.SendPbxErrorCodeEmail(Int32 evtId, Int32 type, DateTime dt, String source, String message, String[] prms)
------------|Inf(00)| Date: 3/25/20 5:21:18 PM