aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.go
diff options
context:
space:
mode:
Diffstat (limited to 'smtp.go')
-rw-r--r--smtp.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/smtp.go b/smtp.go
index d1a37da..0ec1a92 100644
--- a/smtp.go
+++ b/smtp.go
@@ -2,8 +2,8 @@ package koushin
import (
"fmt"
- "time"
"io"
+ "time"
"github.com/emersion/go-message/mail"
"github.com/emersion/go-smtp"
@@ -34,10 +34,10 @@ func (s *Server) connectSMTP() (*smtp.Client, error) {
}
type OutgoingMessage struct {
- From string
- To []string
+ From string
+ To []string
Subject string
- Text string
+ Text string
}
func (msg *OutgoingMessage) WriteTo(w io.Writer) error {