# Notification has email recipients and is triggered, but sending emails failed. Sending the email to the following server failed : mustafa.local:587

**URL:** <https://community.graylog.org/t/notification-has-email-recipients-and-is-triggered-but-sending-emails-failed-sending-the-email-to-the-following-server-failed-mustafa-local-587/26788>\
**Category:** Graylog Central (peer support)\
**Tags:** alert\
**Created:** [December 6, 2022, 12:25pm UTC](https://community.graylog.org/t/notification-has-email-recipients-and-is-triggered-but-sending-emails-failed-sending-the-email-to-the-following-server-failed-mustafa-local-587/26788 "2022-12-06T12:25:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [December 7, 2022, 11:11pm UTC](https://community.graylog.org/t/notification-has-email-recipients-and-is-triggered-but-sending-emails-failed-sending-the-email-to-the-following-server-failed-mustafa-local-587/26788/3 "2022-12-07T23:11:32Z")

</div>

Sorry I missed the port number, You you trying to use Gmail ( 587)

Try to enable TLS encrypted connection, use your real gmail account in from, and the correct smtp server address:

```auto
transport_email_hostname = smtp.gmail.com
transport_email_use_tls = true
transport_email_from_email = your_real_gmail_account@gmail.com

```

This post may help if your wanting to use Gmail

> [@How to send email alerts using Gmail](https://community.graylog.org/t/how-to-send-email-alerts-using-gmail/4103):
>
> Sending email alerts Because I know it’s not obvious from the interface and the documentation is vague, I’m writing this tutorial to document the process for configuring the email settings for Graylog and for configuring alerts to be sent via email. I’m using CentOS7 as a base, so instructions will differ if you’re using the OVA or another distribution. Configuration is also for Gmail as that is our email provider, so adapt to your own service where necessary. Configure graylog server Firstly…

---

_[View the full topic](https://community.graylog.org/t/notification-has-email-recipients-and-is-triggered-but-sending-emails-failed-sending-the-email-to-the-following-server-failed-mustafa-local-587/26788)._
