{"action":"closed","issue":{"url":"https://api.github.com/repos/acelaya/ZF2-AcMailer/issues/93","labels_url":"https://api.github.com/repos/acelaya/ZF2-AcMailer/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/acelaya/ZF2-AcMailer/issues/93/comments","events_url":"https://api.github.com/repos/acelaya/ZF2-AcMailer/issues/93/events","html_url":"https://github.com/acelaya/ZF2-AcMailer/issues/93","id":74187249,"number":93,"title":"Deleting attachement fails after email is sent","user":{"login":"tad3j","id":4150904,"avatar_url":"https://avatars.githubusercontent.com/u/4150904?v=3","gravatar_id":"","url":"https://api.github.com/users/tad3j","html_url":"https://github.com/tad3j","followers_url":"https://api.github.com/users/tad3j/followers","following_url":"https://api.github.com/users/tad3j/following{/other_user}","gists_url":"https://api.github.com/users/tad3j/gists{/gist_id}","starred_url":"https://api.github.com/users/tad3j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tad3j/subscriptions","organizations_url":"https://api.github.com/users/tad3j/orgs","repos_url":"https://api.github.com/users/tad3j/repos","events_url":"https://api.github.com/users/tad3j/events{/privacy}","received_events_url":"https://api.github.com/users/tad3j/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acelaya/ZF2-AcMailer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"acelaya","id":2719332,"avatar_url":"https://avatars.githubusercontent.com/u/2719332?v=3","gravatar_id":"","url":"https://api.github.com/users/acelaya","html_url":"https://github.com/acelaya","followers_url":"https://api.github.com/users/acelaya/followers","following_url":"https://api.github.com/users/acelaya/following{/other_user}","gists_url":"https://api.github.com/users/acelaya/gists{/gist_id}","starred_url":"https://api.github.com/users/acelaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acelaya/subscriptions","organizations_url":"https://api.github.com/users/acelaya/orgs","repos_url":"https://api.github.com/users/acelaya/repos","events_url":"https://api.github.com/users/acelaya/events{/privacy}","received_events_url":"https://api.github.com/users/acelaya/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-05-08T01:29:57Z","updated_at":"2015-05-23T23:38:42Z","closed_at":"2015-05-23T23:38:42Z","body":"When I send an email I want to delete the files if email was sent (->isValid()), but I'm getting a PHP Warning when trying to do so:\r\n\r\n    Warning:  unlink(./data/tmp/file.txt): Permission denied\r\n\r\nI get this exception in Windows so there shouldn't be any permissions problems; it looks like to me that this module locks the attachments.\r\n"}}