commit 6f9034407a8a692b8b98ff50aeed2b7b4e202ec1 parent 8747e81b337f21559e3137bee412e9b9cea1ac8c Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Thu, 7 Jul 2022 19:48:21 +0200 add email script Diffstat:
| A | scripts/taldir-validate-mail | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/scripts/taldir-validate-mail b/scripts/taldir-validate-mail @@ -0,0 +1,13 @@ +#!/bin/bash +# +USER_MAIL=$1 +CODE=$2 +LINK=$(taldir-cli -l -a $1 -c $2) +MESSAGE="Hi, +welcome to TalDir. You are almost there. +Follow this link to complete your Taldir registration: $LINK + +Best, +TalDir +" +echo $MESSAGE | mail -s "Taldir Activation" $TWITTER_USER