export

package
v0.0.0-...-97f3403 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportTemplate

func ExportTemplate(c templ.Component) string

func LivePreview

func LivePreview(tpl templ.Component) templ.Component

Types

type Image

type Image struct {
	Path   string
	Name   string
	Inline bool
}

func NewCIDImage

func NewCIDImage(params ImageParams) *Image

type ImageParams

type ImageParams struct {
	Path string
}

type Request

type Request struct {
	To      []string
	From    string
	Subject string
	Body    string
	Images  []Image
}

func NewRequest

func NewRequest(params RequestParams) *Request

func (*Request) SendEmail

func (req *Request) SendEmail() error

verify email addresses before sending the email

type RequestParams

type RequestParams struct {
	To      []string
	From    string
	Subject string
	Body    string
	Images  []Image
}

Jump to

Keyboard shortcuts

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