aerc sendmail wip

This commit is contained in:
Tim Bendt
2025-08-11 09:44:47 -05:00
parent 5eddddc8ec
commit c64fbbb072
6 changed files with 561 additions and 13 deletions

View File

@@ -26,13 +26,13 @@
gsub(/mailto:[^[:space:]]*/, "")
# Clean up email headers - make them bold
if (/^From:/) { gsub(/^From:[[:space:]]*/, "**From:** ") }
if (/^To:/) { gsub(/^To:[[:space:]]*/, "**To:** ") }
if (/^Subject:/) { gsub(/^Subject:[[:space:]]*/, "**Subject:** ") }
if (/^Date:/) { gsub(/^Date:[[:space:]]*/, "**Date:** ") }
# if (/^From:/) { gsub(/^From:[[:space:]]*/, "**From:** ") }
# if (/^To:/) { gsub(/^To:[[:space:]]*/, "**To:** ") }
# if (/^Subject:/) { gsub(/^Subject:[[:space:]]*/, "**Subject:** ") }
# if (/^Date:/) { gsub(/^Date:[[:space:]]*/, "**Date:** ") }
# Skip empty lines
if (/^[[:space:]]*$/) next
print
}
}