{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/197","repository_url":"https://api.github.com/repos/aws/aws-sdk-cpp","labels_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/197/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/197/events","html_url":"https://github.com/aws/aws-sdk-cpp/issues/197","id":157740450,"number":197,"title":"SendEmailRequest results in malformed post body","user":{"login":"jmccl","id":5283750,"avatar_url":"https://avatars.githubusercontent.com/u/5283750?v=3","gravatar_id":"","url":"https://api.github.com/users/jmccl","html_url":"https://github.com/jmccl","followers_url":"https://api.github.com/users/jmccl/followers","following_url":"https://api.github.com/users/jmccl/following{/other_user}","gists_url":"https://api.github.com/users/jmccl/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccl/subscriptions","organizations_url":"https://api.github.com/users/jmccl/orgs","repos_url":"https://api.github.com/users/jmccl/repos","events_url":"https://api.github.com/users/jmccl/events{/privacy}","received_events_url":"https://api.github.com/users/jmccl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-31T18:37:03Z","updated_at":"2016-05-31T21:26:28Z","closed_at":null,"body":"This is related to a question I asked on the forums.\r\n\r\nhttps://forums.aws.amazon.com/thread.jspa?threadID=232576&tstart=0\r\n\r\nThe problem seems to be that extra periods are being inserted into the post body. So pre-patch the post body looks something like this. Note the '..' in the keys.\r\n\r\n> Action=SendEmail&Source=foo%40foo.com&Destination..ToAddresses.member.1=success%40simulator.amazonses.com&Message..Subject.Data=fooMessage..Body.Text.Data=foo\r\n\r\nThis patch 'fixes' that and allows mail to be sent.\r\n\r\n```\r\n--- a/aws-cpp-sdk-email/source/model/SendEmailRequest.cpp\r\n+++ b/aws-cpp-sdk-email/source/model/SendEmailRequest.cpp\r\n@@ -40,11 +40,11 @@ Aws::String SendEmailRequest::SerializePayload() const\r\n   }\r\n   if(m_destinationHasBeenSet)\r\n   {\r\n-    m_destination.OutputToStream(ss, \"Destination.\");\r\n+    m_destination.OutputToStream(ss, \"Destination\");\r\n   }\r\n   if(m_messageHasBeenSet)\r\n   {\r\n-    m_message.OutputToStream(ss, \"Message.\");\r\n+    m_message.OutputToStream(ss, \"Message\");\r\n   }\r\n   if(m_replyToAddressesHasBeenSet)\r\n   {\r\n```\r\nI'm not sure if this is the right way to fix this or whether the other period somewhere in the code should be removed."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/comments/222826166","html_url":"https://github.com/aws/aws-sdk-cpp/issues/197#issuecomment-222826166","issue_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/197","id":222826166,"user":{"login":"jmccl","id":5283750,"avatar_url":"https://avatars.githubusercontent.com/u/5283750?v=3","gravatar_id":"","url":"https://api.github.com/users/jmccl","html_url":"https://github.com/jmccl","followers_url":"https://api.github.com/users/jmccl/followers","following_url":"https://api.github.com/users/jmccl/following{/other_user}","gists_url":"https://api.github.com/users/jmccl/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccl/subscriptions","organizations_url":"https://api.github.com/users/jmccl/orgs","repos_url":"https://api.github.com/users/jmccl/repos","events_url":"https://api.github.com/users/jmccl/events{/privacy}","received_events_url":"https://api.github.com/users/jmccl/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T21:26:28Z","updated_at":"2016-05-31T21:26:28Z","body":"Built from head of a few days ago.\r\n\r\ncommit db75e727a4101d3485143c9b69a65e2717fc71e6"}}
{"actor":{"display_login":"jmccl"}}