Sending Email to SpecifiedPickupDirectory with MailKit : <p>I was using SmtpClient till now with ASP.NET MVC 5. For testing email send functionality on local system, I was using <code>client.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory;</code></p>

<p>Now, I want to do the same things in ASP.NET Core which does not have SmtpClient class implemented till now. All search for this ended up on <a href="https://github.com/jstedfast/MailKit" rel="noreferrer">MailKit</a>. I have used their send mail code which is working fine with gmail.</p>

<p>I do not want to send testing emails each time and there may be a lot of scenarios in my project where I need to send email. How can I use the local email sending functionality with MailKit. Any links or little source code will help. Thanks</p>
