{"action":"created","issue":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/932","labels_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/932/labels{/name}","comments_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/932/comments","events_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/932/events","html_url":"https://github.com/SparkDevNetwork/Rock/issues/932","id":66987648,"number":932,"title":"Issues Sending Email via Mandrill (System.FormatException)","user":{"login":"bwitting","id":1859094,"avatar_url":"https://avatars.githubusercontent.com/u/1859094?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitting","html_url":"https://github.com/bwitting","followers_url":"https://api.github.com/users/bwitting/followers","following_url":"https://api.github.com/users/bwitting/following{/other_user}","gists_url":"https://api.github.com/users/bwitting/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitting/subscriptions","organizations_url":"https://api.github.com/users/bwitting/orgs","repos_url":"https://api.github.com/users/bwitting/repos","events_url":"https://api.github.com/users/bwitting/events{/privacy}","received_events_url":"https://api.github.com/users/bwitting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-07T20:51:14Z","updated_at":"2015-04-08T20:03:11Z","closed_at":null,"body":"On McKinley 3.0:\r\n\r\nI've gotten a few reports of trouble sending email via Mandrill.  When this happens, on the Communication screen all emails fail with the note: `SMTP Exception: Failure sending mail`\r\n\r\nIf I look at the exception log, I see:\r\n\r\n`System.Exception: Exception in Global.DrainTransactionQueue(): SendCommunicationTransaction` (with no stack trace) \r\n\r\nand\r\n\r\n`System.FormatException: The specified string is not in the form required for an e-mail address.`  \r\nStack Trace: `at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)\r\n   at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)\r\n   at Rock.Communication.Transport.SMTPComponent.Send(Communication communication)\r\n   at Rock.Communication.Medium.Email.Send(Communication communication)\r\n   at RockWeb.Global.DrainTransactionQueue() in c:\\inetpub\\wwwroot\\App_Code\\Global.asax.cs:line 796`\r\n\r\nThe problem is that I'm not exactly sure how to reproduce this.  I sent an email to just myself with an attachment and received this error.  Then I copied the communication, removed the attachment, and it sent just fine.  However, the few other times where this is happening, the user didn't add an attachment at all and got the same error.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/comments/91019830","html_url":"https://github.com/SparkDevNetwork/Rock/issues/932#issuecomment-91019830","issue_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/932","id":91019830,"user":{"login":"bwitting","id":1859094,"avatar_url":"https://avatars.githubusercontent.com/u/1859094?v=3","gravatar_id":"","url":"https://api.github.com/users/bwitting","html_url":"https://github.com/bwitting","followers_url":"https://api.github.com/users/bwitting/followers","following_url":"https://api.github.com/users/bwitting/following{/other_user}","gists_url":"https://api.github.com/users/bwitting/gists{/gist_id}","starred_url":"https://api.github.com/users/bwitting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwitting/subscriptions","organizations_url":"https://api.github.com/users/bwitting/orgs","repos_url":"https://api.github.com/users/bwitting/repos","events_url":"https://api.github.com/users/bwitting/events{/privacy}","received_events_url":"https://api.github.com/users/bwitting/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T20:03:11Z","updated_at":"2015-04-08T20:03:11Z","body":"Confirmed emails with attachments are now working with the new 3.1 update from @azturner."}}