Skip to content

Latest commit

 

History

History

powershell-imap-smtp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Powershell IMAP and SMTP examples using MailKit/MimeKit

Ensure you have the MailKit and MimeKit libraries installed. You can install them using the NuGet package manager.

Then ensure you have a MailSlurp API_KEY variable set. You can get one from the MailSlurp dashboard.

$env:API_KEY = "your-api-key"

Then run the examples:

./imap-mailkit.ps1
./smtp-mailkit.ps1