{"action":"opened","issue":{"url":"https://api.github.com/repos/drewm/mailchimp-api/issues/193","repository_url":"https://api.github.com/repos/drewm/mailchimp-api","labels_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/193/comments","events_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/193/events","html_url":"https://github.com/drewm/mailchimp-api/issues/193","id":232667266,"number":193,"title":"Invalid Email Address with +aliases","user":{"login":"robinwkurtz","id":4428953,"avatar_url":"https://avatars3.githubusercontent.com/u/4428953?v=3","gravatar_id":"","url":"https://api.github.com/users/robinwkurtz","html_url":"https://github.com/robinwkurtz","followers_url":"https://api.github.com/users/robinwkurtz/followers","following_url":"https://api.github.com/users/robinwkurtz/following{/other_user}","gists_url":"https://api.github.com/users/robinwkurtz/gists{/gist_id}","starred_url":"https://api.github.com/users/robinwkurtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinwkurtz/subscriptions","organizations_url":"https://api.github.com/users/robinwkurtz/orgs","repos_url":"https://api.github.com/users/robinwkurtz/repos","events_url":"https://api.github.com/users/robinwkurtz/events{/privacy}","received_events_url":"https://api.github.com/users/robinwkurtz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-31T19:16:09Z","updated_at":"2017-05-31T19:16:09Z","closed_at":null,"body":"Hello! Great wrapper, thanks for the share.\r\n\r\nI am running into an issue and I am not sure if it's on the Wrapper's end or Mailchimps. I am unable to add email addresses with aliases, i.e. robinwkurtz+test@gmail.com. The reason this is an issue, is for dev work, and testing out opt in paths without having to remove our emails each time.\r\n\r\nCode:\r\n```\r\n$this->load->library('MailChimp');\r\n$list_id = $this->config->item('Mailchimp_list_automation');\r\n\r\n\t\t$result = $this->mailchimp->post(\"lists/$list_id/members\", [\r\n\t\t\t\t\t\t'email_address' => $_GET['e'],\r\n\t\t\t\t\t\t'status'        => 'subscribed', // subscribed\r\n\t\t\t\t\t\t'source'\t\t=> 'Welcome Email - Optin',\r\n\t\t\t\t\t]);\r\n\t\t$data['result'] = $result;\r\n```\r\n\r\nResult:\r\n```\r\narray(5) { [\"type\"]=> string(77) \"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/\" [\"title\"]=> string(16) \"Invalid Resource\" [\"status\"]=> int(400) [\"detail\"]=> string(37) \"Please provide a valid email address.\" [\"instance\"]=> string(0) \"\" }\r\n```\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"robinwkurtz"}}