Skip to content
Snippets Groups Projects
Verified Commit d593309d authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

add to_mail env

parent 55d45176
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,9 @@ function preview {
(cat << EOF
Subject: Programm-Info-Bot
Content-Type: text/plain; charset=UTF-8
To: ${TO_MAIL}
$(preview)"
EOF
) | msmtp ${MSMTP_ARGUMENTS}
) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL}
#fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment