title: Simple way to create a email sending service after microsoft disables older smtp connection method
body: <p>I have a Windows Service which currently sends emails of office 365 users using their email and password via the older smtp method.</p>
  <p>Microsoft is turning this ability off very soon.</p>
  <p>Currently I use mailkit and c# within a windows service</p>
  <p>The only details I have are the  users smtp username and password</p>
  <p>My app has no user interaction ability as it runs on another box</p>
  <p>I have read many ways about how to send email with oauth2 and ms and it seems a lot of people do it differently, and their is no clear path. I have seen such as using ms azure registered applications and different azure library's.</p>
  <p>So my question is, what is the easiest route to take regarding a new non user inactive service being able to still send email on behalf of a user.</p>
  <p>Most of the users I deal with are not able to setup up azure and it's products as their are small companies with limited it support.</p>
  <p>I feel like I have perhaps gone down the wrong path of trying to use azure graph</p>
  <p>So what is the correct, most similar to smtp and simple route to recreate a simple email sending windows service using c#</p>
  <p>Thank you for your time in reading this</p>