Commit 29be4c46 authored by Leon's avatar Leon

upload.

parent 8d11f9b7
dirty.js
**/node_modules/
\ No newline at end of file
**/node_modules/
src/config.js
var mail = require('topsin.mail');
var error = require('topsin.error');
var config = require("./config");
var err = mail.sendMail({
host:'smtp.exmail.qq.com',
host:'10.90.78.10',
port: 443,
auth_method:mail.AuthMethod.LOGIN,
connection_type:mail.ConnectionType.TCP,
from:'leon.li@topibd.com',
password:'mailpassword',
connection_type:mail.ConnectionType.SSL,
from:'SLPLaserCtable.CCQ@cn.ats.net',
password: config.mail_password,
to:'leon.li@topibd.com',
subject:'topjs mail test title',
content:'topjs mail test body18'
content:'topjs mail test body18',
connection_timeout: 5000,
response_timeout: 20000
});
if (err.isValid()) {
print(err.text());
......
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