emailjuice

package
v1.14.11 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Description: This package provides a set of functions to send emails using Fabriktor's email templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SuspensionReason

type SuspensionReason string
const (
	// MaxInfringementsReached represents the reason for suspension when the maximum number of infringements is reached.
	MaxInfringementsReached SuspensionReason = "Maximum number of infringements reached"

	// IdentityUsurpation represents the reason for suspension due to identity usurpation.
	IdentityUsurpation SuspensionReason = "Identity usurpation"

	// ProfileDetectedFake represents the reason for suspension when a profile is detected to be fake.
	ProfileDetectedFake SuspensionReason = "Profile detected to be fake"

	// ProfileDetectedNotHuman represents the reason for suspension when a profile is detected to be non-human, potentially AI, spam, bot, etc.
	ProfileDetectedNotHuman SuspensionReason = "Profile detected to be not human, maybe AI, spam, bot, etc."
)

Specifics represent predefined values for the `reason` subfield of `specifics` attribute of a Google Pub/Sub message.

type TemplateName

type TemplateName string

Aliases.

const (
	WelcomeTemplate    TemplateName = "welcome"
	SupportTemplate    TemplateName = "support"
	DeletionTemplate   TemplateName = "deletion"
	ForbiddenTemplate  TemplateName = "forbidden"
	WarningTemplate    TemplateName = "warning"
	SuspensionTemplate TemplateName = "suspension"
)

TemplateName represent the name of Fabriktor's email templates. To be assigned to the `templateType` attribute of a Google Pub/Sub message.

Jump to

Keyboard shortcuts

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