I want to send an email in script and configured in UCCX subsystem/email
-mail server=external SMTP server
-email address=email address belong to the external SMTP server
-UCCX email subsystem service started
-able to telnet the external SMTP server via tcp port 25 from UCCX box.
-when I configure external SMTP server which is able to telnet via tcp 25, the email script immediately end-up to "unsuccessful" - I don't have visibility the external SMTP server but able to telnet with tcp 25.
-when I configure wrong SMTP server (not existing SMTP server to test) which is not able to telnet via tcp 25, the email script wait couple seconds (looks re-trying and timeout) and end-up to "unsuccessful"
-the script works okay when I test in LAB system which the SMTP server part of intra network of UCCX box
The caveat is that installing third-party software on the CCX server is unsupported. This will also break when you upgrade to CCX 8.0 because it is a sealed GNU/Linux appliance.
This should work with your standard SMTP server. I would recommend following others' recommendations and perform a manual SMTP test through telnet to understand why this is being rejected by your existing mail server.