mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-11 06:06:28 +03:00
Implement Reset on SessionLocal
This commit is contained in:
@@ -107,7 +107,10 @@ func (s *SessionLocal) Data(r io.Reader) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *SessionLocal) Reset() {}
|
||||
func (s *SessionLocal) Reset() {
|
||||
s.rcpt = s.rcpt[:0]
|
||||
s.from = ""
|
||||
}
|
||||
|
||||
func (s *SessionLocal) Logout() error {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user