Send-MailKitMessage icon indicating copy to clipboard operation
Send-MailKitMessage copied to clipboard

How to disable using SSL

Open Burnfaker opened this issue 10 months ago • 2 comments

Hey Dude,

i'm using this prog and it's fine. But i need an Option to disable to using SSL, because i'm under linux and use my own local postfix to deliver any mails intern/extern. I don't need SSL. I can't found any oparameters to disable SSL

Send-MailKitMessage -SMTPServer $SMTPServer -Port $Port -From $From -RecipientList $RecipientList -Subject $Subject -TextBody $TextBody;

Can you help me please?

Burnfaker avatar Feb 17 '25 10:02 Burnfaker

I think, this project is dead

Burnfaker avatar Feb 18 '25 14:02 Burnfaker

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

austineric avatar Feb 18 '25 22:02 austineric