{"id":29018,"date":"2018-11-24T01:19:34","date_gmt":"2018-11-23T23:19:34","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=29018"},"modified":"2018-11-24T01:19:34","modified_gmt":"2018-11-23T23:19:34","slug":"curlmail-easy-way-to-send-emails-with-curl","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/24\/curlmail-easy-way-to-send-emails-with-curl\/","title":{"rendered":"CurlMail &#8211; easy way to send emails with cUrl"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"29019\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/24\/curlmail-easy-way-to-send-emails-with-curl\/curl-mail\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail.png?fit=720%2C624&amp;ssl=1\" data-orig-size=\"720,624\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"curl mail\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail.png?fit=660%2C572&amp;ssl=1\" class=\"aligncenter size-medium wp-image-29019\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail-500x433.png?resize=500%2C433&#038;ssl=1\" alt=\"\" width=\"500\" height=\"433\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail.png?resize=500%2C433&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/11\/curl-mail.png?w=720&amp;ssl=1 720w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>I am a big fan of small and simple yet practically interesting ideas, like <a href=\"https:\/\/curlmail.co\/\">this one<\/a>.\u00a0 CurlMail is a super easy API service that allows one to send emails from the command line, using nothing but <a href=\"https:\/\/curl.haxx.se\/\">curl<\/a>, or a similar HTTP client.<\/p>\n<p>It&#8217;d be extra cool if it there was a GitHub link to it too.\u00a0 But even if it&#8217;s not openly available, one could use the service for emails which are not sensitive and implement something similar from scratch in a few minutes for private use.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I am a big fan of small and simple yet practically interesting ideas, like this one.\u00a0 CurlMail is a super easy API service that allows one to send emails from the command line, using nothing but curl, or a similar HTTP client. It&#8217;d be extra cool if it there was a GitHub link to it &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/24\/curlmail-easy-way-to-send-emails-with-curl\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">CurlMail &#8211; easy way to send emails with cUrl<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"CurlMail - easy way to send emails with cUrl #WebDev #CLI #email #API","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,18,133,62,1334],"tags":[2404,1960,72,1330],"keyring_services":[],"class_list":["post-29018","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-programming","category-sysadmin","category-technology","category-web-work","tag-api","tag-command-line","tag-email","tag-web-development"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":22001,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/06\/17\/httpie-command-line-http-client-a-user-friendly-curl-replacement\/","url_meta":{"origin":29018,"position":0},"title":"HTTPie &#8211; command line HTTP client, a user-friendly cURL replacement","author":"Leonid Mamchenkov","date":"June 17, 2014","format":"link","excerpt":"HTTPie - command line HTTP client, a user-friendly cURL replacement. Main features: Expressive and intuitive syntax Formatted and colorized terminal output Built-in JSON support Forms and file uploads HTTPS, proxies, and authentication Arbitrary request data Custom headers Persistent sessions Wget-like downloads Python 2.6, 2.7 and 3.x support Linux, Mac OS\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"httpie","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/06\/httpie-500x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9073,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/14\/sending-bulk-html-emails-with-perl\/","url_meta":{"origin":29018,"position":1},"title":"Sending bulk HTML emails with perl","author":"Leonid Mamchenkov","date":"June 14, 2005","format":false,"excerpt":"First of all, I have to warn you that using HTML in emails is almost always inappropriate. Use plain text. If you have to send HTML, than send it as an attachment. For those cases, where HTML message has to be sent and there is no choice in the matter,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18183,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/05\/20\/sendy-amazon-ses-based-bulk-email-software\/","url_meta":{"origin":29018,"position":2},"title":"Sendy &#8211; Amazon SES-based bulk email software","author":"Leonid Mamchenkov","date":"May 20, 2013","format":"link","excerpt":"Sendy - Amazon SES-based bulk email software Sendy is a self hosted email newsletter application that lets you send trackable emails via\u00a0Amazon Simple Email Service (SES). This makes it possible for you to send authenticated bulk emails at an insanely low price without sacrificing deliverability.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27889,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/08\/31\/the-coolest-tech-cv-ever\/","url_meta":{"origin":29018,"position":3},"title":"The coolest tech CV ever","author":"Leonid Mamchenkov","date":"August 31, 2017","format":false,"excerpt":"This TravisCI blog post welcomes AJ to the team. \u00a0In it, there is a bit that caught my attention (except, of course, the one about bra burning): If you\u2019re so inclined, you can follow her on Twitter or run curl cv.soulshake.net. Wait a second ... A what? curl for the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/08\/AJ-CV-500x265.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17835,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/03\/08\/redmine-email-notifications-with-exim\/","url_meta":{"origin":29018,"position":4},"title":"Redmine email notifications with Exim","author":"Leonid Mamchenkov","date":"March 8, 2013","format":false,"excerpt":"When configuring Redmine project management to send email notifications, using Exim MTA, you might end up with test emails bouncing due to no\u00a0recipients\u00a0specified. \u00a0It's a bit tricky to debug, but, fortunately, quite easy to fix. \u00a0The problem comes from different implementations of \"-t\" option handling for \/usr\/sbin\/sendmail. \u00a0Redmine uses this\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15511,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/09\/15\/ifttt-if-this-then-that-is-awesome\/","url_meta":{"origin":29018,"position":5},"title":"ifttt &#8211; if this then that is awesome","author":"Leonid Mamchenkov","date":"September 15, 2011","format":false,"excerpt":"If you are somehow involved with online tools, publishing, or social networks, then you should definitely check out ifttt. \u00a0It is an\u00a0abbreviation for \"if this then that\" and it is the best thing since the invention of sliced bread. ifttt is an extremely easy, or perhaps even trivial, tool that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/09\/ifttt-500x342.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/29018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=29018"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/29018\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=29018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=29018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=29018"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=29018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}