Documentation ¶
Index ¶
- func LoginAuth(username, password string) smtp.Auth
- func SendMail(subject, html string, fromAddress, fromName string, ...) error
- type Application
- func (r *Application) Attach(files []string) mail.Mail
- func (r *Application) Bcc(bcc []string) mail.Mail
- func (r *Application) Cc(cc []string) mail.Mail
- func (r *Application) Content(content mail.Content) mail.Mail
- func (r *Application) From(from mail.From) mail.Mail
- func (r *Application) Queue(queue *mail.Queue) error
- func (r *Application) Send() error
- func (r *Application) To(to []string) mail.Mail
- type SendMailJob
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication() *Application
func (*Application) Send ¶
func (r *Application) Send() error
type SendMailJob ¶
type SendMailJob struct { }
func (*SendMailJob) Handle ¶
func (r *SendMailJob) Handle(args ...any) error
Handle Execute the job.
func (*SendMailJob) Signature ¶
func (r *SendMailJob) Signature() string
Signature The name and signature of the job.
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (route *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (route *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.