SMS and SMTP addresses with port numbers

anthony_radiant
Tera Contributor

Hi,

We have the following requirements:

1. Configure SMS notifications (without Notify)

The customer has their own SMS gateway available, but only on-premise. To get around this problem, we have successfully set up a VPN to reach the SMS gateway. However, the address for the SMS gateway has a port number, and this seems to be causing some parsing errors within the platform. The SMS server itself is not receiving any packages from ServiceNow, so it seems that ServiceNow is not even able to correctly establish a connection with the SMS server. It does not seem to be an issue with the VPN setup either, as both ServiceNow and the customer have verified during the VPN setup that the tunnel has been created correctly. Any solutions we can use to make this possible? Pics attached below:

SMS1.png

SMS2.png

2. Configure SMTP outbound email

We have a requirement that emails sent from ServiceNow should be sent through the customer's internal email as well. Again, their SMTP server is on-premise, so we have included it in our VPN setup. We then go to System Mailboxes -> Email Accounts, and set up the usual procedure. However, as the server has a port number, this seems to be causing issues as well. Any tips?

SMTP1.png

SMTP2.png

2 REPLIES 2

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

The port for email is on the form as well, it's default one set to 25. You don't need to use IP:PORT on server , just IP.


Thanks Sergiu, we can connect to the SMTP server now.



Any ideas on the SMS situation? From what I can see, the error message is that there are no recipients even though the recipient field has been populated with "<phone_number>@<SMS_server_address>". Does this mean that there is an issue with parsing the field? We have also checked the traffic logs on the SMS server and are not seeing any messages originating from the ServiceNow instance, so it sounds like ServiceNow is not actually attempting to send anything to the SMS server to begin with.