# Can a watcher action send mail without authentication?

**URL:** <https://discuss.elastic.co/t/can-a-watcher-action-send-mail-without-authentication/122558>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [March 5, 2018, 3:45pm UTC](https://discuss.elastic.co/t/can-a-watcher-action-send-mail-without-authentication/122558 "2018-03-05T15:45:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 5, 2018, 3:45pm UTC](https://discuss.elastic.co/t/can-a-watcher-action-send-mail-without-authentication/122558/1 "2018-03-05T15:45:11Z")

</div>

The email action documentation talks about how to authenticate to gmail, outlook etc. I have sendmail bound to localhost on port 25. Can I configure an action that sends mail using that without authentication?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 5, 2018, 4:09pm UTC](https://discuss.elastic.co/t/can-a-watcher-action-send-mail-without-authentication/122558/2 "2018-03-05T16:09:45Z")

</div>

yes you can, just omit the username/password in the account configuration.

---

<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:** [April 2, 2018, 4:09pm UTC](https://discuss.elastic.co/t/can-a-watcher-action-send-mail-without-authentication/122558/3 "2018-04-02T16:09:57Z")

</div>

Closed on April 2, 2018, 4:09pm UTC

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