Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
T
topjs3-demos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Leon Li
topjs3-demos
Commits
7883d609
Commit
7883d609
authored
Mar 13, 2020
by
l2m2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload.
parent
20c027ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
send-mail-demo.js
src/send-mail-demo.js
+6
-7
No files found.
src/send-mail-demo.js
View file @
7883d609
var
mail
=
require
(
'topsin.mail'
);
var
error
=
require
(
'topsin.error'
);
var
config
=
require
(
"./config"
);
var
err
=
mail
.
sendMail
({
host
:
'1
0.90.78.10
'
,
port
:
443
,
host
:
'1
92.168.0.108
'
,
port
:
9281
,
auth_method
:
mail
.
AuthMethod
.
LOGIN
,
connection_type
:
mail
.
ConnectionType
.
SSL
,
from
:
'
SLPLaserCtable.CCQ@cn.ats.net
'
,
password
:
config
.
mail_password
,
connection_type
:
mail
.
ConnectionType
.
TCP
,
from
:
'
114723704@qq.com
'
,
password
:
'xxx@971518'
,
to
:
'leon.li@topibd.com'
,
subject
:
'
topjs mail test title
'
,
subject
:
'
TopJS Mail Forward Test
'
,
content
:
'topjs mail test body18'
,
connection_timeout
:
5000
,
response_timeout
:
20000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment