Documentation
¶
Index ¶
Constants ¶
View Source
const ( SendEmailComponent = "send_email" PortResponse = "response" PortError = "error" PortRequest = "request" )
Variables ¶
View Source
var SenderDefaultSettings = SenderSettings{}
Functions ¶
This section is empty.
Types ¶
type SendEmail ¶
type SendEmail struct {
Context SendEmailContext `json:"context" configurable:"true" title:"Context" propertyOrder:"1"`
ContentType string `` /* 126-byte string literal not displayed */
From string `json:"from" title:"From" propertyOrder:"3"`
To []Recipient `` /* 129-byte string literal not displayed */
Body string `json:"body" title:"Email body" format:"textarea" propertyOrder:"5"`
Subject string `json:"subject" title:"Subject" propertyOrder:"6"`
}
type SendEmailContext ¶
type SendEmailContext any
type SendMessageError ¶
type SendMessageSuccess ¶
type SenderSettings ¶
type SenderSettings struct {
SmtpSettings SmtpServerSettings `json:"smtpSettings" required:"true" title:"SMTP Settings" propertyOrder:"1"`
EnableErrorPort bool `` /* 168-byte string literal not displayed */
EnableResponsePort bool `json:"enableResponsePort" required:"true" title:"Enable Response port" propertyOrder:"3"`
}
type SmtpSender ¶
type SmtpSender struct {
// contains filtered or unexported fields
}
func (*SmtpSender) GetInfo ¶
func (t *SmtpSender) GetInfo() module.ComponentInfo
func (*SmtpSender) Instance ¶
func (t *SmtpSender) Instance() module.Component
func (*SmtpSender) Ports ¶
func (t *SmtpSender) Ports() []module.NodePort
type SmtpServerSettings ¶
type SmtpServerSettings struct {
Host string `json:"host" required:"true" minLength:"1" title:"SMTP Host" propertyOrder:"1"`
Port int `json:"port" required:"true" title:"SMTP Port" propertyOrder:"2"`
Username string `json:"username" title:"SMTP username" required:"true" propertyOrder:"3"`
Password string `json:"password" title:"SMTP password" required:"true" propertyOrder:"4"`
Test bool `json:"test" format:"button" title:"Test connection" required:"true" propertyOrder:"5"`
}
Click to show internal directories.
Click to hide internal directories.