Hooks to be used to receive/send emails.
Author: blmayer (bleemayer@gmail.com)
Date: Sun Jan 21 12:50:37 2024 -0300
Parent: cca53d7
Fixed typos
diff --git a/receive-example.domain b/receive-example.domain index 091ab18..1272426 100755 --- a/receive-example.domain +++ b/receive-example.domain @@ -38,7 +38,7 @@ decode() { -e 's/=20/ /g' \ -e 's/=20/ /g' \ -e 's/=20/ /g' \ - -e "s/=27/\\'/g" + -e "s/=27/\\'/g" \ -e 's/=28/(/g' \ -e 's/=29/)/g' \ -e 's/=21/!/g' \ @@ -174,7 +174,7 @@ emails() { while read -r k v do - printf "$k $v\n" + printf "%s %s\n" "$k" "$v" case "$k" in "Content-Type:") ctype="${v%%;*}" ;; "boundary="*) boundary="$(printf "%s" "${k#*=}" | tr -d ';"')" ;;