Is there a way to make sure the SMTP email connection goes via midserver

GeoThomas
Tera Contributor

Hi ,

 

I am trying to set up am SMTP email connection from my service now instance. I am able to connect to the SMTP server when I try from the midserver. But when using the service now instance and test connection , the  connection fails. Is there any way to make sure the instance is connecting to the SMTP server via midserver

8 REPLIES 8

-O-
Kilo Patron
Kilo Patron

No. The MID server does not have SMTP functionality. You could craft a solution where the e-mails are fetched from the instance and sent to some SMTP server in the intranet. But the question is why all that complication? What is it that you want to accomplish?

GeoThomas
Tera Contributor

My issue is that our SMTP server and midserver is in the organization network whereas service now instance is outside. The service now instance is not able to connect to our SMTP server and we cannot open firewall as well. That is is reason I am looking to connect via midserver

My issue is that our SMTP server and midserver is in the organization network.

So how is e-mail delivered to your organization from the outside/Internet?

Unless your organization is totally isolated from the outside world you must have a globally accessible SMTP server.

So what is the real reason why you want to connect to that specific SMTP server through the MID server?

GeoThomas
Tera Contributor

I am totally new to service now and I am not very sure on that. But whenever I try to do a test connection to the SMTP host and port from the midserver host, I can connect. But when I try from the service now instance, it does not.

 

GeoThomas_0-1711979035956.png

 

But when I try from mideserver instance:

PS C:\Users\<myUser>> Test-NetConnection -ComputerName smtpc.<mydomain>.com -Port 25


ComputerName : smtpc.<mydomain>.com
RemoteAddress : <remote ip>
RemotePort : 25
InterfaceAlias : Ethernet
SourceAddress : <my ip>
TcpTestSucceeded : True