# Logstash email output plugin throwing error

**URL:** <https://discuss.elastic.co/t/logstash-email-output-plugin-throwing-error/237018>\
**Category:** Logstash\
**Created:** [June 14, 2020, 10:09am UTC](https://discuss.elastic.co/t/logstash-email-output-plugin-throwing-error/237018 "2020-06-14T10:09:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahebub\_Sayyed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahebub_sayyed/32/68237_2.png) [@Mahebub\_Sayyed](https://discuss.elastic.co/u/Mahebub_Sayyed)\
**Post date:** [June 14, 2020, 10:09am UTC](https://discuss.elastic.co/t/logstash-email-output-plugin-throwing-error/237018/1 "2020-06-14T10:09:03Z")

</div>

Below is logstash config

```auto
 email {
      to => "to@email"
      from => "noreply@fromemail"
      subject => "Alert"
      body => '%{message}'
      port => 25
      debug => "true"
      address => "emailserverIP"
    }

```

```auto
telnet emailserverIP 25
Trying emailserverIP ...
Connected to emailserverIP .
Escape character is '^]'.

```

```auto
EHLO MyHostName
250-REXDB01.domain Hello [MyIP]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOWREQUEST

```

I am getting following error.  
[ERROR][logstash.outputs.email][email\_alert] Something happen while delivering an email {:exception=\>#\<EOFError: end of file reached\>}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 12, 2020, 10:09am UTC](https://discuss.elastic.co/t/logstash-email-output-plugin-throwing-error/237018/2 "2020-07-12T10:09:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
