Mercurial Hosting > luan
comparison mail/src/luan/modules/mail/Mail.luan @ 375:e2e70d27c258
simplify mail
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 17 Apr 2015 18:34:02 -0600 |
parents | 7f7708e8fdd4 |
children | 92c3d22745b8 |
comparison
equal
deleted
inserted
replaced
374:538c19ad1272 | 375:e2e70d27c258 |
---|---|
8 System.setProperty( "mail.mime.charset", "UTF-8" ) | 8 System.setProperty( "mail.mime.charset", "UTF-8" ) |
9 | 9 |
10 | 10 |
11 function Sender(params) | 11 function Sender(params) |
12 assert_table(params) | 12 assert_table(params) |
13 return SmtpCon.new(params).table() | 13 local smtpCon = SmtpCon.new(params) |
14 return { send = smtpCon.send } | |
14 end | 15 end |