Commit c62d8971 authored by Leon's avatar Leon

upload.

parent 45b918c9
var mail = require('topsin.mail');
var error = require('topsin.error');
var err = mail.sendMail({
host:'smtp.exmail.qq.com',
auth_method:mail.AuthMethod.LOGIN,
connection_type:mail.ConnectionType.TCP,
from:'leon.li@topibd.com',
password:'mailpassword',
to:'leon.li@topibd.com',
subject:'topjs mail test title',
content:'topjs mail test body18'
});
if (err.isValid()) {
print(err.text());
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment