Is it possible to send mail with SSL from Powershell by default? meaning without declaring "UseSsl"
There are this PS scripts that send mail notifications (currently plain text) and would like to find the way to send them encrypted without modifying the scripts.
Is it even possible? I've been reading similar questions and searching around with no luck
I ended up doing a double relay in the same server with a second SMTP server. So the original one (.local domain) gets the mails as always and sends back to itself to the TLS SMTP server, and from there to 365. In case it helps anyone else.