{"action":"created","issue":{"url":"https://api.github.com/repos/gauteh/astroid/issues/35","labels_url":"https://api.github.com/repos/gauteh/astroid/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/gauteh/astroid/issues/35/comments","events_url":"https://api.github.com/repos/gauteh/astroid/issues/35/events","html_url":"https://github.com/gauteh/astroid/issues/35","id":124672153,"number":35,"title":"Failed to send an email ","user":{"login":"hugoroy","id":1629771,"avatar_url":"https://avatars.githubusercontent.com/u/1629771?v=3","gravatar_id":"","url":"https://api.github.com/users/hugoroy","html_url":"https://github.com/hugoroy","followers_url":"https://api.github.com/users/hugoroy/followers","following_url":"https://api.github.com/users/hugoroy/following{/other_user}","gists_url":"https://api.github.com/users/hugoroy/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoroy/subscriptions","organizations_url":"https://api.github.com/users/hugoroy/orgs","repos_url":"https://api.github.com/users/hugoroy/repos","events_url":"https://api.github.com/users/hugoroy/events{/privacy}","received_events_url":"https://api.github.com/users/hugoroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-03T21:32:09Z","updated_at":"2016-01-04T12:51:19Z","closed_at":null,"body":"I use `msmtp` for \"sendmail\" but I couldn't send an email, here's the debug output:\r\n\r\n```\r\n[debug] (22:30:39): ky: Edit mode, handling: y (edit_message.send)\r\n[info ] (22:30:39): mode: Really send message?\r\n[info ] (22:30:40): mode: yes-no: got yes!\r\n[info ] (22:30:40): em: sending message..\r\n[debug] (22:30:40): em: got tv ready.\r\n[debug] (22:30:40): tv: set info: sending message..\r\n[debug] (22:30:40): em: editor toggle: 0\r\n[debug] (22:30:40): cm: initialize..\r\n[info ] (22:30:40): msg: loading message from file (mid supplied): /home/hugo/.cache/astroid/1451856617-astroid-2-hddibaj89e-31968@xps\r\n[debug] (22:30:40): chunk: content-type: text/plain\r\n[debug] (22:30:40): chunk: preferred.\r\n[debug] (22:30:40): chunk: is part (viewable: 1, attachment: 0) \r\n[debug] (22:30:40): chunk: body: part\r\n[debug] (22:30:40): chunk: plain text (out html: 0)\r\n[warn ] (22:30:40): charset: not defined.\r\n[debug] (22:30:40): cm: build..\r\n[info ] (22:30:40): cm: wrote tmp file: /tmp/astroid-compose-1OHaXF\r\n[info ] (22:30:40): msg: loading message from file: /tmp/astroid-compose-1OHaXF\r\n[debug] (22:30:40): chunk: content-type: text/plain\r\n[debug] (22:30:40): chunk: preferred.\r\n[debug] (22:30:40): chunk: is part (viewable: 1, attachment: 0) \r\n[info ] (22:30:40): render: loading html..\r\n[info ] (22:30:40): tv: navigation action: 5\r\n[info ] (22:30:40): tv: navigating to: /home/hugo/.config/astroid/5wnj4aipkia8we4pfsuxrdwkdmbv7ru6ibdd2zw9jpo2k2uakbjuwi99j27wlesgp41uaug9v0ydowy4aosgkepuikyl1p46kr0iaof6fcm5fvz2ptnse1yx\r\n[debug] (22:30:40): tv: on_load_changed: 0\r\n[debug] (22:30:40): cm: deinitialized.\r\n[debug] (22:30:40): cm: initialize..\r\n[info ] (22:30:40): msg: loading message from file (mid supplied): /home/hugo/.cache/astroid/1451856617-astroid-2-hddibaj89e-31968@xps\r\n[debug] (22:30:40): chunk: content-type: text/plain\r\n[debug] (22:30:40): chunk: preferred.\r\n[debug] (22:30:40): chunk: is part (viewable: 1, attachment: 0) \r\n[debug] (22:30:40): chunk: body: part\r\n[debug] (22:30:40): chunk: plain text (out html: 0)\r\n[warn ] (22:30:40): charset: not defined.\r\n[debug] (22:30:40): cm: build..\r\n\r\n(astroid:31968): Gtk-CRITICAL **: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed\r\n[info ] (22:30:40): cm: sending (threaded)..\r\n[warn ] (22:30:40): cm: sending message from account: Hugo Roy <XXXXXhugoroy.eu>\r\n[debug] (22:30:40): tv: on_load_changed: 1\r\nmsmtp: no recipients found\r\n[ERROR] (22:30:40): cm: could not send message!\r\n[debug] (22:30:40): tv: on_load_changed: 3\r\n[debug] (22:30:40): tv: on_load_changed: 2\r\n[debug] (22:30:40): tv: load finished.\r\n[debug] (22:30:40): tv: mathjax request: approved\r\n[debug] (22:30:40): tv: code prettify request: approved\r\n[debug] (22:30:40): render: html loaded, building messages..\r\n[debug] (22:30:40): tv: adding message: 1451856565-astroid-0-ihzyf4l9wg-31968@xps\r\n[debug] (22:30:40): gravatar: for: XXXXXXhugoroy.eu, uri: http://www.gravatar.com/avatar/19188dd148e4bb0163194085abd3d2a8?d=retro&s=48\r\n[info ] (22:30:40): db: open db read-only.\r\n[debug] (22:30:40): db: open time: 0.168 ms.\r\n[info ] (22:30:40): db: closing db.\r\n[debug] (22:30:40): create message part: 20 (siblings: 0) (kids: 0) (attachment: 0) (viewable: 1) (mimetype: text/plain)\r\n[debug] (22:30:40): create body part: 20\r\n[debug] (22:30:40): chunk: body: part\r\n[debug] (22:30:40): chunk: plain text (out html: 1)\r\n[debug] (22:30:40): enc: quoted-printable\r\n[debug] (22:30:40): charset: utf-8\r\n[debug] (22:30:40): mq: quote filter done, time: 0 ms.\r\n[debug] (22:30:40): tv: code filter done, time: 0 ms.\r\n[debug] (22:30:40): tv: make preview..\r\n[debug] (22:30:40): chunk: body: part\r\n[debug] (22:30:40): chunk: plain text (out html: 0)\r\n[debug] (22:30:40): enc: quoted-printable\r\n[debug] (22:30:40): charset: utf-8\r\n[info ] (22:30:40): tv: ready emitted.\r\n[debug] (22:30:40): em: got tv ready.\r\n[debug] (22:30:40): tv: set info: sending message..\r\n[info ] (22:30:40): em: message sending done.\r\n[debug] (22:30:40): cm: deinitialized.\r\n[debug] (22:30:40): em: got tv ready.\r\n[debug] (22:30:40): tv: set warning: message could not be sent!\r\n[debug] (22:30:40): tv: code prettify request: approved\r\n[debug] (22:30:40): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/jax/input/TeX/config.js?rev=2.6.0\r\n[debug] (22:30:40): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/jax/output/HTML-CSS/config.js?rev=2.6.0\r\n[debug] (22:30:40): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/tex2jax.js?rev=2.6.0\r\n[debug] (22:30:41): ky: Edit mode,  unknown key: 65513\r\n[debug] (22:30:41): ky: Thread View,  unknown key: 65513\r\n[debug] (22:30:41): ky: Edit mode,  unknown key: 65513\r\n[debug] (22:30:41): ky: MainWindow,  unknown key: 65513\r\n[debug] (22:30:42): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/MathMenu.js?rev=2.6.0\r\n[debug] (22:30:43): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/MathZoom.js?rev=2.6.0\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/gauteh/astroid/issues/comments/168670734","html_url":"https://github.com/gauteh/astroid/issues/35#issuecomment-168670734","issue_url":"https://api.github.com/repos/gauteh/astroid/issues/35","id":168670734,"user":{"login":"gauteh","id":56827,"avatar_url":"https://avatars.githubusercontent.com/u/56827?v=3","gravatar_id":"","url":"https://api.github.com/users/gauteh","html_url":"https://github.com/gauteh","followers_url":"https://api.github.com/users/gauteh/followers","following_url":"https://api.github.com/users/gauteh/following{/other_user}","gists_url":"https://api.github.com/users/gauteh/gists{/gist_id}","starred_url":"https://api.github.com/users/gauteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauteh/subscriptions","organizations_url":"https://api.github.com/users/gauteh/orgs","repos_url":"https://api.github.com/users/gauteh/repos","events_url":"https://api.github.com/users/gauteh/events{/privacy}","received_events_url":"https://api.github.com/users/gauteh/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T12:51:19Z","updated_at":"2016-01-04T12:51:19Z","body":"Hugo Roy writes on January 4, 2016 11:59:\n> Now that you mention it, it does seem that the 'To:' field wasn't \n> properly recorded by Astroid even though I put it in the email.\n> \n> And, yes, it happens every time.\n> \n> The configuration is\n> \n> \"sendmail\": \"msmtp -a ampoliros\"\n\nYou have to give the -t option to msmtp:\n\n  \"sendmail\": \"msmtp -a ampoliros -t\"\n\nDoesn't the receipients show up in the email-preview? In that case,\ndo you accidently add a newline in the 'To:' line? Any emails that fail\nto parse are usually dropped.\n\n"}}