Fetch
Fetch copied to clipboard
Insecure default connection flags
Can you explain why you do not per default validate the IMAP peer certificate in STARTTLS mode? To me this looks like a bad practice solution to TLS connection "errors" (as they are often found as "accepted answers" on stack overflow or similar.)
https://github.com/tedious/Fetch/blob/9a1b0eb87d343eb0c8c57acb33973c594b8aca8d/src/Fetch/Server.php#L134
(this is upstream for https://github.com/kartolo/direct_mail/issues/163)