# How to setup SMTP to send custom data alert from percona XtarDB Cluster?

**URL:** <https://forums.percona.com/t/how-to-setup-smtp-to-send-custom-data-alert-from-percona-xtardb-cluster/7954>\
**Category:** Percona XtraDB Cluster\
**Created:** [August 26, 2020, 12:42pm UTC](https://forums.percona.com/t/how-to-setup-smtp-to-send-custom-data-alert-from-percona-xtardb-cluster/7954 "2020-08-26T12:42:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lokesh123](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lokesh123/32/5519_2.png) [@lokesh123](https://forums.percona.com/u/lokesh123)\
**Post date:** [August 26, 2020, 12:42pm UTC](https://forums.percona.com/t/how-to-setup-smtp-to-send-custom-data-alert-from-percona-xtardb-cluster/7954/1 "2020-08-26T12:42:19Z")

</div>

I want to setup some custom alter from percona cluster which send alert daily&nbsp; basis from database itself like particular report.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [August 26, 2020, 1:18pm UTC](https://forums.percona.com/t/how-to-setup-smtp-to-send-custom-data-alert-from-percona-xtardb-cluster/7954/2 "2020-08-26T13:18:47Z")

</div>

MySQL does not support SMTP. You could write a MySQL plugin that handles this, or write a script/application which creates your report and emails it to you. This is easily done in PHP.

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [August 26, 2020, 1:46pm UTC](https://forums.percona.com/t/how-to-setup-smtp-to-send-custom-data-alert-from-percona-xtardb-cluster/7954/3 "2020-08-26T13:46:27Z")

</div>

Going to ask admins to move this to the proper forum.&nbsp; This is for Percona Monitoring and Management vs XtraDB so you’ll get more eyes on it in the right place.&nbsp; @“daniil.bazhenov”
