added url back in and removed port

This commit is contained in:
2022-01-27 19:00:38 -05:00
parent 0fdc7f1874
commit 494069d3cb

View File

@@ -11,9 +11,8 @@ INVENTORY_QUANTITY=$(grep -o -m 1 '"inventory_quantity":[0-9]\+,' ${SOURCE_FILE}
if [[ "${INVENTORY_QUANTITY}" -gt "0" ]]; then
MESSAGE="There are currently ${INVENTORY_QUANTITY} in stock. ${URL}"
MESSAGE="There are currently ${INVENTORY_QUANTITY} in stock."
echo "${MESSAGE}" | \
mailx -r "stockalerts@johnhgaunt.com" \
--set smtp="smtp.home.johnhgaunt.com:25" \
--set smtp="smtp.home.johnhgaunt.com" \
${PHONE_NUMBER}@vtext.com
fi