Page MenuHomePhabricator

Set from name when $can_send_as_user is true
ClosedPublic

Authored by sophiebits on Apr 4 2014, 12:43 AM.
Tags
None
Referenced Files
F15462660: D8694.diff
Tue, Apr 1, 4:32 PM
F15421065: D8694.id.diff
Fri, Mar 21, 8:44 PM
F15418799: D8694.id20623.diff
Fri, Mar 21, 1:34 AM
F15416889: D8694.id20621.diff
Thu, Mar 20, 2:16 PM
F15413253: D8694.diff
Wed, Mar 19, 5:38 PM
F15387805: D8694.id20621.diff
Sat, Mar 15, 2:56 AM
F15337495: D8694.id20623.diff
Sun, Mar 9, 6:07 AM
Unknown Object (File)
Feb 25 2025, 4:37 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP133772d7eb1f: Set from name when $can_send_as_user is true
Test Plan

Crossed fingers.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sophiebits retitled this revision from to Set from name when $can_send_as_user is true.
sophiebits updated this object.
sophiebits edited the test plan for this revision. (Show Details)
sophiebits added a reviewer: epriestley.
This revision is now accepted and ready to land.Apr 4 2014, 12:44 AM
src/applications/metamta/storage/PhabricatorMetaMTAMail.php
365

Also I wonder if this clause should maybe be like if ($can_send_as_user && ($actor_email !== null)).

src/applications/metamta/storage/PhabricatorMetaMTAMail.php
365

Well, we have

$can_send_as_user = $actor_email &&
  PhabricatorEnv::getEnvConfig('metamta.can-send-as-user');

which I assumed was good enough.

365

Or did you mean just store the config option in that var?

epriestley updated this revision to Diff 20623.

Closed by commit rP133772d7eb1f (authored by @spicyj, committed by @epriestley).