Hi @spinscale
As per your suggestion i tried to use telnet to send an email using terminal within elasticsearch machine. I was able to succesfuly send it using below commands:
telnet exchange.company.com 25
Trying 10.10.10.10...
Connected to exchange.company.com.
Escape character is '^]'.
220 exchange.company.com Microsoft ESMTP MAIL Service ready at Thu, 9 May 2019 05:27:38 -0700
ehlo exchange.company.com
250-exchange.company.com Hello [10.10.10.180]
250-SIZE 36700160
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING
mail from: elastic@company.com
250 2.1.0 Sender OK
rcpt to: me@company.com
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
Subjects: Hello
asd
.
250 2.6.0 <400a034f-b1c9-4f2a-ad7f-b3473f273bf0@company.com> [InternalId=123] Queued mail for delivery
quit
Few seconds later i got an email.