当前位置:网站首页>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
边栏推荐
- Cross domain problems when downloading webapi interface files
- CFdiv1+2-Bash and a Tough Math Puzzle-(线段树单点区间维护gcd+总结)
- 准备esp32环境
- 【暑期每日一题】洛谷 P6320 [COCI2006-2007#4] SIBICE
- Starting process of raspberry pie
- Introduction to log4j layout
- 【暑期每日一题】洛谷 P1601 A+B Problem(高精)
- 2022 Shenzhen Cup Title A: get rid of "scream effect" and "echo room effect" and get out of the "information cocoon room"
- 【暑期每日一题】洛谷 P6461 [COCI2006-2007#5] TRIK
- 写点dp
猜你喜欢
功能自动化测试实施的原则以及方法有哪些?
halcon的安装以及在vs2017中测试,vs2017中dll的配置
梳理市面上的2大NFT定价范式和4种解决方案
@JsonSerialize注解的使用
Technology sharing | quick intercom integrated dispatching system
【暑期每日一题】洛谷 P7760 [COCI2016-2017#5] Tuna
How can electronic component trading enterprises solve warehouse management problems with ERP system?
What are the common error types and solutions of black box testing?
jdbc入门
关于大龄读博的几点回答?
随机推荐
Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention
电子元器件贸易企业如何借助ERP系统,解决仓库管理难题?
gin abort不能阻止后续代码的问题
The smallest positive number that a subset of an array cannot accumulate
I, 28, a tester, was ruthlessly dismissed in October: I want to remind people who are still learning to test
halcon的安装以及在vs2017中测试,vs2017中dll的配置
树莓派的启动流程
【暑期每日一题】洛谷 P7760 [COCI2016-2017#5] Tuna
Dilworth theorem
【暑期每日一题】洛谷 P6461 [COCI2006-2007#5] TRIK
After the access database introduces DataGridView data, an error is displayed
Better performance and simpler lazy loading of intersectionobserverentry (observer)
207. Curriculum
Output 1234 three digits without repetition
状态机dp(简单版)
ef core 读取text类型慢_ef core读取大字符串字段慢
零数科技深度参与信通院隐私计算金融场景标准制定
强连通分量
Realize the effect of changing some colors of a paragraph of text
[untitled] format save