changeset 1312:60d013d5c7ef

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 24 Jan 2019 21:56:53 -0700
parents ca742d51b31f
children 15af473045c4
files src/luan/host/Init.luan website/src/examples/upload-and-email.html.luan
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/host/Init.luan	Thu Jan 24 21:15:03 2019 -0700
+++ b/src/luan/host/Init.luan	Thu Jan 24 21:56:53 2019 -0700
@@ -79,10 +79,10 @@
 -- mail  - fix later
 
 Hosting.send_mail = Mail.Sender{
-	host = "smtpcorp.com";
-	username = "smtp@luanhost.com";  -- ?
-	password = "luanhost";
-	port = 2525;
+	host = "smtpcorp.com"
+	username = "smtp@luan.ws"  -- ?
+	password = "luanhost"
+	port = 2525
 }.send
 
 
--- a/website/src/examples/upload-and-email.html.luan	Thu Jan 24 21:15:03 2019 -0700
+++ b/website/src/examples/upload-and-email.html.luan	Thu Jan 24 21:56:53 2019 -0700
@@ -5,7 +5,7 @@
 
 local send = Mail.Sender{
 	host = "smtpcorp.com"
-	username = "smtp@luanhost.com"
+	username = "smtp@luan.ws"
 	password = "luanhost"
 	port = 2525
 }.send
@@ -46,7 +46,7 @@
 	else
 		local file = Http.request.parameters.file
 		send{
-			from = "smtp@luanhost.com";
+			from = "smtp@luan.ws";
 			to = email;
 			subject = "Upload and Email";
 			body = "file should be attached";