Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachments ¶
type Attachments struct {
ID string `json:"id"`
}
type EmailContainer ¶
type EmailsHandler ¶
type EmailsHandler struct {
// contains filtered or unexported fields
}
func NewEmailsHandler ¶
func NewEmailsHandler(repos *repository.Repositories) *EmailsHandler
func (*EmailsHandler) Reply ¶
func (h *EmailsHandler) Reply() gin.HandlerFunc
reply to an existing email thread
type ReplyEmailRequest ¶
type ReplyEmailRequest struct {
FromAddress string `json:"fromAddress"`
ToAddresses []string `json:"toAddresses"`
CCAddresses []string `json:"ccAddresses"`
BCCAddresses []string `json:"bccAddresses"`
ReplyTo string `json:"replyTo"`
Subject string `json:"subject"`
Body EmailBody `json:"body"`
Attachments []Attachments `json:"attachments"`
ScheduleFor time.Time `json:"scheduleFor"`
}
type SendEmailRequest ¶
type SendEmailRequest struct {
MailboxID string `json:"mailboxId"`
FromAddress string `json:"fromAddress"`
FromName string `json:"fromName"`
ToAddresses []string `json:"toAddresses"`
CCAddresses []string `json:"ccAddresses"`
BCCAddresses []string `json:"bccAddresses"`
ReplyTo string `json:"replyTo"`
Subject string `json:"subject"`
Body EmailBody `json:"body"`
Attachments []Attachments `json:"attachments"`
ScheduleFor time.Time `json:"scheduleFor"`
}
Click to show internal directories.
Click to hide internal directories.