View on GitHub

examples

Email testing and SMS verification examples using MailSlurp and a wide range of frameworks.

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