{"id":3190,"date":"2013-07-29T05:45:05","date_gmt":"2013-07-28T19:45:05","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3190"},"modified":"2016-07-29T17:17:45","modified_gmt":"2016-07-29T07:17:45","slug":"windows-and-mac-command-line-gmail-email-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-and-mac-command-line-gmail-email-primer-tutorial\/","title":{"rendered":"Windows and Mac Command Line Gmail Email Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Windows\/CommandLineEmail\/CommandLine_Email_Primer-21of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Windows Command Line Gmail Email Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Windows\/CommandLineEmail\/CommandLine_Email_Primer-21of.jpg\" title=\"Windows Command Line Gmail Email Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Windows Command Line Gmail Email Primer Tutorial<\/p><\/div>\n<hr \/>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/CommandLineEmail\/CommandLine_Email_Primer-1of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Mac Command Line Gmail Email Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/CommandLineEmail\/CommandLine_Email_Primer-1of.jpg\" title=\"Mac Command Line Gmail Email Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Mac Command Line Gmail Email Primer Tutorial<\/p><\/div>\n<p>Here we have a Mac Linux Bash Terminal session and Windows Command Prompt session (not respectively &#8230; just to keep you awake), each showing a method of sending a Gmail ( see  <a target=_blank title='Gmail Email Invitation Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3098'>Gmail Email Invitation Primer Tutorial<\/a>  ) at the command line.<\/p>\n<p>In order to arrange the authentication required by the Windows command line email method we needed to encode into base64, and to do this I used <a target=_blank title='base64 encode\/decode' href='http:\/\/ostermiller.org\/calc\/encode.html'>this link<\/a>.<\/p>\n<p>Here are some relevant topics, all via Wikipedia, for your erudition:<\/p>\n<ul>\n<li><a target=_blank title='openssl information from Wikipedia' href='https:\/\/en.wikipedia.org\/wiki\/OpenSSL'>openssl<\/a><\/li>\n<li><a target=_blank title='telnet information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Telnet'>telnet<\/a><\/li>\n<li><a target=_blank title='TLS information from Wikipedia' href='https:\/\/en.wikipedia.org\/wiki\/Transport_Layer_Security'>TLS<\/a><\/li>\n<li><a target=_blank title='email authentication information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Email_authentication'>email authentication<\/a><\/li>\n<li><a target=_blank title='erudition information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Erudition'>erudition<\/a><\/li>\n<\/ul>\n<p>You may need to enable Telnet client and here is a <a target=_blank title='Enable Telnet Client' href='http:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/910.how-to-enable-telnet-client-in-windows-7.aspx'>link<\/a>.<\/p>\n<p>Here is a helpful <a target=_blank title='Windows command line email help' href='http:\/\/stackoverflow.com\/questions\/11046135\/how-to-send-email-using-simple-smtp-commands-via-gmail'>link<\/a> regarding the Windows command line email technique used, after &#8220;telnet smtp.gmail.com 25&#8221; was found wanting regarding how to get TLS to happen.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d3190' onclick='var dv=document.getElementById(\"d3190\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=email\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d3190' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here we have a Mac Linux Bash Terminal session and Windows Command Prompt session (not respectively &#8230; just to keep you awake), each showing a method of sending a Gmail ( see Gmail Email Invitation Primer Tutorial ) at the &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/windows-and-mac-command-line-gmail-email-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,25,29,37],"tags":[132,234,236,239,380,503,707,723,1952,885,1773,1319,1435],"class_list":["post-3190","post","type-post","status-publish","format-standard","hentry","category-elearning","category-networking","category-operating-system","category-tutorials","tag-bash","tag-command-line","tag-command-prompt","tag-commnad-line","tag-email","tag-gmail","tag-linux","tag-mac","tag-openssl","tag-operating-system-2","tag-tls","tag-tutorial","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3190"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=3190"}],"version-history":[{"count":1,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3190\/revisions"}],"predecessor-version":[{"id":19365,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3190\/revisions\/19365"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=3190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=3190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=3190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}