From 0144e40cf004f51dac69fe1c436a945584e71f8c Mon Sep 17 00:00:00 2001 From: AllAboutEE Date: Mon, 16 Mar 2015 00:39:29 -0500 Subject: [PATCH] Added comments and links to learn more about SMTP. --- lua_examples/email/send_email_smtp.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua_examples/email/send_email_smtp.lua b/lua_examples/email/send_email_smtp.lua index 1c79b6e5..597a5f87 100644 --- a/lua_examples/email/send_email_smtp.lua +++ b/lua_examples/email/send_email_smtp.lua @@ -1,3 +1,13 @@ +--- +-- @description a basic SMTP email example. You must use an account which can provide unencrypted authenticated access. +-- This example was tested with an AOL and Time Warner email accounts. GMail does not offer unecrypted authenticated access. +-- To obtain your email's SMTP server and port simply Google it e.g. [my email domain] SMTP settings +-- For example for timewarner you'll get to this page http://www.timewarnercable.com/en/support/faqs/faqs-internet/e-mailacco/incoming-outgoing-server-addresses.html +-- To Learn more about SMTP email visit: +-- SMTP Commands Reference - http://www.samlogic.net/articles/smtp-commands-reference.htm +-- See "SMTP transport example" in this page http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol +-- @author Miguel + require("base64") -- The email and password from the account you want to send emails from