Eric Austin

Results 4 comments of Eric Austin

Hi @MihaIvan, In your sample you need to change this: $Recipients = [MimeKit.InternetAddressList]::new To this: $Recipients = [MimeKit.InternetAddressList]::new() Regarding documentation - there isn't additional documentation beyond the example since that...

That error is a result of not running this statement at the beginning of the script: using module Send-MailKitMessage That brings the required packages like MimeKit into scope for the...

Hi @Gill-Bates and @o-o00o-o, Thanks for identitying this. @o-o00o-o I would agree, I think that will be the way to resolve. In fact in 3.2.0-preview1 where Windows PowerShell support is...

Try using "UseSecureConnectionIfAvailable" like this: Send-MailKitMessage **-UseSecureConnectionIfAvailable $false** -SMTPServer $SMTPServer -Port $Port -From $From -RecipientList $RecipientList -Subject $Subject -TextBody $TextBody;