From 8de93c50d2cf2144cfd3050cf7970a4ee9860bf4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Dec 2019 19:48:28 +0100 Subject: Add basic pagination to message list References: https://todo.sr.ht/~sircmpwn/koushin/22 --- smtp.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'smtp.go') diff --git a/smtp.go b/smtp.go index 288f332..b9d77b2 100644 --- a/smtp.go +++ b/smtp.go @@ -3,9 +3,9 @@ package koushin import ( "bufio" "fmt" - "time" "io" "strings" + "time" "github.com/emersion/go-message/mail" "github.com/emersion/go-smtp" @@ -50,11 +50,11 @@ func (s *Server) connectSMTP() (*smtp.Client, error) { } type OutgoingMessage struct { - From string - To []string - Subject string + From string + To []string + Subject string InReplyTo string - Text string + Text string } func (msg *OutgoingMessage) ToString() string { -- cgit v1.2.3