当前位置:网站首页>Why don't you like it? It's easy to send email in cicd
Why don't you like it? It's easy to send email in cicd
2022-07-29 07:44:00 【Jianmu_ Dev】
I don't know everyone is at work , Do I need to send emails as often as I do , E-mail can be clearly communicated in advance , It's well documented afterwards , At the same time, it is also conducive to confidentiality , Generally used for more formal communication .
I have written it once before DSL Send email articles , Since Jianmu CIv2.4.0 Since the release , It seems that people don't often write DSL 了 , Those that can be arranged graphically will be arranged graphically , Since everyone likes to use graphical tools so much , Today, I'd like to introduce the use of graphical tools to send emails !
Jianmu document : https://docs.jianmu.dev/guide/index.html

View node document
The node document describes the information of each parameter in detail , You can refer to the node document to fill in the corresponding parameters
Node document :https://jianmuhub.com/_/email

Send E-mail
You can choose your own mailbox server , I'm going to use 163 mailbox ,SMTP The server address is :smtp.163.com
Sending mail requires the sender's email authorization code , Get... In mailbox settings , First open SMTP service , Then get the authorization code , Such as 163 mailbox :

After obtaining the authorization code , Add to Jianmu CI In the key library of , Then enter the recipient in the node 、 Authorization code 、 Sender and other input parameters :

1、 Send text message
The mail content type defaults to plain, For plain text . Optional value :plain,html

2、 send out html Label mail
The mail content type is set to html, Will treat the email content as html label
We can enter what we need in the email content html Label content

3、 Send email with attachments
The attachment path is empty by default , Indicates that no attachments will be sent
Be careful : When the path is a file , Direct transmission ; When the path is a directory , Will be compressed into zip File before sending
Attachment paths are generally handled by upstream nodes 、 Output file ( clip ) route , I use it directly here git_clone Node cloning gitee Warehouse , Enter the folder in the warehouse as the attachment path

4、 CC 、 Secret mail
Set the CC mailbox and BCC mailbox , Both parameters are strings in the form of arrays

5、 Send mail separately
Send separately : Will send the mail to everyone separately ( Including the addressee 、 CC and BCC )
Set separate sending to true, Send mail separately ; The default is false, It means mass sending to multiple people

summary
Fill in the parameters on the graphical arrangement , Click save , Click trigger again , You can send email , The email is as follows :
There are many scenarios for using email , For example, send email notification when the process ends 、 The files generated by the process are sent, the email attachments are archived, and so on , Users can use in various processes .
That's all for the introduction of graphical arrangement , If you want to use DSL Sent by , Please refer to the article How to use Jianmu CI Send E-mail .
Officer, ⽹:https://jianmu.dev
Code :https://gitee.com/jianmu-dev
file :https://docs.jianmu.dev
Example :https://ci.jianmu.dev
边栏推荐
- Meeting notice of OA project (Query & whether to attend the meeting & feedback details)
- Output 1234 three digits without repetition
- Logback log level introduction
- MySQL 45 讲 | 07 行锁功过:怎么减少行锁对性能的影响?
- As long as flutter is data, it will be judged null
- Sort out the two NFT pricing paradigms and four solutions on the market
- 小D的刺绣
- Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇
- Starting process of raspberry pie
- Introduction and introduction of logback
猜你喜欢

Meeting notice of OA project (Query & whether to attend the meeting & feedback details)

Mutationobserver document learning

@Use of jsonserialize annotation

国内数字藏品的乱象与未来

Use of gcc/g++

stm32 操作W25Q256 W25Q16 spi flash

电子元器件贸易企业如何借助ERP系统,解决仓库管理难题?
![【暑期每日一题】洛谷 P6461 [COCI2006-2007#5] TRIK](/img/bf/c0e03f1bf477730f0b3661b3256d1d.png)
【暑期每日一题】洛谷 P6461 [COCI2006-2007#5] TRIK

Monitor the bottom button of page scrolling position positioning (including the solution that page initialization positioning does not take effect on mouse sliding)

Analyze the roadmap of 25 major DFI protocols and predict the seven major trends in the future of DFI
随机推荐
信用卡购物积分
MySQL 45 讲 | 07 行锁功过:怎么减少行锁对性能的影响?
[daily question in summer] Luogu p6408 [coci2008-2009 3] pet
MySQL 45讲 | 08 事务到底是隔离的还是不隔离的?
Pat class a 1150 traveling salesman problem
Embroidery of little D
Zero technology is deeply involved in the development of privacy computing financial scenario standards of the ICT Institute
在js中,0表示false,非0表示true
Android interview question | how to write a good and fast log library?
For the application challenge of smart city, shengteng AI gives a new solution
Can the subset of the array accumulate K
Use of gcc/g++
State machine DP (simple version)
【暑期每日一题】洛谷 P7760 [COCI2016-2017#5] Tuna
蓝桥杯A组选数异或
Pat class a 1154 vertex shading
IonIcons图标大全
webapi接口文件下载时跨域问题
[summer daily question] Luogu P6500 [coci2010-2011 3] zbroj
【深度学习】数据准备-pytorch自定义图像分割类数据集加载