comparison website/src/examples/upload-and-email.html.luan @ 1827:50e570b598b2

security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 10:36:46 -0600
parents 92860f763715
children
comparison
equal deleted inserted replaced
1826:3cd1d267508c 1827:50e570b598b2
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 port = 465
8 username = "luan" 9 username = "luan"
9 password = "luanhost2" 10 password = "luanhost2"
10 port = 2525
11 }.send 11 }.send
12 12
13 local function form() 13 local function form()
14 %> 14 %>
15 <!doctype html> 15 <!doctype html>