Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- a/mail/src/luan/modules/mail/Mail.luan Fri Apr 17 18:03:26 2015 -0600 +++ b/mail/src/luan/modules/mail/Mail.luan Fri Apr 17 18:34:02 2015 -0600 @@ -10,5 +10,6 @@ function Sender(params) assert_table(params) - return SmtpCon.new(params).table() + local smtpCon = SmtpCon.new(params) + return { send = smtpCon.send } end