Skip to content

Commit

Permalink
fix mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
loeffel-io committed Jan 14, 2021
1 parent 0c0373d commit 59add79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailer/basic/mailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (mailer *Mailer) Send(ctx context.Context, mail makeless_go_mailer.Mail) er
return e.SendWithTLS(fmt.Sprintf("%s:%s", mailer.GetHost(), mailer.GetPort()), mailer.GetAuth(), mailer.GetTls())
}

func (mailer *Mailer) SendQueue(mail Mail) error {
func (mailer *Mailer) SendQueue(mail makeless_go_mailer.Mail) error {
return mailer.GetQueue().Add(&makeless_go_queue_basic.Node{
Data: mail,
RWMutex: new(sync.RWMutex),
Expand Down

0 comments on commit 59add79

Please sign in to comment.