# Logstash email output using linux sendmail

**URL:** <https://discuss.elastic.co/t/logstash-email-output-using-linux-sendmail/269295>\
**Category:** Logstash\
**Created:** [April 6, 2021, 7:53am UTC](https://discuss.elastic.co/t/logstash-email-output-using-linux-sendmail/269295 "2021-04-06T07:53:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazy\_coder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/crazy_coder/32/81235_2.png) [@crazy\_coder](https://discuss.elastic.co/u/crazy_coder)\
**Post date:** [April 6, 2021, 7:53am UTC](https://discuss.elastic.co/t/logstash-email-output-using-linux-sendmail/269295/1 "2021-04-06T07:53:02Z")

</div>

Hi i want to use Linux sendmail service to send email using Logstash email output plugin.  
how can i do it.  
email {  
to =\> "[crazy@noreply.com](mailto:crazy@noreply.com)"  
codec =\> "plain"  
body =\> "hi how are you"  
via =\> "sendmail"  
}  
Is these are the only information i want but it does not send the email  
This is urgent.

Thanks for help.

---

<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:** [May 4, 2021, 7:53am UTC](https://discuss.elastic.co/t/logstash-email-output-using-linux-sendmail/269295/2 "2021-05-04T07:53:28Z")

</div>

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