{"id":5524,"date":"2022-02-06T21:54:55","date_gmt":"2022-02-06T21:54:55","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5524"},"modified":"2022-02-16T00:38:34","modified_gmt":"2022-02-16T00:38:34","slug":"asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed","title":{"rendered":"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed"},"content":{"rendered":"<p style=\"padding-left: 40px;\">System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)<\/p><p><strong>Need to change ASP to use TLS 1.2 as Microsoft of EOL TLS1.1 and rejecting emails occasionally to remind you of this!\u00a0<\/strong><\/p><p>Upgrading the .net Framework to 4.6 and over will fix this<\/p><p>This the web.config file for this :\u00a0\u00a0<\/p><p>&lt;system.web&gt;<br \/>&lt;compilation targetFramework=&#8221;4.6&#8243;\/&gt; &lt;!&#8211; Changed framework from Under 4.5 to 4.6 or 4.7 &#8211;&gt;<br \/>&lt;!&#8211;Added this httpRuntime &#8211;&gt;<br \/>&lt;httpRuntime targetFramework=&#8221;4.6&#8243; \/&gt;<br \/>&lt;\/system.web&gt;<\/p><p class=\"lang-cs s-code-block\"><code class=\"hljs language-csharp\"><\/code><\/p>","protected":false},"excerpt":{"rendered":"<p>System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3500,3713,598,3568,571,3714,3715,2350],"class_list":["post-5524","post","type-post","status-publish","format-standard","hentry","category-research","tag-1-1","tag-1-2","tag-asp","tag-net_io_connectionclosed","tag-office-365","tag-system-io-ioexception","tag-system-net-mail-smtpreplyreaderfactory","tag-tls"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-02-06T21:54:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-02-16T00:38:34+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#article\",\"name\":\"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com\",\"headline\":\"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2022-02-06T21:54:55+00:00\",\"dateModified\":\"2022-02-16T00:38:34+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage\"},\"articleSection\":\"Research, 1.1, 1.2, ASP, net_io_connectionclosed, Office 365, System.IO.IOException, System.Net.Mail.SmtpReplyReaderFactory, TLS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#listItem\",\"name\":\"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#listItem\",\"position\":3,\"name\":\"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed\",\"name\":\"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com\",\"description\":\"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2022-02-06T21:54:55+00:00\",\"dateModified\":\"2022-02-16T00:38:34+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com","description":"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft","canonical_url":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#article","name":"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com","headline":"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2022-02-06T21:54:55+00:00","dateModified":"2022-02-16T00:38:34+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage"},"articleSection":"Research, 1.1, 1.2, ASP, net_io_connectionclosed, Office 365, System.IO.IOException, System.Net.Mail.SmtpReplyReaderFactory, TLS"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#listItem","name":"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#listItem","position":3,"name":"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#webpage","url":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed","name":"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com","description":"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2022-02-06T21:54:55+00:00","dateModified":"2022-02-16T00:38:34+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com","og:description":"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft","og:url":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed","article:published_time":"2022-02-06T21:54:55+00:00","article:modified_time":"2022-02-16T00:38:34+00:00","twitter:card":"summary","twitter:title":"ASP.NET C# project to send e-mail via Office 365 starts firing net_io_connectionclosed | Welcome to Pariswells.com","twitter:description":"System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String&amp; response) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException&amp; exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)Need to change ASP to use TLS 1.2 as Microsoft"},"aioseo_meta_data":{"post_id":"5524","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-02-02 12:39:44","updated":"2022-09-16 00:08:13","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"ASP.NET C# project to send e-mail via Office 365  starts firing net_io_connectionclosed","link":"https:\/\/pariswells.com\/blog\/research\/asp-net-c-project-to-send-e-mail-via-office-365-starts-firing-net_io_connectionclosed"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5524"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5524\/revisions"}],"predecessor-version":[{"id":5566,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5524\/revisions\/5566"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}