# Logstash error while using email plugin

**URL:** <https://discuss.elastic.co/t/logstash-error-while-using-email-plugin/142840>\
**Category:** Logstash\
**Created:** [August 3, 2018, 3:54am UTC](https://discuss.elastic.co/t/logstash-error-while-using-email-plugin/142840 "2018-08-03T03:54:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 3, 2018, 5:47am UTC](https://discuss.elastic.co/t/logstash-error-while-using-email-plugin/142840/2 "2018-08-03T05:47:26Z")

</div>

How are you planning to send the email? Do you SMTP access or will it be a mailbox?

You might need to specify the address or domain and the auth setting if needed to send the email.

> **[Email output plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-email.html)**

Here is another config that you could look at:

> [@Using logstash-output-email plugin](https://discuss.elastic.co/t/using-logstash-output-email-plugin/75074):
>
> Hi everyone, Before all, sorry for my English, it's not my native language. I try to configure Logstash for sending mail when some specific events coming with the logstash-output-email plugin. I'm using SMTPS mail server on port 465 ( the same as me, which is working for my user. ) my configuration file look like to that : filter { grok { match =\> { "severity" =\> "warning" } add\_tag =\> ["warning"] } } output { if "warning" in [tags…

---

_[View the full topic](https://discuss.elastic.co/t/logstash-error-while-using-email-plugin/142840)._
