{"action":"created","issue":{"url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/94","repository_url":"https://api.github.com/repos/BoletoNet/boleto2net","labels_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/94/comments","events_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/94/events","html_url":"https://github.com/BoletoNet/boleto2net/issues/94","id":324906315,"number":94,"title":"Envio de boletos em lote (por email)","user":{"login":"RodolphoChagas","id":20188061,"avatar_url":"https://avatars1.githubusercontent.com/u/20188061?v=4","gravatar_id":"","url":"https://api.github.com/users/RodolphoChagas","html_url":"https://github.com/RodolphoChagas","followers_url":"https://api.github.com/users/RodolphoChagas/followers","following_url":"https://api.github.com/users/RodolphoChagas/following{/other_user}","gists_url":"https://api.github.com/users/RodolphoChagas/gists{/gist_id}","starred_url":"https://api.github.com/users/RodolphoChagas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RodolphoChagas/subscriptions","organizations_url":"https://api.github.com/users/RodolphoChagas/orgs","repos_url":"https://api.github.com/users/RodolphoChagas/repos","events_url":"https://api.github.com/users/RodolphoChagas/events{/privacy}","received_events_url":"https://api.github.com/users/RodolphoChagas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-21T12:56:18Z","updated_at":"2018-05-21T14:07:04Z","closed_at":null,"author_association":"NONE","body":"Estou trabalhando com C# Windows Forms, já consigo gerar o boleto em PDF.\r\nExite alguma função ou rotina para envio dos boletos em Lote ?\r\n\r\nVocês salvam os boletos gerados(PDF ou HTML) em disco para depois enviar ?"},"comment":{"url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/comments/390663949","html_url":"https://github.com/BoletoNet/boleto2net/issues/94#issuecomment-390663949","issue_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/94","id":390663949,"user":{"login":"rafd75","id":11903379,"avatar_url":"https://avatars2.githubusercontent.com/u/11903379?v=4","gravatar_id":"","url":"https://api.github.com/users/rafd75","html_url":"https://github.com/rafd75","followers_url":"https://api.github.com/users/rafd75/followers","following_url":"https://api.github.com/users/rafd75/following{/other_user}","gists_url":"https://api.github.com/users/rafd75/gists{/gist_id}","starred_url":"https://api.github.com/users/rafd75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafd75/subscriptions","organizations_url":"https://api.github.com/users/rafd75/orgs","repos_url":"https://api.github.com/users/rafd75/repos","events_url":"https://api.github.com/users/rafd75/events{/privacy}","received_events_url":"https://api.github.com/users/rafd75/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T14:07:04Z","updated_at":"2018-05-21T14:07:04Z","author_association":"CONTRIBUTOR","body":"Eu uso a classe Bolero2NetProxy que está no projeto... da uma olhada no método GerarBoletos()\r\n\r\nBasicamente é isso aqui:\r\n\r\n```\r\n                var html = new StringBuilder();\r\n                foreach (Boleto boletoTmp in boletos)\r\n                {\r\n                    using (BoletoBancario imprimeBoleto = new BoletoBancario\r\n                    {\r\n                       Boleto = boletoTmp,\r\n                        OcultarInstrucoes = false,\r\n                        MostrarComprovanteEntrega = true,\r\n                        MostrarEnderecoCedente = true\r\n                    })\r\n                    {\r\n                        html.Append(\"<div style=\\\"page-break-after: always;\\\">\");\r\n                        html.Append(imprimeBoleto.MontaHtml());\r\n                        html.Append(\"</div>\");\r\n                    }\r\n                }\r\n```\r\n"}}
{"actor":{"display_login":"rafd75"}}