Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
common
Commits
a6116001
Commit
a6116001
authored
Jan 11, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
7511204c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
pom.xml
pom.xml
+5
-0
MailUtil.java
src/main/java/com/egolm/common/MailUtil.java
+4
-0
No files found.
pom.xml
View file @
a6116001
...
...
@@ -99,6 +99,11 @@
<artifactId>
commons-httpclient
</artifactId>
<version>
3.1
</version>
</dependency>
<dependency>
<groupId>
com.sun.mail
</groupId>
<artifactId>
javax.mail
</artifactId>
<version>
1.6.1
</version>
</dependency>
</dependencies>
<build>
...
...
src/main/java/com/egolm/common/MailUtil.java
View file @
a6116001
...
...
@@ -130,4 +130,8 @@ public class MailUtil {
throw
new
PluginException
(
e
);
}
}
public
static
void
main
(
String
[]
args
)
{
MailUtil
.
sendBySmtps
(
"smtp.siff.com"
,
465
,
"filmpassword@siff.com"
,
"siffstvf2018"
,
"filmpassword@siff.com"
,
"测试"
,
"测试"
,
null
,
"747539993@qq.com"
);
}
}
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