Spring boot integrated email sending
This section describes how to quickly configure and send mail for spring boot project, including simple mail configuration, sending simple mail, sending HTML mail, sending mail with attachments, etc.
The sample source code is: https://github.com/laolunsi/spring-boot-examples
I. mailbox configuration
To ensure that the client login service is e ...
Posted by YourNameHere on Thu, 12 Dec 2019 13:41:06 -0800
wap2app -- add guide page
1. Add the following code to the client_index.html file:
<script type="text/javascript">
if(window.plus){
plusReady()
}else{
document.addEventListener('plusready',plusReady,false)
}
function plusReady(){//Here is the guide page displayed every time you enter the application. How to ...
Posted by phpgeek17 on Thu, 12 Dec 2019 13:12:55 -0800
Blockchain tutorial Fabric1.0 source code analysis chain code language platform
Chain code and platform of Fabric 1.0 source code Notes
1. Overview of platforms
The platforms code is centralized in the core/chaincode/platforms directory.
core/chaincode/platforms directory, the programming language platform implementation of chain code, such as golang or java.
Platform.go, platform interface definition, and platform related ...
Posted by vaaaska on Thu, 12 Dec 2019 09:20:28 -0800
Bloom filter in Golang
Catalog
1. Concept of bloon filter
2. Application scenario of bloon filter
3. Working principle of bloon filter
4. Advantages and disadvantages of bloon filter
5. Precautions for bloon filter
6. Go to realize bloon filter
1. Concept of bloon filter
Bloom filter is a binary ve ...
Posted by jl5501 on Thu, 12 Dec 2019 05:54:50 -0800
Dev log | how to publish jar package to Maven central warehouse
abstract
The Maven central warehouse does not support direct upload of jar packages, so it is necessary to publish the jar packages to some designated third-party Maven warehouses, such as the Sonatype OSSRH warehouse, and then the warehouse synchronizes the jar packages to Maven. This paper records the whole publishing and synchronization pro ...
Posted by Shaun on Wed, 11 Dec 2019 22:50:51 -0800
Secondary development of POI TL
poi-tl It is a very easy to use word template generation library, with fast update response and complete document demo. Can be called the word template world's small Sabre!
Written in front
If you are familiar with or interested in word template technology, or even have been exposed to it at work, then the next content should give you somethi ...
Posted by hd_webdev on Wed, 11 Dec 2019 22:47:14 -0800
Mass distribution, necessary for marketing! Python code to automatically send mail!
In operation and maintenance development, using Python to send email is a very common application scenario. Today, let's talk about how GitHub's big cow gate uses Python to encapsulate and send email code.
General email method
SMTP is a protocol for sending mail. Python has built-in support for SMTP, which can send plain text mail, HTML mail an ...
Posted by kenle on Wed, 11 Dec 2019 21:43:13 -0800
Solutions to asynchronous programming -- promise and await
What is promise?
Promise, in short, is a container that holds the results of an event (usually an asynchronous operation) that will end in the future. Syntactically, promise is an object from which messages for asynchronous operations can be obtained. Promise provides a unified API, and all kinds of asynchronous operations can be processed in t ...
Posted by colemanm on Wed, 11 Dec 2019 20:03:15 -0800
Online tracking class method execution time consuming
The online environment is mostly Linux, sometimes the code execution is slow, but you can't locate where it's slow, or it's more difficult to locate. This article introduces a way to facilitate your problem location.
First of all, let's talk about a tool: Arthas, which is mainly an open-source tool of Alibaba. For details, please ...
Posted by parkej60 on Wed, 11 Dec 2019 10:04:30 -0800
JavaEE Foundation (02):Servlet Core API Usage Detailed
Source code for this article: GitHub. Click here || GitEE. Click here
1. Introduction to Core API s
1. Servlet Execution Process
Servlet is one of the three components of JavaWeb (Servlet, Filter, Listener), which is a dynamic resource.Servlets are used to process requests, and the server hands the received requests to the Servlet for process ...
Posted by Zemnon on Tue, 10 Dec 2019 17:01:02 -0800