fix: rename script

This commit is contained in:
2026-01-13 16:31:24 +01:00
parent 87a085b425
commit 90b99eb5e4

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# send_mail.sh - A sophisticated HTML email sender # html_mail_send.sh - A sophisticated HTML email sender
# Sends HTML emails via SMTP with style # Sends HTML emails via SMTP with style
# #
@@ -227,7 +227,7 @@ show_usage() {
} }
show_version() { show_version() {
echo -e "${BMAG}${SYM_MAIL}${RST} ${BWHT}send_mail.sh${RST} ${ACC1}v${VERSION}${RST}" echo -e "${BMAG}${SYM_MAIL}${RST} ${BWHT}html_mail_send.sh${RST} ${ACC1}v${VERSION}${RST}"
} }
# ═══════════════════════════════════════════════════════════════════════════════ # ═══════════════════════════════════════════════════════════════════════════════
@@ -394,7 +394,7 @@ send_email() {
printf 'Message-ID: %s\r\n' "$msg_id" printf 'Message-ID: %s\r\n' "$msg_id"
printf 'MIME-Version: 1.0\r\n' printf 'MIME-Version: 1.0\r\n'
printf 'Content-Type: multipart/alternative; boundary="%s"\r\n' "$boundary" printf 'Content-Type: multipart/alternative; boundary="%s"\r\n' "$boundary"
printf 'X-Mailer: send_mail.sh/%s\r\n' "$VERSION" printf 'X-Mailer: html_mail_send.sh/%s\r\n' "$VERSION"
printf '\r\n' printf '\r\n'
printf -- '--%s\r\n' "$boundary" printf -- '--%s\r\n' "$boundary"
printf 'Content-Type: text/plain; charset="UTF-8"\r\n' printf 'Content-Type: text/plain; charset="UTF-8"\r\n'