Documentation
¶
Index ¶
- type Client
- type Configuration
- type Email
- type SMTP
- func (s *SMTP) CleanupWebhook(ctx core.CleanupWebhookContext) error
- func (s *SMTP) CompareWebhookConfig(a, b any) (bool, error)
- func (s *SMTP) Components() []core.Component
- func (s *SMTP) Configuration() []configuration.Field
- func (s *SMTP) Description() string
- func (s *SMTP) HandleRequest(ctx core.HTTPRequestContext)
- func (s *SMTP) Icon() string
- func (s *SMTP) Instructions() string
- func (s *SMTP) Label() string
- func (s *SMTP) ListResources(resourceType string, ctx core.ListResourcesContext) ([]core.IntegrationResource, error)
- func (s *SMTP) Name() string
- func (s *SMTP) SetupWebhook(ctx core.SetupWebhookContext) (any, error)
- func (s *SMTP) Sync(ctx core.SyncContext) error
- func (s *SMTP) Triggers() []core.Trigger
- type SendEmail
- func (c *SendEmail) Actions() []core.Action
- func (c *SendEmail) Cancel(ctx core.ExecutionContext) error
- func (c *SendEmail) Color() string
- func (c *SendEmail) Configuration() []configuration.Field
- func (c *SendEmail) Description() string
- func (c *SendEmail) Documentation() string
- func (c *SendEmail) ExampleOutput() map[string]any
- func (c *SendEmail) Execute(ctx core.ExecutionContext) error
- func (c *SendEmail) HandleAction(ctx core.ActionContext) error
- func (c *SendEmail) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *SendEmail) Icon() string
- func (c *SendEmail) Label() string
- func (c *SendEmail) Name() string
- func (c *SendEmail) OutputChannels(configuration any) []core.OutputChannel
- func (c *SendEmail) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *SendEmail) Setup(ctx core.SetupContext) error
- type SendEmailConfiguration
- type SendEmailMetadata
- type SendResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Host string
Port int
Username string
Password string
FromName string
FromEmail string
UseTLS bool
}
type Configuration ¶
type Configuration struct {
Host string `json:"host" mapstructure:"host"`
Port string `json:"port" mapstructure:"port"`
Username string `json:"username" mapstructure:"username"`
Password string `json:"password" mapstructure:"password"`
FromName string `json:"fromName" mapstructure:"fromName"`
FromEmail string `json:"fromEmail" mapstructure:"fromEmail"`
UseTLS bool `json:"useTLS" mapstructure:"useTLS"`
}
type SMTP ¶
type SMTP struct{}
func (*SMTP) CleanupWebhook ¶
func (s *SMTP) CleanupWebhook(ctx core.CleanupWebhookContext) error
func (*SMTP) Components ¶
func (*SMTP) Configuration ¶
func (s *SMTP) Configuration() []configuration.Field
func (*SMTP) Description ¶
func (*SMTP) HandleRequest ¶
func (s *SMTP) HandleRequest(ctx core.HTTPRequestContext)
func (*SMTP) Instructions ¶
func (*SMTP) ListResources ¶
func (s *SMTP) ListResources(resourceType string, ctx core.ListResourcesContext) ([]core.IntegrationResource, error)
func (*SMTP) SetupWebhook ¶
func (s *SMTP) SetupWebhook(ctx core.SetupWebhookContext) (any, error)
type SendEmail ¶
type SendEmail struct{}
func (*SendEmail) Configuration ¶
func (c *SendEmail) Configuration() []configuration.Field
func (*SendEmail) Description ¶
func (*SendEmail) Documentation ¶
func (*SendEmail) ExampleOutput ¶
func (*SendEmail) HandleAction ¶
func (c *SendEmail) HandleAction(ctx core.ActionContext) error
func (*SendEmail) HandleWebhook ¶
func (c *SendEmail) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*SendEmail) OutputChannels ¶
func (c *SendEmail) OutputChannels(configuration any) []core.OutputChannel
func (*SendEmail) ProcessQueueItem ¶
type SendEmailConfiguration ¶
type SendEmailConfiguration struct {
To string `json:"to" mapstructure:"to"`
Cc string `json:"cc" mapstructure:"cc"`
Bcc string `json:"bcc" mapstructure:"bcc"`
Subject string `json:"subject" mapstructure:"subject"`
Body string `json:"body" mapstructure:"body"`
IsHTML bool `json:"isHTML" mapstructure:"isHTML"`
FromName string `json:"fromName" mapstructure:"fromName"`
FromEmail string `json:"fromEmail" mapstructure:"fromEmail"`
ReplyTo string `json:"replyTo" mapstructure:"replyTo"`
}
type SendEmailMetadata ¶
Click to show internal directories.
Click to hide internal directories.