> For the complete documentation index, see [llms.txt](https://docs.meta-inf.hu/email-this-issue/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meta-inf.hu/email-this-issue/faq/outgoing-mail-not-sent-read-timeout-error.md).

# Outgoing mail not sent - Read timeout error

If you're experiencing that some of your emails have not been sent and you see the following error in the **Outgoing mail queue** - **Error queue**, check our solution below:

> java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.metainf.connect.jira.jeti.service.outgoing.OutgoingMailQueue$MailQueueExecutor.afterExecute(OutgoingMailQueue.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutExceptio&#x6E;**: Read timed out**

### Explanation of the error

This type of error is present when we're trying to connect to an incoming or -in this case- outgoing mail server but **the server is taking longer than the timeout value to respond and send information**. This could be due to a slow internet connection, for example, or if he host is offline.

We attempt to connect to the server for a given period (10000 msec by default) after which we disconnect (timeout) if the attempt is unsuccessful. This results in the **Read timed out** error quoted above.

### Solution for the problem

A read timeout error can always be solved by simply increasing the timeout value configured for the corresponding mail connection.&#x20;

Navigate to Email This Issue **Administration - Outgoing Mail Connections** and change the **Timeout** value to the maximum 60000 ms:

![Outgoing Mail Connection Timeout setting](/files/3RRpcajz3jMETQtuipF0)

After this change, monitor your outgoing mails and reach out to your system administrator for help if this change in your settings does not help.

Should you need further help, feel free to open a support request with us.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.meta-inf.hu/email-this-issue/faq/outgoing-mail-not-sent-read-timeout-error.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
