{"id":277403,"date":"2016-03-31T21:12:03","date_gmt":"2016-03-31T17:12:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=277403"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=277403","title":{"rendered":"Mandrill \u0432\u0441\u0451? \u041a\u0430\u043a \u044f \u0438\u0441\u043a\u0430\u043b \u0437\u0430\u043c\u0435\u043d\u0443 \u0438 \u043d\u0430\u0448\u0435\u043b 2 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b \u041c\u0430\u043d\u0434\u0440\u0438\u043b\u0443"},"content":{"rendered":"<p>       TL;DR: Mandrill \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0446\u0435\u043d\u044b \u0432 4 \u0440\u0430\u0437\u0430. \u041e\u043d\u0438 \u043d\u0430\u0448\u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 MailChimp.<\/p>\n<p>  \u0412 \u0444\u0435\u0432\u0440\u0430\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0434\u0430, \u043a\u0430\u043a \u0433\u0440\u043e\u043c \u0441\u0440\u0435\u0434\u0438 \u044f\u0441\u043d\u043e\u0433\u043e \u043d\u0435\u0431\u0430, \u043f\u0440\u0438\u0448\u043b\u043e \u043f\u0438\u0441\u044c\u043c\u043e \u043e\u0442 Mandrill \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0441 27\u0433\u043e \u0430\u043f\u0440\u0435\u043b\u044f \u043e\u043d \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0451\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0447\u0442\u043e\u0431\u044b \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 Mandrill \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0432 <b>\u043f\u043b\u0430\u0442\u043d\u044b\u0439<\/b> \u0430\u043a\u043a\u0430\u0443\u043d\u0442 MailChimp. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043b\u0430\u0442\u043d\u044b\u0439, \u043f\u0443\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0438 \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0446\u0435\u043d\u043d\u0438\u043a MailChimp:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/7a1\/83d\/e00\/7a183de00bad4d74bca9164dd246572c.png\" width=\"400\"\/><\/p>\n<p>  \u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0440\u0430\u043d\u044c\u0448\u0435 Mandrill \u0431\u044b\u043b \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u043e 12.000 \u043f\u0438\u0441\u0435\u043c \u0432 \u043c\u0435\u0441\u044f\u0446 (\u043e\u043a\u043e\u043b\u043e 400 \u0432 \u0434\u0435\u043d\u044c). \u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c $20 + \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0448\u044c \u043f\u0438\u0441\u0435\u043c. <\/p>\n<p>  \u00ab\u0412\u043e\u0442 \u043d\u0435\u0433\u043e\u0434\u044f\u0438!\u00bb \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f \u043f\u0440\u043e \u0441\u0435\u0431\u044f \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0438 \u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0435\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e \u0442\u0430\u043a\u043e\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bc3\/864\/60f\/bc386460f4084d78a9070235eb949dd5.png\" width=\"600\"\/><\/p>\n<p>  \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.mailgun.com\/\">MailGun<\/a> \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f<\/li>\n<li><a href=\"https:\/\/www.sparkpost.com\/\">SparkPost<\/a> \u2014 \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f, \u043d\u043e \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435<\/li>\n<\/ul>\n<p>  \u0423 \u043e\u0431\u043e\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<hr\/>\n<h3><strong>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 # 1: <a href=\"https:\/\/www.mailgun.com\/\">MailGun<\/a><\/strong> \u2014 The Email Service For Developers<\/h3>\n<p>  <\/p>\n<ul>\n<li>10,000 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u0435\u043c\u0430\u0439\u043b\u043e\u0432 \u0432 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 500,000 \u2014 $0.00050 \u0437\u0430 \u0448\u0442\u0443\u043a\u0443 <\/li>\n<li>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 1,000,000 \u2014 $0.00035 <\/li>\n<li>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 5,000,000 \u2014 $0.00015 <\/li>\n<li>\u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e $0.00010<\/li>\n<\/ul>\n<p>  <a href=\"https:\/\/www.mailgun.com\/pricing\">\u041f\u0440\u0430\u0439\u0441\u0438\u043d\u0433<\/a> \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0431\u0435\u0437 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438. \u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u0443\u0434\u0443 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043c\u0438\u0440 \u0433\u043b\u0430\u0437\u0430\u043c\u0438 PHP \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043c\u0435\u043d\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \ud83d\ude42<\/p>\n<p>  MailGun \u043b\u044e\u0431\u044f\u0442 \u0438 \u0447\u0430\u0441\u0442\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0443\u044e\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0432 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <a href=\"https:\/\/laravel.com\/docs\/5.2\/mail\">Laravel<\/a>) \u0437\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 API. \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 curl-\u043e\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a endpoint-u \u0441\u043e \u0441\u0432\u043e\u0438\u043c API \u043a\u043b\u044e\u0447\u043e\u043c:  <\/p>\n<pre><code class=\"bash\">curl -s --user 'api:key-3ax6xnjp29jd6fds4gc373sgvjxteol0' \\     https:\/\/api.mailgun.net\/v3\/samples.mailgun.org\/messages \\     -F from='Excited User &lt;excited@samples.mailgun.org&gt;' \\     -F to='devs@mailgun.net' \\     -F subject='Hello' \\     -F text='Testing some Mailgun awesomeness!' <\/code><\/pre>\n<p>  \u0414\u043b\u044f PHP \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435 \u043b\u0435\u0436\u0438\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/mailgun\/mailgun-php\">mailgun-php<\/a>.<\/p>\n<p>  \u041f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 dashboard \u0438 \u043b\u043e\u0433\u0438 \u0432\u0441\u0435\u0445 \u043f\u0438\u0441\u0435\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3bc\/137\/db4\/3bc137db4cec4cb3ab68894b7c057513.png\" width=\"600\"\/> <\/p>\n<p>  \u0415\u0441\u0442\u044c \u0432\u0435\u0431\u0445\u0443\u043a\u0438 \u0434\u043b\u044f \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/36b\/dd5\/075\/36bdd5075bf849228cff0163d98f9b44.png\" width=\"300\"\/><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u041c\u0430\u0439\u043b\u0433\u0430\u043d\u0435. 10,000 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043f\u0438\u0441\u0435\u043c \u0432 \u043c\u0435\u0441\u044f\u0446 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0437\u0430 \u0433\u043b\u0430\u0437\u0430. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 Laravel \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u043e\u043b\u0447\u0430\u0441\u0430, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 5 \u043c\u0438\u043d \u0432\u044b \u0442\u0440\u0430\u0442\u0438\u0442\u0435 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435 API \u043a\u043b\u044e\u0447\u0430 \u0438 25 \u043c\u0438\u043d \u043d\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \ud83d\ude42<\/p>\n<hr\/>\n<h3><strong>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 # 2: <a href=\"https:\/\/www.sparkpost.com\/\">SparkPost<\/a><\/strong> \u2014 Better Email Delivery for Better Customer Engagement<\/h3>\n<p>  100,000 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u0435\u043c\u0430\u0439\u043b\u043e\u0432 \u0432 \u043c\u0435\u0441\u044f\u0446 (\u044d\u0442\u043e \u0432 10 \u0440\u0430\u0437 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0443 MailGun).<\/p>\n<p>  <a href=\"https:\/\/www.sparkpost.com\/pricing\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/acf\/9ba\/a3a\/acf9baa3a9684558a6e24eaaf6041f79.png\" width=\"500\"\/><\/a><\/p>\n<p>  \u041f\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043c\u043d\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c, \u044d\u0442\u043e\u0442 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0438 \u0443\u0437\u043d\u0430\u043b \u044f \u043e \u043d\u0435\u043c \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u2014 \u0438\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u043e\u0432 \u043a \u043a\u0430\u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u0441\u0442\u0443.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 100 \u0442\u044b\u0441\u044f\u0447 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043f\u0438\u0441\u0435\u043c \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u043a\u0438\u043b\u043b\u0435\u0440-\u0444\u0438\u0447\u0430 \u2014 subaccounts, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u043d\u0438 <a href=\"https:\/\/www.sparkpost.com\/blog\/subaccounts-even-more-awesome\/\">\u0437\u0430\u043f\u0438\u043b\u0438\u043b\u0438 \u0434\u0432\u0435 \u043d\u0435\u0434\u0435\u043b\u0438 \u0437\u0430\u0437\u0430\u0434<\/a>.<\/p>\n<p>  Subaccounts \u044d\u0442\u043e \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0441\u0432\u043e\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0434\u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0441 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u0440\u0435\u043f\u0443\u0442\u0430\u0446\u0438\u0435\u0439. \u042d\u0442\u043e \u0434\u0430\u0451\u0442 \u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u043e\u0433\u0438 \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e\u0434\u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0430\u044f \u0440\u0435\u043f\u0443\u0442\u0430\u0446\u0438\u044f \u043f\u043e\u0434\u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0435 \u0438\u043b\u0438 \u0438\u043d\u044b\u0435 \u043c\u0435\u0440\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0438\u0445 \u00ab\u043a\u0430\u0440\u043c\u044b\u00bb \ud83d\ude42<\/p>\n<p>  \u0414\u043b\u044f \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 email-\u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043a \u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439 Subaccounts API \u2014 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u0431\u043b\u0430\u0433\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043f\u0430\u043c\u0435\u0440\u043e\u0432.<\/p>\n<p>  API \u0443 \u043d\u0438\u0445 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u043a \u0438 \u0443 MailGun \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/developers.sparkpost.com\/\">\u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e<\/a>, \u0445\u043e\u0442\u044c \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"bash\">curl -XPOST \\   https:\/\/api.sparkpost.com\/api\/v1\/transmissions \\   -H &quot;Authorization: &lt;YOUR API KEY&gt;&quot; \\   -H &quot;Content-Type: application\/json&quot; \\   -d '{&quot;content&quot;: {&quot;from&quot;: &quot;testing@sparkpostbox.com&quot;, &quot;subject&quot;: &quot;Oh hey&quot;, &quot;text&quot;:&quot;Testing SparkPost - the most awesomest email service in the world&quot;}, &quot;recipients&quot;: [{&quot;address&quot;: &quot;developers+curl@sparkpost.com&quot;}]}'  <\/code><\/pre>\n<p>  \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 PHP \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 open source \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/github.com\/sparkpost\/php-sparkpost\">php-sparkpost<\/a> \u0438 \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u0442\u0440\u0443\u0434\u043d\u0435\u043d\u0438\u0439:<\/p>\n<pre><code class=\"php\">use SparkPost\\SparkPost; use GuzzleHttp\\Client; use Ivory\\HttpAdapter\\Guzzle6HttpAdapter;  $httpAdapter = new Guzzle6HttpAdapter(new Client()); $sparky = new SparkPost($httpAdapter, ['key'=&gt;'&lt;YOUR API KEY&gt;']);  $results = $sparky-&gt;transmission-&gt;send([     'from'=&gt;'testing@sparkpostbox.com',     'html'=&gt;'&lt;html&gt;&lt;body&gt;&lt;p&gt;Testing SparkPost - the world\\'s most awesomest email service!&lt;\/p&gt;&lt;\/body&gt;&lt;\/html&gt;',     'subject'=&gt; 'Oh hey!',     'recipients'=&gt;[       ['address'=&gt;['email'=&gt;'developers+php@sparkpost.com']]     ] ]); <\/code><\/pre>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0441\u043b\u043e\u0433\u0430\u043d SparkPost \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 eDataSource \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0441\u0442\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/dd2\/93e\/4f2\/dd293e4f26c448609334a2cad292100c.jpg\" width=\"500\"\/><\/p>\n<hr\/>\n<p>  \u0412 \u043a\u043e\u043d\u0446\u0435 \u043e\u0442\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a:<\/p>\n<ul>\n<li><a href=\"https:\/\/aws.amazon.com\/ses\/\">Amazon SES<\/a><\/li>\n<li><a href=\"https:\/\/www.sendinblue.com\/\">SendinBlue<\/a><\/li>\n<li><a href=\"https:\/\/www.mailjet.com\">MailJet<\/a><\/li>\n<li><a href=\"https:\/\/sendgrid.com\/\">SendGrid<\/a><\/li>\n<li><a href=\"http:\/\/www.socketlabs.com\/\">SocketLabs<\/a><\/li>\n<\/ul>\n<p>  \u042d\u0442\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e \u0442\u043e\u0439 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b\u0438 \u0438 \u044f \u0438\u0445 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0442\u043e-\u0442\u043e \u043d\u0430\u0439\u0434\u0435\u0442 \u0442\u043e, \u0447\u0442\u043e \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u0438\u0445. <\/p>\n<p>  \u0414\u043e \u043a\u043e\u043d\u0446\u0430 \u0436\u0438\u0437\u043d\u0438 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u041c\u0430\u043d\u0434\u0440\u0438\u043b\u0430 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0435\u0441\u044f\u0446\u0430, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u044d\u0442\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u043c \u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u043e\u0433 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430.<\/p>\n<hr\/>\n<p>  \u041d\u0443 \u0438 \u043e\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c Mandrill, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f\u00bb.        \t<\/p>\n<div class=\"polling\">\n<form action=\"\/json\/polling\/\" class=\"poll\" method=\"post\">\n<div class=\"poll_title\">\u042f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c Mandrill \u0438 \u044f\u2026<\/div>\n<p>  \t\t<input type=\"hidden\" name=\"post_id\" value=\"280634\"\/> \t\t<input type=\"hidden\" name=\"polling_question_id\" value=\"14814\"\/>  \t\t<\/p>\n<table class=\"answer\">\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv72378\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"72378\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv72378\">\u043a\u0430\u043a \u0440\u0430\u0437 \u0438\u0449\u0443 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430, \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0441\u0442\u0430\u0442\u044c\u044e!<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv72380\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"72380\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv72380\">\u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0448\u0435\u043b \u043d\u0430 &lt;alternative_service&gt;<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv72382\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"72382\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv72382\">\u043e\u0441\u0442\u0430\u043d\u0443\u0441\u044c \u0441 Mandrill, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0447\u0442\u043e-\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv72384\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"72384\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv72384\">\u043e\u0441\u0442\u0430\u043d\u0443\u0441\u044c \u0441 Mandrill, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044f \u043d\u0435 \u043f\u0440\u043e\u0442\u0438\u0432 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 $20 \u0437\u0430 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441<\/label> \t\t\t\t<\/td>\n<\/tr>\n<\/table>\n<p class=\"total\">\u041d\u0438\u043a\u0442\u043e \u0435\u0449\u0451 \u043d\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b. \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u043d\u0435\u0442.<\/p>\n<\/p><\/form>\n<p class=\"for_users_only_msg\">\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a href=\"https:\/\/habrahabr.ru\/auth\/login\/\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<\/p><\/div>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/280634\/\"> https:\/\/habrahabr.ru\/post\/280634\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       TL;DR: Mandrill \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0446\u0435\u043d\u044b \u0432 4 \u0440\u0430\u0437\u0430. \u041e\u043d\u0438 \u043d\u0430\u0448\u043b\u0438 \u0441\u043f\u043e\u0441\u043e\u0431 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 MailChimp.<\/p>\n<p>  \u0412 \u0444\u0435\u0432\u0440\u0430\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0433\u043e\u0434\u0430, \u043a\u0430\u043a \u0433\u0440\u043e\u043c \u0441\u0440\u0435\u0434\u0438 \u044f\u0441\u043d\u043e\u0433\u043e \u043d\u0435\u0431\u0430, \u043f\u0440\u0438\u0448\u043b\u043e \u043f\u0438\u0441\u044c\u043c\u043e \u043e\u0442 Mandrill \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0441 27\u0433\u043e \u0430\u043f\u0440\u0435\u043b\u044f \u043e\u043d \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0451\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0447\u0442\u043e\u0431\u044b \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 Mandrill \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0432 <b>\u043f\u043b\u0430\u0442\u043d\u044b\u0439<\/b> \u0430\u043a\u043a\u0430\u0443\u043d\u0442 MailChimp. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043b\u0430\u0442\u043d\u044b\u0439, \u043f\u0443\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0438 \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0446\u0435\u043d\u043d\u0438\u043a MailChimp:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/7a1\/83d\/e00\/7a183de00bad4d74bca9164dd246572c.png\" width=\"400\"\/><\/p>\n<p>  \u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0440\u0430\u043d\u044c\u0448\u0435 Mandrill \u0431\u044b\u043b \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u043c \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u043e 12.000 \u043f\u0438\u0441\u0435\u043c \u0432 \u043c\u0435\u0441\u044f\u0446 (\u043e\u043a\u043e\u043b\u043e 400 \u0432 \u0434\u0435\u043d\u044c). \u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c $20 + \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0448\u044c \u043f\u0438\u0441\u0435\u043c. <\/p>\n<p>  \u00ab\u0412\u043e\u0442 \u043d\u0435\u0433\u043e\u0434\u044f\u0438!\u00bb \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f \u043f\u0440\u043e \u0441\u0435\u0431\u044f \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0438 \u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0435\u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u043e \u0442\u0430\u043a\u043e\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bc3\/864\/60f\/bc386460f4084d78a9070235eb949dd5.png\" width=\"600\"\/><\/p>\n<p>  \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.mailgun.com\/\">MailGun<\/a> \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f<\/li>\n<li><a href=\"https:\/\/www.sparkpost.com\/\">SparkPost<\/a> \u2014 \u043d\u0435 \u0442\u0430\u043a\u0430\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f, \u043d\u043e \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435<\/li>\n<\/ul>\n<p>  \u0423 \u043e\u0431\u043e\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-277403","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277403"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277403\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}