email

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.778

templ: version: v0.2.778

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderPasswordResetCodeEmail

func RenderPasswordResetCodeEmail(name, code, url string) (string, error)

Renders the email that is sent to the user who requested a password reset code.

func RenderVerifiationEmail

func RenderVerifiationEmail(name, url, code string) (string, error)

RenderVerifiationEmail renders the html for verification email.

func Send

func Send(subject, from string, to []string, html string) (*resend.SendEmailResponse, error)

Send is the main method to use when sending an email from the BE.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL