Get email using PowerShell
问题 All I need is get email in PoSh script and see at its topic - with pop3 or imap, doesnt matter. I tried to find solution, but all I found is either 3rd party .net assebmlies, or MS Exchange direct work. Both are not appropriate. How to use SMTP and send email - its absolutely clear, but how to receive? Isn't there any standard assemblies similar to System.Net.Mail? 回答1: Here is a code I have been using on c#. I have Imported the dll to powershell and used it to retrieve different parts of a