{"id":479,"date":"2010-01-15T06:19:47","date_gmt":"2010-01-15T03:19:47","guid":{"rendered":"http:\/\/seriyps.ru\/blog\/?p=479"},"modified":"2011-07-06T01:45:42","modified_gmt":"2011-07-05T22:45:42","slug":"uchim-redmine-rassylat-pochtu-cherez-gmail","status":"publish","type":"post","link":"https:\/\/seriyps.com\/blog\/2010\/01\/15\/uchim-redmine-rassylat-pochtu-cherez-gmail\/","title":{"rendered":"\u0423\u0447\u0438\u043c Redmine \u0440\u0430\u0441\u0441\u044b\u043b\u0430\u0442\u044c \u043f\u043e\u0447\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 Gmail"},"content":{"rendered":"<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u043e email \u0447\u0435\u0440\u0435\u0437 smtp \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c:<\/p>\n<pre># File: config\/email.yml\r\nproduction:\r\n  delivery_method: :smtp\r\n  smtp_settings:\r\n    address: \"smtp.gmail.com\"\r\n    port: '587'\r\n    domain: \"smtp.gmail.com\"\r\n    authentication: :plain\r\n    user_name: \"your_email@gmail.com\"\r\n    password: \"your_password\"<\/pre>\n<p>\u0422\u043e \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043d\u044b\u0439 email http:\/\/redmine.example.com\/admin\/test_email, \u043e\u043d \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443<br \/>\n<code>\u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u0438\u0441\u044c\u043c\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 (530 5.7.0 Must issue a STARTTLS command first. 16sm1075274ewy.14 )<\/code><br \/>\n\u041f\u0440\u0438\u0447\u0438\u043d\u043e\u0439 \u0442\u043e\u043c\u0443 \u0441\u043b\u0443\u0436\u0438\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 TLS \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c Gmail, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 Redmine \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442.<br \/>\n\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e&#8230;<!--more--><br \/>\n\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u043b\u0430\u0433\u0438\u043d action_mailer_optional_tls<br \/>\n\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d GIT, \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u043f\u0430\u043f\u043a\u0435 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c redmine \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p>[codesyntax lang=&#8221;bash&#8221;]ruby script\/plugin install git:\/\/github.com\/collectiveidea\/action_mailer_optional_tls.git[\/codesyntax]<\/p>\n<p>\u0418\u043d\u0430\u0447\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442 http:\/\/github.com\/collectiveidea\/action_mailer_optional_tls , \u0449\u0435\u043b\u043a\u0430\u0435\u0442\u0435 Download source \u0438 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0435 \u0430\u0440\u0445\u0438\u0432 \u0432 vendor\/plugins\/ (\u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043f\u0430\u043f\u043a\u0430 vendor\/plugins\/action_mailer_optional_tls \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 init.rb \u0438 \u0442.\u043f.)<\/p>\n<p>\u041f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433 \u043a \u0432\u0438\u0434\u0443<\/p>\n<pre># File: config\/email.yml\r\nproduction:\r\n  delivery_method: :smtp\r\n  smtp_settings:\r\n    address: \"smtp.gmail.com\"\r\n    port: '587'\r\n    domain: \"gmail.com\"\r\n    authentication: :plain\r\n    user_name: \"your_email@gmail.com\"\r\n    password: \"your_password\"\r\n    <strong>tls: true<\/strong><\/pre>\n<p>\u0418\u043b\u0438, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435\u0441\u044c \u0441\u043b\u0443\u0436\u0431\u043e\u0439 Google apps \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 <strong>example.com<\/strong>, \u0442\u043e<\/p>\n<pre># File: config\/email.yml\r\nproduction:\r\n  delivery_method: :smtp\r\n  smtp_settings:\r\n    address: \"smtp.gmail.com\"\r\n    port: '587'\r\n    domain: \"<strong>example.com<\/strong>\"\r\n    authentication: :plain\r\n    user_name: \"your_email@<strong>example.com<\/strong>\"\r\n    password: \"your_password\"\r\n    <strong>tls: true<\/strong><\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a (\u0441\u043c\u043e\u0442\u0440\u044f \u043a\u0430\u043a \u0432\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438):<\/p>\n<p>[codesyntax lang=&#8221;bash&#8221;]sudo service mongrel_cluster restart[\/codesyntax]<\/p>\n<p>\u0418 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435\u0441\u044c!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u043e email \u0447\u0435\u0440\u0435\u0437 smtp \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c: # File: config\/email.yml production: delivery_method: :smtp smtp_settings: address: &#8220;smtp.gmail.com&#8221; port: &#8216;587&#8217; domain: &#8220;smtp.gmail.com&#8221; authentication: :plain user_name: &#8220;your_email@gmail.com&#8221; password: &#8220;your_password&#8221; \u0422\u043e \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043d\u044b\u0439 email http:\/\/redmine.example.com\/admin\/test_email, \u043e\u043d \u0432\u044b\u0434\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u0438\u0441\u044c\u043c\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 (530 5.7.0 Must issue a STARTTLS command [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116],"tags":[139,137,138,102,140],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-programming","tag-gmail","tag-redmine","tag-ruby","tag-smtp","tag-tls"],"_links":{"self":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":14,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/479\/revisions"}],"predecessor-version":[{"id":606,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/posts\/479\/revisions\/606"}],"wp:attachment":[{"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/categories?post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seriyps.com\/blog\/wp-json\/wp\/v2\/tags?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}