tedious / Fetch

An IMAP library for PHP

Home Page:http://www.tedivm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insecure default connection flags

ccpp opened this issue · comments

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.)

$this->setFlag('novalidate-cert');

(this is upstream for kartolo/direct_mail#163)