{{/* ENGLISH This template defines content of the email sent to users as a request to confirm registration email address. See https://golang.org/pkg/text/template/ for syntax. The template must contain the following parts parts: - 'subject': Subject line of an email message - One or both of the following: - 'body_html': HTML content of the message. A header "Content-type: text/html" will be added. - 'body_plain': plain text content of the message. A header "Content-type: text/plain" will be added. If both body_html and body_plain are included, both are sent as parts of 'multipart/alternative' message. */}} {{define "subject" -}} Tinode registration: confirm email {{- end}} {{define "body_html" -}}

Hello.

You're receiving this message because someone used your email to register at Tinode.

Click to confirm or go to {{.HostUrl}}#cred?method=email and enter the following code:

{{.Code}}

You may need to enter login and password.

If you did not register at Tinode just ignore this message.

Tinode Team

{{- end}} {{define "body_plain" -}} Hello. You're receiving this message because someone used your email to register at Tinode ({{.HostUrl}}). Click the link {{.HostUrl}}#cred?method=email&code={{.Code}}&token={{.Token}} to confirm or go to {{.HostUrl}}#cred?what=email and enter the following code: {{.Code}} You may need to enter login and password. If you did not register at Tinode just ignore this message. Tinode Team https://tinode.co/ {{- end}}