Błąd podczas wysyłania e-mail link aktywacyjny

Witam
Podczas dodawania konta administratora jest problem wysyłaniem maila z linkiem do utworzenia hasła. Przerabiałem ustawienia z posta Konfiguracja skrzynki email ale też to nie działa

moje ustawienia:

host: powiat.koszalin.pl
port: 587
sendermail : adres email
sendermail : adres email
hasło : *******

sendermail testowane też z nazwą np. EZD RP nie działa

testowane konta: gmail, microsoft, kei (tam gdzie mamy konto wymagane są znaki specjalne w haśle i to samo w microsoft)

Czy ktoś znalazł rozwiązanie ? Wersja EZD RP 19.7.55 najnowsza dostępna.

Logi kup-api:

LoadServices services.kuip 496

Tue, Dec 10 2024 1:52:53 pm{“@t”:“2024-12-10T12:52:53.7428462Z”,“@mt”:“ICE STARTED. Total Start Time {TotalStartTime}ms”,“TotalStartTime”:39666,“LoadServicesservices.kuipStatistic”:496,“SETUPStatistic”:17,“INITStatistic”:2696,“REGISTERStatistic”:2300,“ServiceCollection.ConfigureContainerStatistic”:1467,“BeforeUpgradeStatistic”:1,“MIGRATIONStatistic”:4056,“ConfigureAspNetAppStatistic”:510,“CONFIGUREStatistic”:1303,“LoadServicesservicesStatistic”:500,“RUNASYNCStatistic”:590,“InitializeHostBuilderStatistic”:280,“InitializeWebHostBuilderStatistic”:2,“AfterUpgradeStatistic”:1,“InitializeServiceCollectionStatistic”:96,“STARTASYNCStatistic”:22690,“SourceContext”:“SystemStartupService”,“ConsoleLogger”:“true”,“IceHost”:“KUIP”,“InstanceName”:“powiat.koszalin.pl”,“SeqLogger”:“true”}

Tue, Dec 10 2024 1:53:14 pm{“@t”:“2024-12-10T12:53:14.3473558Z”,“@mt”:"Blad podczas wysylania email: “,”@l":“Error”,“@x”:“System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name does not resolve\n at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch)\n at System.Net.Dns.<>c.b__33_0(Object s, ValueStopwatch stopwatch)\n at System.Net.Dns.<>c__DisplayClass39_01.<RunAsync>b__0(Task <p0>, Object <p1>)\n at System.Threading.Tasks.ContinuationResultTaskFromTask1.InnerInvoke()\n at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)\n at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\n— End of stack trace from previous location —\n at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)\n— End of stack trace from previous location —\n at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, CancellationToken cancellationToken)\n at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, CancellationToken cancellationToken)\n at MailKit.MailService.ConnectNetworkAsync(String host, Int32 port, CancellationToken cancellationToken)\n at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)\n at KUIP.COMMON.Email.EmailSender.Send(EmailMessage message)”,“SourceContext”:“EmailSender”,“ApplicationName”:“KUIP”,“UID”:“”,“PID”:“”,“RequestId”:“0HN8P368B7DQ7:00000002”,“RequestPath”:“/anon/resetuj-haslo-mail/ernest.******@powiat.koszalin.pl/KUIP”

,“ConnectionId”:“0HN8P368B7DQ7”,“ExceptionDetail”:{“HResult”:5,“Message”:“Name does not resolve”,“Source”:“System.Net.NameResolution”,“TargetSite”:“System.Object GetHostEntryOrAddressesCore(System.String, Boolean, System.Net.Sockets.AddressFamily, Microsoft.Extensions.Internal.ValueStopwatch)”,“SocketErrorCode”:“HostNotFound”,“ErrorCode”:-131073,“NativeErrorCode”:-131073,“Type”:“System.Net.Internals.SocketExceptionFactory+ExtendedSocketException”},“ConsoleLogger”:“true”,“IceHost”:“KUIP”,“InstanceName”:“powiat.koszalin.pl”,“SeqLogger”:“true”}

w polu “Email sendername” daj adres mailowy a nie opis. Po update skasuj poda kuip-api - odbuduje się za chwilkę - powinno pomóc