# Problem in sending email via smtp or smtps

**URL:** <https://forums.rocket.chat/t/problem-in-sending-email-via-smtp-or-smtps/19393>\
**Category:** Community Support\
**Created:** [February 4, 2024, 11:38am UTC](https://forums.rocket.chat/t/problem-in-sending-email-via-smtp-or-smtps/19393 "2024-02-04T11:38:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehsan.zm](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@ehsan.zm](https://forums.rocket.chat/u/ehsan.zm)\
**Post date:** [February 4, 2024, 11:38am UTC](https://forums.rocket.chat/t/problem-in-sending-email-via-smtp-or-smtps/19393/1 "2024-02-04T11:38:04Z")

</div>

Hello,  
Really I’m confused about why rocket chat (community version) cannot send any email to users. All users have verified email addresses. my Email Server is Exchange server 2019. ports 25,587, 443 and 465 are open from rocket chat server (Ubuntu OS.) to Mail Server (telnets are ok). Through Wireshark I can trace interactions between RocketChat Server and Mail Server:

 ![S_wireshark](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/6/6399de71ce08b2580a8162084874c6f978c9cde9.jpeg)  
email server :172.20.103.9  
rocketchat server : 172.30.100.57

also, there is no error log in RockChat reports.

I have tested all of these combinations in Email\>SMTP setting:  
SMTP , port:587 ,igonretls  
SMTP , port:587  
SMTP , port:25 , ignoretls  
SMTPS , port:465  
SMTPS , port:465 , ignoretls

unfortunately, none of above settings doesn’t come true to send email.  
please help me to enable mail notification.

**Server Setup Information:**

- Version of Rocket.Chat Server (community edition): 6.5.3
- Operating System: Ubuntu 22.04 LTS
- Deployment Method: tar
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.21.3
- MongoDB Version: 7.0.5 / wiredTiger (oplog Enabled)
- Proxy: nginx
- Firewalls involved: none

---

<div class="post-metadata">

**Author:** ![ehsan.zm](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@ehsan.zm](https://forums.rocket.chat/u/ehsan.zm)\
**Post date:** [February 6, 2024, 5:21am UTC](https://forums.rocket.chat/t/problem-in-sending-email-via-smtp-or-smtps/19393/2 "2024-02-06T05:21:54Z")

</div>

I found the solution. I created a new receive connector in Exchange server with no TLS Authentication for anonymous users. For security concerns, I assigned this receive connector to my RocketChat server IP (in the remote network setting of receive connector wizard).
