Fixed welcome e-mail
This commit is contained in:
parent
e5028577b0
commit
8eca40d9ac
@ -195,6 +195,7 @@ start_service() {
|
|||||||
}
|
}
|
||||||
print_details() {
|
print_details() {
|
||||||
cat > /federated/apps/mail/data/root/certs/mailfile <<EOF
|
cat > /federated/apps/mail/data/root/certs/mailfile <<EOF
|
||||||
|
<html>
|
||||||
Dear Federated Customer,
|
Dear Federated Customer,
|
||||||
|
|
||||||
Please read this note in its entirety since it has some important information for you to get the best use
|
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
|
There you'll find tips for how to use your Core and the various open source applications bundled with
|
||||||
your Core.
|
your Core.
|
||||||
|
|
||||||
This is your temporary domain: {$DOMAIN}
|
This is your temporary domain: <b>$DOMAIN</b>
|
||||||
This is your temporary domain: |$DOMAIN|
|
|
||||||
This is your temporary domain: '$DOMAIN'
|
|
||||||
This is your temporary domain: "$DOMAIN"
|
|
||||||
This is your temporary domain: ($DOMAIN)
|
|
||||||
When you are ready to switch over to your own domain.com send us an e-mail at support@federated.computer
|
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.
|
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.
|
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
|
Phone: 415-779-5431
|
||||||
Email: support@federated.computer
|
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
|
EOF
|
||||||
|
|
||||||
# Send out e-mail from mail container with details
|
# 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 -a \"Content-type: text/html\" -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\" $EMAIL < /root/certs/mailfile"
|
||||||
cat /federated/apps/mail/data/root/certs/mailfile
|
cat /federated/apps/mail/data/root/certs/mailfile
|
||||||
rm /federated/apps/mail/data/root/certs/mailfile
|
rm /federated/apps/mail/data/root/certs/mailfile
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user