{"issue":{"created_at":"2011-11-29T19:57:34Z","state":"open","updated_at":"2011-11-29T19:57:43Z","user":{"gravatar_id":"9994df352157ae1b778b792744bdbf05","id":1073273,"url":"https://api.github.com/users/aschempp","avatar_url":"https://secure.gravatar.com/avatar/9994df352157ae1b778b792744bdbf05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"aschempp"},"comments":9,"body":"I think it would be useful/make sense to automatically apply a String::decodeEntities on the plain text for emails.\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/2669.zip \"Download the attachments of this ticket\")\n\n--- _Originally created on November 9th, 2010, at 01:54pm (ID 2669)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2391597,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2669,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"title":"Apply String::decodeEntities() on email plain text","closed_at":null,"html_url":"https://github.com/contao/import/issues/2669","url":"https://api.github.com/repos/contao/import/issues/2669","milestone":{"created_at":"2011-11-29T15:29:59Z","state":"open","due_on":null,"closed_issues":8,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":37,"description":"Contao 2.11.0 (minor release)","title":"2.11.0","url":"https://api.github.com/repos/contao/import/milestones/37","open_issues":8}},"action":"created","comment":{"created_at":"2011-11-29T19:57:43Z","updated_at":"2011-11-29T19:57:43Z","user":{"gravatar_id":"9994df352157ae1b778b792744bdbf05","id":1073273,"url":"https://api.github.com/users/aschempp","avatar_url":"https://secure.gravatar.com/avatar/9994df352157ae1b778b792744bdbf05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"aschempp"},"body":"Ich glaube du verwechselst das.\n\n```\n$objEmail = new Email();\n$objEmail->text = $this->database_field;\n$objEmail->send('mail@example.com');\n```\n\nDas Datenbank-Feld speichert sich in der Datenbank automatisch mit encodierten Entities, wenn `decodeEntities=>true` nicht gesetzt wird. In HTML-Mails ist das gewünscht, in Text nicht. Natürlich kann die Umwandlung manuell gemacht werden, aber da encodierte Entities in Text-Mails NIE Sinn machen, können wir das auch gleich sicherstellen.\n\n--- _Originally created on May 25th, 2011, at 06:04pm_","id":2944868,"url":"https://api.github.com/repos/contao/import/issues/comments/2944868"}}