{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/8252","labels_url":"https://api.github.com/repos/piwik/piwik/issues/8252/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/8252/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/8252/events","html_url":"https://github.com/piwik/piwik/issues/8252","id":92076755,"number":8252,"title":"There should be a possibility to set email name in email FROM field.","user":{"login":"sebastianpiskorski","id":12272711,"avatar_url":"https://avatars.githubusercontent.com/u/12272711?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianpiskorski","html_url":"https://github.com/sebastianpiskorski","followers_url":"https://api.github.com/users/sebastianpiskorski/followers","following_url":"https://api.github.com/users/sebastianpiskorski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianpiskorski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianpiskorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianpiskorski/subscriptions","organizations_url":"https://api.github.com/users/sebastianpiskorski/orgs","repos_url":"https://api.github.com/users/sebastianpiskorski/repos","events_url":"https://api.github.com/users/sebastianpiskorski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianpiskorski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-30T12:11:44Z","updated_at":"2015-07-02T09:12:30Z","closed_at":null,"body":"Current solution allows only to set email address, bout doesn't allow to set its name.\r\n\r\nhttps://github.com/piwik/piwik/blob/2.14.0-rc1/core/Mail.php#L43-L47\r\n\r\nThis should be more flexible, because changing a translation is not always possible."},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/117971788","html_url":"https://github.com/piwik/piwik/issues/8252#issuecomment-117971788","issue_url":"https://api.github.com/repos/piwik/piwik/issues/8252","id":117971788,"user":{"login":"sebastianpiskorski","id":12272711,"avatar_url":"https://avatars.githubusercontent.com/u/12272711?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianpiskorski","html_url":"https://github.com/sebastianpiskorski","followers_url":"https://api.github.com/users/sebastianpiskorski/followers","following_url":"https://api.github.com/users/sebastianpiskorski/following{/other_user}","gists_url":"https://api.github.com/users/sebastianpiskorski/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianpiskorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianpiskorski/subscriptions","organizations_url":"https://api.github.com/users/sebastianpiskorski/orgs","repos_url":"https://api.github.com/users/sebastianpiskorski/repos","events_url":"https://api.github.com/users/sebastianpiskorski/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianpiskorski/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T09:12:30Z","updated_at":"2015-07-02T09:12:30Z","body":"@tsteur Please correct me if I'm wrong. Piwik uses class `\\Piwik\\Mail` to send Mail. And this is the place, where the From and ReplyTo and others fields are set. Theoretically it is set in `\\Piwik\\Mail::setFrom()` but for real part of it happens in ``\\Piwik\\Mail::setDefaultFromPiwik()`. And email address can be changed from config, but email alias/name is taken from Translation. It might be good solution for single instance Piwik, but it is impossible to change it for multi instance Piwik, as every instance uses same translations. Also changing ReplyTo field happens somewhere above this class, and there is no global config to change it on the end.\r\n\r\nTo sum up, I think that there should be not mandatory global config, that allows to change final form of From and Reply to fields. At least some clients requests it."}}