Skip to content

Commit

Permalink
Fix port conversion from int
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibling committed Feb 3, 2024
1 parent d850c79 commit d90c6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type Session struct {
}

func (s *Session) SendMail() error {
c, err := smtp.Dial(remote.Config.Host + ":" + string(remote.Config.Port))
c, err := smtp.Dial(remote.Config.Host + ":" + fmt.Sprint(remote.Config.Port))
if err != nil {
return err
}
Expand Down

0 comments on commit d90c6c9

Please sign in to comment.