Mercurial Hosting > luan
comparison website/src/examples/upload-and-email.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | c8d4d69c6dd4 |
children | 21d157b153fe |
comparison
equal
deleted
inserted
replaced
692:7bd97d642f37 | 693:ca169567ce07 |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io.luan" |
2 local Http = require "luan:http/Http" | 2 local Http = require "luan:http/Http.luan" |
3 local Mail = require "luan:mail/Mail" | 3 local Mail = require "luan:mail/Mail.luan" |
4 | 4 |
5 | 5 |
6 local send = Mail.Sender{ | 6 local send = Mail.Sender{ |
7 host = "smtpcorp.com"; | 7 host = "smtpcorp.com"; |
8 username = "smtp@luanhost.com"; | 8 username = "smtp@luanhost.com"; |