mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-28 17:32:00 +08:00
22 lines
852 B
JSON
22 lines
852 B
JSON
{
|
|
"_api": "这是 msmtp api 文件",
|
|
"_api": "【msmtp】",
|
|
|
|
"url": "msmtp --host=${smtp_host} --port=${smtp_port} ${smtp_tls:+--tls=$smtp_tls} ${smtp_starttls:+--tls-starttls=$smtp_starttls} ${smtp_user:+--auth=on --user=$smtp_user} ${smtp_passwordeval:+--passwordeval=\\\"$smtp_passwordeval\\\"} ${smtp_from:+--from=$smtp_from} ${smtp_from_full_name:+-F\\\"$smtp_from_full_name\\\"} ${recipient_email}",
|
|
"data": "${tempjsonpath}",
|
|
"content_type": "",
|
|
"command": "'\"To: \\(.to)\\nSubject: \\(.subject)\\nContent-Type: text/html\\n\\n\\(.body)\"'",
|
|
"str_title_start": "<br><h3 style=\\\"margin: 0em 0em;\\\">",
|
|
"str_title_end": "</h3>",
|
|
"str_linefeed": "<br>",
|
|
"str_splitline": "<br><br><hr>",
|
|
"str_space": " ",
|
|
"str_tab": " ",
|
|
"type":
|
|
{
|
|
"to":"\"${recipient_email}\"",
|
|
"subject":"\"${1}\"",
|
|
"body":"\"${nowtime}${2}\""
|
|
}
|
|
}
|