Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Email invite to netwok #125

Open
PovilasID opened this issue Dec 12, 2022 · 2 comments
Open

feat: Email invite to netwok #125

PovilasID opened this issue Dec 12, 2022 · 2 comments
Labels
help-wanted We need some extra helping hands or expertise in order to resolve this! new-feature New features or options. priority-low Nice addition, maybe... someday...

Comments

@PovilasID
Copy link

Feature Request

Describe the Feature Request

Zerotier.com has an option to invite a member to a network via email. Replication of that.

Describe Preferred Solution

  1. Environmental vars to set SMTP server for sending emails.
  2. A UI field next to "Manual invite" "Email invite" and a button.
  3. A file with a default email template in settings that could be altered.

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
No

@PovilasID PovilasID added the new-feature New features or options. label Dec 12, 2022
@dec0dOS dec0dOS added priority-low Nice addition, maybe... someday... help-wanted We need some extra helping hands or expertise in order to resolve this! labels Dec 12, 2022
@im-ichat
Copy link

im-ichat commented Feb 18, 2025

i would strongly argue against this,

1: for this to work properly you would have to have a good-reputationed smtp server. OR you would have to lower the safety features on services like google or microsoft to allow for app-passwords wich would mutch lower your protection agains spam-sending and mail-spoofing.

instead of actually sending these invitations serverside via smtp yould probably be better of generationg some form of email template that than can be shared manually via email or txt-message by the admin-user.

for example

<a href="mailto:%endusermailadres%?subject=Welcome to our network&body=Hello %name%, you have been invited to a zerotier network please folow the link below or scan the QR-code to join the network. If you wheren't made aware about this invite previously please always check with the network owner or the coporate entity before clicking any link or scanning any qr-code! %inivte link% %qrcode-image% ">send email</a>

send email

clicking this link should open your default email program with the email pre-generated.

@PovilasID
Copy link
Author

@im-ichat if you would not want you do not have to use it. Also, there are like 1001 SMTP sending services like sendgrid, mailgun etc. Link idea looks like worse work around but I guess that would be better than nothing.

This project dose not seam to be in development, so if you are looking for more robust management https://github.com/sinamics/ztnet is probably a better option and it has this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted We need some extra helping hands or expertise in order to resolve this! new-feature New features or options. priority-low Nice addition, maybe... someday...
Projects
None yet
Development

No branches or pull requests

3 participants