# I can't configure a connector to send mail with alert

**URL:** <https://discuss.elastic.co/t/i-cant-configure-a-connector-to-send-mail-with-alert/378373>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 21, 2025, 7:57am UTC](https://discuss.elastic.co/t/i-cant-configure-a-connector-to-send-mail-with-alert/378373 "2025-05-21T07:57:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elastic\_interogation](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@elastic\_interogation](https://discuss.elastic.co/u/elastic_interogation)\
**Post date:** [May 21, 2025, 7:57am UTC](https://discuss.elastic.co/t/i-cant-configure-a-connector-to-send-mail-with-alert/378373/1 "2025-05-21T07:57:29Z")

</div>

Hi,

I am trying to configure a connector to automatically send emails when an alert is triggered.

For that, I went to the connector section and created my first connector. I configured the connector name, and in the sender field, I chose my email account. Do I need to authorize it to be a sender somewhere? If yes, do I need admin privileges?

I selected Outlook as the service, and it required authentication. What username and password should I use? The documentation is not clear on this matter (so I have tried various options without success).

Then, I tested my connector by choosing myself as the recipient of the email. When I run the test, it says: "An unexpected error occurred" (with no additional details).

Do you have any idea what I might be doing wrong? How could I make this work?

Thank you very much!
