{"id":1914,"date":"2012-10-03T21:36:24","date_gmt":"2012-10-03T21:36:24","guid":{"rendered":"http:\/\/www.mjtnet.com\/blog\/?p=1914"},"modified":"2012-10-03T21:37:10","modified_gmt":"2012-10-03T21:37:10","slug":"sendingretrieving-emails-via-gmail","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2012\/10\/03\/sendingretrieving-emails-via-gmail\/","title":{"rendered":"Sending\/Retrieving Emails via Gmail"},"content":{"rendered":"<p>Since version 13.2 <a href=\"http:\/\/www.mjtnet.com\/macro_scheduler.htm\">Macro Scheduler<\/a>&#8216;s email functions now support SSL.  Google&#8217;s Gmail and many other email services now insist on SSL secured connections.<\/p>\n<p>To use SSL you first need to <a href=\"http:\/\/www.mjtnet.com\/blog\/2012\/05\/18\/how-to-do-an-https-request-without-installing-all-of-openssl\/\">install the OpenSSL library files<\/a>.<\/p>\n<p>Here&#8217;s an example of sending an email via Gmail:<\/p>\n<pre class=\"brush: macroscript\">Let>SMTP_AUTH=1\r\nLet>SMTP_USERID=your_email@gmail.com\r\nLet>SMTP_PASSWORD=your_password\r\nLet>SMTP_PORT=465\r\nLet>SMTP_SSL=1\r\nSMTPSendMail>someone@somewhere.com,smtp.gmail.com,your_email@gmail.com,your name,test,hello world,<\/pre>\n<p>And to retrieve emails from Gmail via POP3 (make sure you have enabled this in your gmail settings):<\/p>\n<pre class=\"brush: macroscript\">Let>POP3_PORT=995\r\nLet>POP3_SSL=1\r\nRetrievePOP3>pop.gmail.com,your_email@gmail.com,your_password,c:\\emails\\in\\<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Since version 13.2 Macro Scheduler&#8216;s email functions now support SSL. Google&#8217;s Gmail and many other email services now insist on SSL secured connections. To use SSL you first need to install the OpenSSL library files. Here&#8217;s an example of sending an email via Gmail: Let>SMTP_AUTH=1 Let>SMTP_USERID=your_email@gmail.com Let>SMTP_PASSWORD=your_password Let>SMTP_PORT=465 Let>SMTP_SSL=1 SMTPSendMail>someone@somewhere.com,smtp.gmail.com,your_email@gmail.com,your name,test,hello world, And to retrieve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1914"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=1914"}],"version-history":[{"count":3,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1914\/revisions"}],"predecessor-version":[{"id":1917,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1914\/revisions\/1917"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=1914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=1914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=1914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}