Is there a way to make sure the SMTP email connection goes via midserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 01:39 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 05:21 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2024 07:51 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2024 09:35 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 06:36 AM - edited 04-01-2024 06:46 AM
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.
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