Details
Details
- Sent mail with SES.
- Sent mail with "sendmail". I don't have sendmail actually configured to an upstream MTA so I'm not 100% sure this worked, but the sendmail binary didn't complain and almost all of the code is shared with SES, so I'm reasonably confident this actually works.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- mfa10
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 21557 Build 29379: Run Core Tests Build 29378: arc lint + arc unit
Event Timeline
Comment Actions
I definitely reviewed almost this exact same code, but I have completely lost it in the stack of email-related changes recently. If I recall, I complained about the unused variable, checking for truthiness instead of using strlen for all the fields that PHPMailer wants, and the base64 attachment encoding thing. The truthiness checks make sense now that all those properties are objects instead of bare strings.
externals/phpmailer/class.phpmailer-lite.php | ||
---|---|---|
98 | Still an unused variable. | |
src/applications/metamta/adapter/PhabricatorMailSendmailAdapter.php | ||
3 | Hooray! |
src/applications/metamta/adapter/PhabricatorMailSendmailAdapter.php | ||
---|---|---|
101–105 | Oh, and I believe this ("..does NOT support..") wasn't right, the way to do it is just a little tricky (->AltBody). Or maybe this was true when written, then we updated PHPMailerLite, then it became untrue? In either case, we build HTML + Text mail now. |