Fixed welcome e-mail
This commit is contained in:
parent
e5028577b0
commit
8eca40d9ac
@ -195,6 +195,7 @@ start_service() {
|
||||
}
|
||||
print_details() {
|
||||
cat > /federated/apps/mail/data/root/certs/mailfile <<EOF
|
||||
<html>
|
||||
Dear Federated Customer,
|
||||
|
||||
Please read this note in its entirety since it has some important information for you to get the best use
|
||||
@ -210,11 +211,8 @@ All documentation for your Federated Core can be found at https://documentation.
|
||||
There you'll find tips for how to use your Core and the various open source applications bundled with
|
||||
your Core.
|
||||
|
||||
This is your temporary domain: {$DOMAIN}
|
||||
This is your temporary domain: |$DOMAIN|
|
||||
This is your temporary domain: '$DOMAIN'
|
||||
This is your temporary domain: "$DOMAIN"
|
||||
This is your temporary domain: ($DOMAIN)
|
||||
This is your temporary domain: <b>$DOMAIN</b>
|
||||
|
||||
When you are ready to switch over to your own domain.com send us an e-mail at support@federated.computer
|
||||
and let us know you are done migrating your data, have pointed DNS correctly, and ready for us to switch.
|
||||
We also need to know the domain.com you will be using.
|
||||
@ -414,12 +412,13 @@ Support: https://support.federated.computer
|
||||
Phone: 415-779-5431
|
||||
Email: support@federated.computer
|
||||
|
||||
It's your computer. Let's make it work for you!
|
||||
It's <b>your</b> computer. Let's make it work for you!
|
||||
<html>
|
||||
EOF
|
||||
|
||||
# Send out e-mail from mail container with details
|
||||
docker exec mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Federated\" admin@$DOMAIN < /root/certs/mailfile"
|
||||
docker exec mail bash -c "mail -r admin@$DOMAIN -s \"Welcome to Federated\" $EMAIL < /root/certs/mailfile"
|
||||
docker exec mail bash -c "mail -r admin@$DOMAIN -a \"Content-type: text/html\" -s \"Welcome to Federated\" admin@$DOMAIN < /root/certs/mailfile"
|
||||
docker exec mail bash -c "mail -r admin@$DOMAIN -a \"Content-type: text/html\" -s \"Welcome to Federated\" $EMAIL < /root/certs/mailfile"
|
||||
cat /federated/apps/mail/data/root/certs/mailfile
|
||||
rm /federated/apps/mail/data/root/certs/mailfile
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user