Mercurial Hosting > luan
comparison website/src/examples/upload-and-email.html.luan @ 1824:92860f763715 default tip
smtpcorp change
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 19 Aug 2024 19:34:24 -0400 |
parents | 0c46edec25dd |
children |
comparison
equal
deleted
inserted
replaced
1823:36dfc31fd607 | 1824:92860f763715 |
---|---|
3 local Mail = require "luan:mail/Mail.luan" | 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@luan.software" | 8 username = "luan" |
9 password = "luanhost" | 9 password = "luanhost2" |
10 port = 2525 | 10 port = 2525 |
11 }.send | 11 }.send |
12 | 12 |
13 local function form() | 13 local function form() |
14 %> | 14 %> |