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
b1d5e952
Commit
b1d5e952
authored
Mar 16, 2020
by
l2m2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload.
parent
29a0d131
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
send-mail-demo.js
src/send-mail-demo.js
+6
-6
No files found.
src/send-mail-demo.js
View file @
b1d5e952
var
mail
=
require
(
'topsin.mail'
);
var
error
=
require
(
'topsin.error'
);
var
err
=
mail
.
sendMail
({
host
:
'1
92.168.0.108
'
,
port
:
9281
,
auth_method
:
mail
.
AuthMethod
.
LOGIN
,
host
:
'1
0.3.1.251
'
,
port
:
25
,
//
auth_method:mail.AuthMethod.LOGIN,
connection_type
:
mail
.
ConnectionType
.
TCP
,
from
:
'
114723704@qq
.com'
,
password
:
'
xxx
'
,
from
:
'
wyh@utpcb
.com'
,
password
:
'
123456
'
,
to
:
'leon.li@topibd.com'
,
subject
:
'TopJS Mail
Forward Test
'
,
subject
:
'TopJS Mail
Test From Local SMTP Port 25
'
,
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