fix: rename script
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
#
|
||||
|
||||
@@ -227,7 +227,7 @@ show_usage() {
|
||||
}
|
||||
|
||||
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 'MIME-Version: 1.0\r\n'
|
||||
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 -- '--%s\r\n' "$boundary"
|
||||
printf 'Content-Type: text/plain; charset="UTF-8"\r\n'
|
||||
Reference in New Issue
Block a user