{"id":423,"date":"2026-11-20T07:56:34","date_gmt":"2026-11-20T07:56:34","guid":{"rendered":"https:\/\/veltrixhost.com\/blog\/?p=423"},"modified":"2026-11-20T07:56:36","modified_gmt":"2026-11-20T07:56:36","slug":"test-smtp-using-powershell","status":"publish","type":"post","link":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/","title":{"rendered":"How to Test SMTP From Windows Using PowerShell"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Learning <strong>how to test SMTP using PowerShell<\/strong> on Windows helps identify blocked ports, incorrect DNS records, and mail-server connection problems. Whether you run MailEnable, SmarterMail, or an application relay, start with connectivity checks before changing server settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Check Your Mail Server DNS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open PowerShell and confirm the hostname resolves:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Resolve-DnsName mail.example.com<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For incoming mail, check your domain&#8217;s MX records:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Resolve-DnsName example.com -Type MX<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the example names with your own. Incorrect DNS may direct clients to the wrong server or prevent recipients from finding your mail exchanger.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. How to Test SMTP Using PowerShell<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run these commands from the Windows VPS or client machine:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Test-NetConnection -ComputerName mail.example.com -Port 25<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Test-NetConnection -ComputerName mail.example.com -Port 587<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Test-NetConnection -ComputerName mail.example.com -Port 465<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each checks whether a TCP connection reaches the chosen host and port.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For direct outbound delivery, test Port 25 against a legitimate recipient MX, not only your own server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Understand the Test Results<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Result<\/th><th>What It Means<\/th><\/tr><tr><td><code>TcpTestSucceeded : True<\/code><\/td><td>TCP connection succeeded<\/td><\/tr><tr><td><code>TcpTestSucceeded : False<\/code><\/td><td>Connection failed or timed out<\/td><\/tr><tr><td>Hostname lookup error<\/td><td>DNS requires investigation<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A successful TCP test <strong>does not prove<\/strong> TLS negotiation, SMTP authentication, message acceptance, or inbox placement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft explains the output in its <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/nettcpip\/test-netconnection?view=windowsserver2025-ps\">Test-NetConnection documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Check Whether SMTP Is Listening<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On the mail server, inspect local listening ports:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Get-NetTCPConnection -State Listen -LocalPort 25<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If no listener appears, verify your mail software is running and configured for that port. Repeat for 587 or 465 only if those services are enabled.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A local listener does not necessarily mean outside clients can connect through Windows Firewall or provider networking.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Inspect an SMTP Greeting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To check whether Port 25 returns an SMTP banner, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$tcp = &#91;Net.Sockets.TcpClient]::new(\"mail.example.com\",25)\n$tcp.ReceiveTimeout = 5000\n$reader = &#91;IO.StreamReader]::new($tcp.GetStream())\n$reader.ReadLine()\n$tcp.Dispose()<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A normal SMTP service typically begins with a <code>220<\/code> greeting. This basic check does not authenticate or send a message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Troubleshoot Failed Connections<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check Windows Defender Firewall, the destination hostname, whether the SMTP service listens, and outbound provider restrictions. Remember:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Port 25:<\/strong> Usually server-to-server transfer.<\/li>\n\n\n\n<li><strong>Port 587:<\/strong> Authenticated submission, commonly with STARTTLS.<\/li>\n\n\n\n<li><strong>Port 465:<\/strong> Submission with implicit TLS.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">PowerShell&#8217;s old <code>Send-MailMessage<\/code> command is obsolete and should not be your production security test. Use a maintained SMTP client to verify encrypted login and test-message delivery.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Choosing a Windows SMTP VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/veltrixhost.com\/smtp-windows-mailing-vps.html\">VeltrixHost Windows SMTP VPS Hosting<\/a> lists Administrator\/RDP access, outbound Port 25, and PTR\/rDNS controls. Test connectivity from the actual VPS before configuring production mail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Recommendation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To <strong>test SMTP using PowerShell<\/strong>, verify DNS, check TCP ports, inspect the listener, and read the SMTP greeting. Then test TLS, authentication, and real delivery separately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Does <code>TcpTestSucceeded: True<\/code> mean email works?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. It confirms TCP connectivity, not successful SMTP delivery.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I test Port 25 without sending email?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. <code>Test-NetConnection<\/code> establishes a TCP connection without submitting a message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does Port 587 work when Port 25 fails?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your network may restrict Port 25 while allowing authenticated submission on 587.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to test SMTP from Windows using PowerShell. Check Ports 25, 465, and 587, diagnose connection failures, and troubleshoot Windows mail servers.<\/p>\n","protected":false},"author":1,"featured_media":424,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[498],"tags":[521,513,515,514,517,100,520,518,519,122],"class_list":["post-423","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smtp-windows-mailing-vps","tag-mail-server-connectivity","tag-port-25","tag-port-465","tag-port-587","tag-powershell-smtp-test","tag-smtp-server","tag-smtp-troubleshooting","tag-test-netconnection","tag-windows-server","tag-windows-smtp-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Test SMTP Using PowerShell: Windows Guide<\/title>\n<meta name=\"description\" content=\"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Test SMTP Using PowerShell: Windows Guide\" \/>\n<meta property=\"og:description\" content=\"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Offshore Hosting &amp; DMCA ignored\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-20T07:56:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-20T07:56:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"James Rady\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Rady\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/\"},\"author\":{\"name\":\"James Rady\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#\\\/schema\\\/person\\\/97e7c215435cadbc05b437f79803809d\"},\"headline\":\"How to Test SMTP From Windows Using PowerShell\",\"datePublished\":\"2026-11-20T07:56:34+00:00\",\"dateModified\":\"2026-11-20T07:56:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/\"},\"wordCount\":432,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp\",\"keywords\":[\"Mail Server Connectivity\",\"Port 25\",\"Port 465\",\"Port 587\",\"PowerShell SMTP Test\",\"SMTP Server\",\"SMTP Troubleshooting\",\"Test-NetConnection\",\"Windows Server\",\"Windows SMTP VPS\"],\"articleSection\":[\"SMTP Windows Mailing VPS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/\",\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/\",\"name\":\"Test SMTP Using PowerShell: Windows Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp\",\"datePublished\":\"2026-11-20T07:56:34+00:00\",\"dateModified\":\"2026-11-20T07:56:36+00:00\",\"description\":\"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp\",\"contentUrl\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp\",\"width\":1672,\"height\":941,\"caption\":\"How to Test SMTP From Windows Using PowerShell: Checking SMTP ports, connection status, and mail-server connectivity.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/test-smtp-using-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Test SMTP From Windows Using PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/\",\"name\":\"veltrixhost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#organization\",\"name\":\"veltrixhost\",\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/favicon.png\",\"contentUrl\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/favicon.png\",\"width\":64,\"height\":64,\"caption\":\"veltrixhost\"},\"image\":{\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/#\\\/schema\\\/person\\\/97e7c215435cadbc05b437f79803809d\",\"name\":\"James Rady\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g\",\"caption\":\"James Rady\"},\"sameAs\":[\"https:\\\/\\\/veltrixhost.com\\\/blog\"],\"url\":\"https:\\\/\\\/veltrixhost.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Test SMTP Using PowerShell: Windows Guide","description":"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Test SMTP Using PowerShell: Windows Guide","og_description":"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.","og_url":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/","og_site_name":"Offshore Hosting &amp; DMCA ignored","article_published_time":"2026-11-20T07:56:34+00:00","article_modified_time":"2026-11-20T07:56:36+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp","type":"image\/webp"}],"author":"James Rady","twitter_card":"summary_large_image","twitter_misc":{"Written by":"James Rady","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#article","isPartOf":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/"},"author":{"name":"James Rady","@id":"https:\/\/veltrixhost.com\/blog\/#\/schema\/person\/97e7c215435cadbc05b437f79803809d"},"headline":"How to Test SMTP From Windows Using PowerShell","datePublished":"2026-11-20T07:56:34+00:00","dateModified":"2026-11-20T07:56:36+00:00","mainEntityOfPage":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/"},"wordCount":432,"commentCount":0,"publisher":{"@id":"https:\/\/veltrixhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp","keywords":["Mail Server Connectivity","Port 25","Port 465","Port 587","PowerShell SMTP Test","SMTP Server","SMTP Troubleshooting","Test-NetConnection","Windows Server","Windows SMTP VPS"],"articleSection":["SMTP Windows Mailing VPS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/","url":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/","name":"Test SMTP Using PowerShell: Windows Guide","isPartOf":{"@id":"https:\/\/veltrixhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#primaryimage"},"image":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp","datePublished":"2026-11-20T07:56:34+00:00","dateModified":"2026-11-20T07:56:36+00:00","description":"Test SMTP using PowerShell on Windows. Check Ports 25, 465, and 587, troubleshoot connection errors, and verify mail server connectivity.","breadcrumb":{"@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#primaryimage","url":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp","contentUrl":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/11\/How-to-Test-SMTP-From-Windows-Using-PowerShell.webp","width":1672,"height":941,"caption":"How to Test SMTP From Windows Using PowerShell: Checking SMTP ports, connection status, and mail-server connectivity."},{"@type":"BreadcrumbList","@id":"https:\/\/veltrixhost.com\/blog\/test-smtp-using-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/veltrixhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Test SMTP From Windows Using PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/veltrixhost.com\/blog\/#website","url":"https:\/\/veltrixhost.com\/blog\/","name":"veltrixhost","description":"","publisher":{"@id":"https:\/\/veltrixhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/veltrixhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/veltrixhost.com\/blog\/#organization","name":"veltrixhost","url":"https:\/\/veltrixhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/veltrixhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/04\/favicon.png","contentUrl":"https:\/\/veltrixhost.com\/blog\/wp-content\/uploads\/2026\/04\/favicon.png","width":64,"height":64,"caption":"veltrixhost"},"image":{"@id":"https:\/\/veltrixhost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/veltrixhost.com\/blog\/#\/schema\/person\/97e7c215435cadbc05b437f79803809d","name":"James Rady","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f9f4e6102c1468305c0f8f0b9b33621332c2105ee4effebcdb73438ad7efa32?s=96&d=mm&r=g","caption":"James Rady"},"sameAs":["https:\/\/veltrixhost.com\/blog"],"url":"https:\/\/veltrixhost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":1,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/posts\/423\/revisions\/425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/media\/424"}],"wp:attachment":[{"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/veltrixhost.com\/blog\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}