当前位置:网站首页>How to send mail with Jianmu Ci
How to send mail with Jianmu Ci
2022-07-04 07:27:00 【InfoQ】

1. View node document

2. Send E-mail
auth_code

2.1 Send text message
type
plain
name: Send text message
pipeline:
send_email:
type: email:1.0.0
param:
host: smtp.163.com
sender: [email protected]
auth_code: ((email.authcode))
receivers: '["[email protected]"]'
subject: Text mail
text: This is a text message

2.2 send out html Label mail
type
text
name: send out html mail
pipeline:
send_email:
type: email:1.0.0
param:
host: smtp.163.com
sender: [email protected]
auth_code: ((email.authcode))
type: html
receivers: '["[email protected]"]'
subject: html mail
text: <p> This is a html mail </p><img src="https://scpic.chinaz.net/files/pic/pic9/202109/apic35394.jpg" />\

2.3 Send email with attachments
attach_path
git_clone
name: Send attachment mail
pipeline:
git_clone:
type: git_clone:1.2.0
param:
remote_url: https://gitee.com/xxx/xxx.git
send_email:
type: email:1.0.0
param:
host: smtp.163.com
sender: [email protected]
auth_code: ((email.authcode))
type: html
receivers: '["[email protected]"]'
subject: Attachment email
text: <p> This is an attached email </p><img src="https://scpic.chinaz.net/files/pic/pic9/202112/bpic25075.jpg" />
attach_path: ${git_clone.git_path}/data # git File path in the warehouse

2.4 CC 、 Secret mail
cc_receivers
bcc_receivers
name: Send CC 、 Secret mail
pipeline:
send_email:
type: email:1.0.0
param:
host: smtp.163.com
sender: [email protected]
auth_code: ((email.authcode))
type: html
receivers: '["[email protected]"]'
cc_receivers: '["[email protected]"]'
bcc_receivers: '["[email protected]"]'
subject: Attachment email
text: <p> This is an attached email </p><img src="https://scpic.chinaz.net/files/pic/pic9/202112/bpic25075.jpg" />

2.5 Send mail separately
separate_delivery
true
name: Send mail separately
pipeline:
send_email:
type: email:1.0.0
param:
host: smtp.163.com
sender: [email protected]
auth_code: ((email.authcode))
type: html
receivers: '["[email protected]"]'
cc_receivers: '["[email protected]"]'
bcc_receivers: '["[email protected]"]'
subject: Attachment email
text: <p> This is an attached email </p><img src="https://scpic.chinaz.net/files/pic/pic9/202112/bpic25075.jpg" />
separate_delivery: true
边栏推荐
- Knowledge payment applet dream vending machine V2
- Vulhub vulnerability recurrence 76_ XXL-JOB
- Implementation of ZABBIX agent active mode
- tornado之目录
- Rhcsa the next day
- The important role of host reinforcement concept in medical industry
- [freertos] freertos Learning notes (7) - written freertos bidirectionnel Link LIST / source analysis
- Splicing plain text into JSON strings - easy language method
- 电子协会 C语言 1级 35 、银行利息
- Pangu open source: multi support and promotion, the wave of chip industry
猜你喜欢
Centos8 install mysql 7 unable to start up
博客停更声明
Chain ide -- the infrastructure of the metauniverse
Transition technology from IPv4 to IPv6
Used on windows Bat file startup project
【Kubernetes系列】Kubernetes 上安装 KubeSphere
What are the work contents of operation and maintenance engineers? Can you list it in detail?
[thread pool]
Su Weijie, a member of Qingyuan Association and an assistant professor at the University of Pennsylvania, won the first Siam Youth Award for data science, focusing on privacy data protection, etc
What is industrial computer encryption and how to do it
随机推荐
Electronic Association C language level 1 35, bank interest
User login function: simple but difficult
[Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)
There is no Chinese prompt below when inputting text in win10 Microsoft Pinyin input method
MYCAT middleware installation and use
Guoguo took you to write a linked list, and the primary school students said it was good after reading it
The idea of implementing charts chart view in all swiftui versions (1.0-4.0) was born
notepad++如何统计单词数量
[FreeRTOS] FreeRTOS learning notes (7) - handwritten FreeRTOS two-way linked list / source code analysis
SQL foundation 9 [grouping data]
Flink memory model, network buffer, memory tuning, troubleshooting
【Kubernetes系列】Kubernetes 上安装 KubeSphere
Rhcsa the next day
Enter the year, month, and determine the number of days
What are the work contents of operation and maintenance engineers? Can you list it in detail?
Four sets of APIs for queues
【FreeRTOS】FreeRTOS學習筆記(7)— 手寫FreeRTOS雙向鏈錶/源碼分析
用于压缩视频感知增强的多目标网络自适应时空融合
Campus network problems
Literature collation and thesis reading methods