{"action":"created","issue":{"url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/11","labels_url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/11/comments","events_url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/11/events","html_url":"https://github.com/gotthardp/rabbitmq-email/issues/11","id":124282310,"number":11,"title":"Don't send email","user":{"login":"ArtemLubimov","id":13026632,"avatar_url":"https://avatars.githubusercontent.com/u/13026632?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtemLubimov","html_url":"https://github.com/ArtemLubimov","followers_url":"https://api.github.com/users/ArtemLubimov/followers","following_url":"https://api.github.com/users/ArtemLubimov/following{/other_user}","gists_url":"https://api.github.com/users/ArtemLubimov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemLubimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemLubimov/subscriptions","organizations_url":"https://api.github.com/users/ArtemLubimov/orgs","repos_url":"https://api.github.com/users/ArtemLubimov/repos","events_url":"https://api.github.com/users/ArtemLubimov/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemLubimov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T23:24:09Z","updated_at":"2015-12-29T23:36:13Z","closed_at":null,"body":"Hi :)\r\nI setup rabbitnmq-email, create configure, but when i try send email it's not work. \r\nMy rabbitmq.config file :\r\n\r\n     [\r\n     {rabbitmq_email, [\r\n     %% gen_smtp server parameters\r\n     %% see https://github.com/Vagabond/gen_smtp#server-example\r\n     {server_config, [\r\n       [{port, 2525}, {protocol, tcp}, {domain, \"example.com\"}, {address,    {0,0,0,0}}]\r\n      ]},\r\n\r\n    %% inbound email exchanges: [{email-domain, {vhost, exchange}}, ...}\r\n    {email_domains, [\r\n      {<<\"example.com\">>, {<<\"/\">>, <<\"email-in\">>}}\r\n    ]},\r\n    {email_queues, [\r\n      {{<<\"/\">>, <<\"email-out\">>}, <<\"example.com\">>}\r\n    ]},\r\n\r\n    %% sender indicated in the From header\r\n    {client_sender, \"test.ekadastr@yandex.ru\"},\r\n\r\n    %% gen_smtp client parameters\r\n    %% see https://github.com/Vagabond/gen_smtp#client-example\r\n    {client_config, [\r\n      {relay, \"smtp.yandex.ru\"}, {ssl, true}, {username, \"myemail@yandex.ru\"}, {password, \"mypass\"}\r\n    ]}\r\n    ]}\r\n    ].\r\nAnd that python code that i try:\r\n\r\n    import smtplib\r\n    from email.mime.text import MIMEText\r\n\r\n    me = \"myemail@yandex.ru\"\r\n    you = \"klient_email@yandex.ru\"\r\n\r\n    msg = MIMEText(\"Hello world!\")\r\n    msg['From'] = me\r\n    msg['To'] = you\r\n    msg['Subject'] = 'Hello'\r\n    try:\r\n       s = smtplib.SMTP('localhost', 2525)\r\n       s.login(\"guest\", \"guest\")\r\n       s.sendmail(me, you, msg.as_string())\r\n       s.quit()\r\n       print('Success')\r\n    except: \r\n       print('fail')\r\n\r\nWhen i run code, it's work and print 'Success', but email not send. In log file this:\r\n\r\n     =INFO REPORT==== 30-Dec-2015::00:00:10 ===\r\n     example.com SMTP connection from {127,0,0,1}\r\n\r\n    =INFO REPORT==== 30-Dec-2015::00:00:10 ===\r\n    EHLO from [127.0.0.1]\r\n\r\n    =INFO REPORT==== 30-Dec-2015::00:00:10 ===\r\n    text/plain message from test.ekadastr@yandex.ru to         \r\n    [<<\"Artem.Liubymov@yandex.ru\">>] queued as   \r\n    631952c2c7e75e246e44811c73e40b62\r\n\r\n    =INFO REPORT==== 30-Dec-2015::00:00:10 ===\r\n    {'EXIT',<0.11011.0>,normal}"},"comment":{"url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/comments/167900085","html_url":"https://github.com/gotthardp/rabbitmq-email/issues/11#issuecomment-167900085","issue_url":"https://api.github.com/repos/gotthardp/rabbitmq-email/issues/11","id":167900085,"user":{"login":"ArtemLubimov","id":13026632,"avatar_url":"https://avatars.githubusercontent.com/u/13026632?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtemLubimov","html_url":"https://github.com/ArtemLubimov","followers_url":"https://api.github.com/users/ArtemLubimov/followers","following_url":"https://api.github.com/users/ArtemLubimov/following{/other_user}","gists_url":"https://api.github.com/users/ArtemLubimov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemLubimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemLubimov/subscriptions","organizations_url":"https://api.github.com/users/ArtemLubimov/orgs","repos_url":"https://api.github.com/users/ArtemLubimov/repos","events_url":"https://api.github.com/users/ArtemLubimov/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemLubimov/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T23:36:13Z","updated_at":"2015-12-29T23:36:13Z","body":"Yes i think i sent email in broker. I think in code i do this with this parametres for SMTP:\r\n      s = smtplib.SMTP('localhost', 2525)\r\n      s.login(\"guest\", \"guest\")\r\nIs it right?\r\nIf it is right, how can i configured to send e-mails?"}}