{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1166","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1166/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1166/events","html_url":"https://github.com/MailCore/mailcore2/issues/1166","id":93519168,"number":1166,"title":"Language ","user":{"login":"aallard","id":8251857,"avatar_url":"https://avatars.githubusercontent.com/u/8251857?v=3","gravatar_id":"","url":"https://api.github.com/users/aallard","html_url":"https://github.com/aallard","followers_url":"https://api.github.com/users/aallard/followers","following_url":"https://api.github.com/users/aallard/following{/other_user}","gists_url":"https://api.github.com/users/aallard/gists{/gist_id}","starred_url":"https://api.github.com/users/aallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aallard/subscriptions","organizations_url":"https://api.github.com/users/aallard/orgs","repos_url":"https://api.github.com/users/aallard/repos","events_url":"https://api.github.com/users/aallard/events{/privacy}","received_events_url":"https://api.github.com/users/aallard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T12:26:34Z","updated_at":"2015-07-08T04:43:25Z","closed_at":null,"body":"When receiving an email, is there a way in MailCore to retrieve a language ID value from the email header information?  I've been reading through RFCs (such as 3282) that define things such as a \"Content-language\" header attribute.   This led to a couple of questions:\r\n\r\n1. Based on your experience, do you have any idea how common the \"Content-language\" attributes are set in email message headers?\r\n\r\n2. I'm assuming I would use the \"extraHeaderValueForName\" method in the MCOMessageHeader class to retrieve these if they exist."},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/119429506","html_url":"https://github.com/MailCore/mailcore2/issues/1166#issuecomment-119429506","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1166","id":119429506,"user":{"login":"dinhviethoa","id":332168,"avatar_url":"https://avatars.githubusercontent.com/u/332168?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhviethoa","html_url":"https://github.com/dinhviethoa","followers_url":"https://api.github.com/users/dinhviethoa/followers","following_url":"https://api.github.com/users/dinhviethoa/following{/other_user}","gists_url":"https://api.github.com/users/dinhviethoa/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhviethoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhviethoa/subscriptions","organizations_url":"https://api.github.com/users/dinhviethoa/orgs","repos_url":"https://api.github.com/users/dinhviethoa/repos","events_url":"https://api.github.com/users/dinhviethoa/events{/privacy}","received_events_url":"https://api.github.com/users/dinhviethoa/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T04:43:25Z","updated_at":"2015-07-08T04:43:25Z","body":"1. This header is generally NEVER set.\r\n2. Yep. That said, on IMAP, you have to do some extra work to fetch this header."}}