Guten Tag zusammen,
bei einem unserer Shops funktioniert der E-Mail Versand nicht, weder automatisch noch manuell. Die Einstellungen des Shops sind korrekt, die der E-Mail (Port, Zugangsdaten, SSL deaktiviert etc.) ebenso, was wir mit denselben Daten in einem anderen Shop getestet haben, wo der Versand funktioniere. Auch mehrere Versuche mit verschiedenen Adressen führten zum selben Ergebnis. Hier einmal die Fehlermeldung, die beim versuchten Versand generiert wird:
Smartstore.Net.Mail.MailException: The read operation failed, see inner exception.
---> System.IO.IOException: The read operation failed, see inner exception.
---> System.TimeoutException: Operation timed out after 5000 milliseconds
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at MailKit.Net.Smtp.SmtpStream.ReadAheadAsync(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadResponseAsync(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.SendCommandAsync(String command, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.AuthenticateAsync(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
at Smartstore.Net.Mail.MailKitSmtpClient.ConnectAsync()
--- End of inner exception stack trace ---
at Smartstore.Net.Mail.MailKitSmtpClient.ConnectAsync()
at Smartstore.Net.Mail.DefaultMailService.ConnectCore(IMailAccount account, Nullable`1 timeout, Boolean async)
at Smartstore.Core.Messaging.QueuedEmailService.SendMailsAsync(IEnumerable`1 queuedEmails, CancellationToken cancelToken)
at Smartstore.Core.Messaging.Tasks.QueuedMessagesSendTask.Run(TaskExecutionContext ctx, CancellationToken cancelToken)
at Smartstore.Scheduling.TaskExecutor.ExecuteAsync(TaskDescriptor task, HttpContext httpContext, IDictionary`2 taskParameters, Boolean throwOnError, CancellationToken cancelToken)