# Sending email authless

**URL:** <https://forum.gitea.com/t/sending-email-authless/5815>\
**Category:** Install/Maintain/Configure\
**Created:** [September 2, 2022, 7:34pm UTC](https://forum.gitea.com/t/sending-email-authless/5815 "2022-09-02T19:34:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alphard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/alphard/32/2032_2.png) [@alphard](https://forum.gitea.com/u/alphard)\
**Post date:** [September 2, 2022, 7:34pm UTC](https://forum.gitea.com/t/sending-email-authless/5815/1 "2022-09-02T19:34:31Z")

</div>

Is it possible to send email from Gitea using Exchange without auth? Docs didn’t help me with that.  
Gitea gives me this error:

> gomail: could not send email 1: Mail: 530 5.7.1 Client was not authenticated

---

<div class="post-metadata">

**Author:** ![bkraul](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/bkraul/32/4728_2.png) [@bkraul](https://forum.gitea.com/u/bkraul)\
**Post date:** [September 7, 2022, 12:14pm UTC](https://forum.gitea.com/t/sending-email-authless/5815/2 "2022-09-07T12:14:57Z")

</div>

If I understand this correctly this is not determined on the Gitea side but on the side of your Exchange server. We send authless email from our gitea instance to an accepting relay within our company. All it needs to know is that the IP we are relaying from is in the authorized list of relay IPs. No username or password required. The only thing you’d have to worry about is if you are using SMTPS with TLS, then you have to ensure the TLS connection is properly happening. We do ours with port 25 since it’s all internal and controlled by the allowed networks (IPs).
