Mercurial Hosting > luan
view mail/src/luan/modules/mail/Mail.luan @ 360:cbb94a7c7a9e
allow mail attachments;
add String.to_binary and Binary.to_string;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 15 Apr 2015 11:32:30 -0600 |
parents | 7f7708e8fdd4 |
children | e2e70d27c258 |
line wrap: on
line source
java() local Luan = require "luan:Luan" local assert_table = Luan.assert_table local System = require "java:java.lang.System" local SmtpCon = require "java:luan.modules.mail.SmtpCon" System.setProperty( "mail.mime.charset", "UTF-8" ) function Sender(params) assert_table(params) return SmtpCon.new(params).table() end