Witam, serdecznie, problem dotyczy maili powitalnych, przy ustawieniu skrzynki na onet.pl:
smtp.poczta.onet.pl
465
nazwa@onet.pl
nazwa@onet.pl
hasło
maile wysyłają się bez problemu,
ale przy próbie ustawienia skrzynki nadawczej intertele.pl (którą ma wykupiony urząd i wypadałoby z niej skorzystać):
smtp.intertele.pl
465/587 (testowałem obie opcje)
nazwa@intertele.pl
nazwa (“nazwa@intertele.pl” też testowałem, widziałem na forum że czasem pomaga)
hasło
po każdej próbie usuwałem poda kuip-api aby nowy mail “zaskoczył”
maile nie chcą wychodzić, zawsze z tym samym błędem w podzie kuip-api, tak jakby aplikacja EZD RP źle ustawiała ssl/tls/starttls do połączenia z dostawcą maila albo na odwrót:
{“@t”:“2025-06-24T13:25:11.4969536Z”,“@mt”:“Blad podczas wysylania email: “,”@l”:“Error”,“@x”:“MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.\n\nThis usually means that the SSL certificate presented by the server is not trusted by the system for one or more of\nthe following reasons:\n\n1. The server is using a self-signed certificate which cannot be verified.\n2. The local system is missing a Root or Intermediate certificate needed to verify the server’s certificate.\n3. A Certificate Authority CRL server for one or more of the certificates in the chain is temporarily unavailable.\n4. The certificate presented by the server is expired or invalid.\n5. The set of SSL/TLS protocols supported by the client and server do not match.\n6. You are trying to connect to a port which does not support SSL/TLS.\n\nSee MailKit/FAQ.md at master · jstedfast/MailKit · GitHub for possible solutions.\n\n —> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.\n at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)\n at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte reAuthenticationData, CancellationToken cancellationToken)\n at MailKit.Net.Smtp.SmtpClient.SslHandshakeAsync(SslStream ssl, String host, CancellationToken cancellationToken)\n at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)\n — End of inner exception stack trace —\n at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)\n at KUIP.COMMON.Email.MailKitSmtpClient.ConnectAsync()\n at KUIP.COMMON.Email.EmailSender.Send(EmailMessage message)”,“@tr”:“ef9a26def6fc63428418688496445037”,“@sp”:“6b292e7e86c19109”,“SourceContext”:“EmailSender”,“ApplicationName”:“KUIP”,“UID”:“root”,“PID”:“system”,“RequestId”:“0HNDJ49NV5AR4:00000005”,“RequestPath”:“/utworz-uzytkownika”,“ConnectionId”:“0HNDJ49NV5AR4”,“MachineName”:“kuip-api-797d98995d-l74qw”,“ExceptionDetail”:{“HelpLink”:“MailKit/FAQ.md at master · jstedfast/MailKit · GitHub error occurred while attempting to establish an SSL or TLS connection.\n\nThis usually means that the SSL certificate presented by the server is not trusted by the system for one or more of\nthe following reasons:\n\n1. The server is using a self-signed certificate which cannot be verified.\n2. The local system is missing a Root or Intermediate certificate needed to verify the server’s certificate.\n3. A Certificate Authority CRL server for one or more of the certificates in the chain is temporarily unavailable.\n4. The certificate presented by the server is expired or invalid.\n5. The set of SSL/TLS protocols supported by the client and server do not match.\n6. You are trying to connect to a port which does not support SSL/TLS.\n\nSee MailKit/FAQ.md at master · jstedfast/MailKit · GitHub for possible solutions.\n”,“Source”:“MailKit”,“TargetSite”:“Void MoveNext()”,“InnerException”:{“Type”:“System.IO.IOException”,“HResult”:-2146232800,“Message”:“Received an unexpected EOF or 0 bytes from the transport stream.”,“Source”:“System.Net.Security”,“TargetSite”:“Void MoveNext()”},“ServerCertificate”:null,“RootCertificateAuthority”:null,“Type”:“MailKit.Security.SslHandshakeException”},“ConsoleLogger”:“true”,“IceHost”:“KUIP”,“InstanceName”:“strzyzow.eu”,“SeqLogger”:“true”}
ktoś ma jakiś pomysł?