{"action":"opened","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/609","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/609/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/609/events","html_url":"https://github.com/jens-maus/yam/issues/609","id":148185622,"number":609,"title":"CC parser adds wrong address if given address is broken","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-13T21:17:15Z","updated_at":"2016-04-13T21:17:15Z","closed_at":null,"body":"**:bust_in_silhouette: Originally by _raziel_nosgoth@web.de_ on 2015-11-01 18:08:20 +0100**\n<hr>\n## Summary\n\nIf i write (by accident, of course ;-) ) a broken address into the CC field and open that eMail after trying to send (it's not being sent, of course) in YAM's editor with \"Edit\", YAM or the Editor's parser is changing the broken address to soemthing else by cutting a part off and adding something on it's own, which is wrong.\nIt's probably replacing the broken part from the 1st users eMail address or something like that.\n\n## Steps to reproduce\n\n 1. Click on New eMail\n 2. Use any eMail address in the TO field\n 3. Use i.e. \"A Stupid User <stupid@ stupid.net\" as CC address (mind the missing closing >!!!)\n(Also don't put the space in there, YAM's bug tracker will cut the address off, which is good :-) ) \n 4. Now try to send the mail...it will get caught by the server...it throws a 501 for me, but YAM will also put the eMail into OUTGOING\n 5. Mark and EDIT that eMail...the CC field is filled with \"A@ web.de\" for me...which is more than wrong :-)\nBut it shows that the parser is trying to fix the problem by taking the address from my address (i think) which happens to be @web.de.\n\n## Expected results\n\nNot really sure, maybe an error requester on sending that the format of the address is wrong or broken, just like it happens with when i miss the subject?\n\n## Actual results\n\nDescribed above, plus a shortly puzzled user who asks himself wtf is wrong again with the server ;-)\n\n## Regression\n\nNo idea, never happened before though, as long as i can remember\n\n## Notes\n\n1) It's interesting that if i write a valid address in the TO field it's still not being sent.\n2) If i doubleclick the broken eMail to simply show it, the broken address is still there (so i guess it's a problem in the Editor?)\n3) If i only use two words with a space, i.e. \"Stupid User\" the whole CC field will be erased when i open it in the Editor, three or more words and it will show up broken."}}