@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make it harder to misconfigure `phpmailer.smtp-protocol`

Summary: Until we implement an "enum" type for config, make this a bit harder to get wrong. A user entered "TLS", but the correct value is "tls". The documentation is consistent about this, but the behavior is sitll surprsing.

Test Plan: eyeballed it

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7778

+1
+1
src/applications/metamta/adapter/PhabricatorMailImplementationPHPMailerAdapter.php
··· 33 33 34 34 $protocol = PhabricatorEnv::getEnvConfig('phpmailer.smtp-protocol'); 35 35 if ($protocol) { 36 + $protocol = phutil_utf8_strtolower($protocol); 36 37 $this->mailer->SMTPSecure = $protocol; 37 38 } 38 39 } else if ($mailer == 'sendmail') {