diff options
Diffstat (limited to 'internal/email/sender.go')
-rw-r--r-- | internal/email/sender.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/email/sender.go b/internal/email/sender.go index 3d188011f..13dd26531 100644 --- a/internal/email/sender.go +++ b/internal/email/sender.go @@ -32,6 +32,9 @@ type Sender interface { // SendResetEmail sends a 'reset your password' style email to the given toAddress, with the given data. SendResetEmail(toAddress string, data ResetData) error + + // SendTestEmail sends a 'testing email sending' style email to the given toAddress, with the given data. + SendTestEmail(toAddress string, data TestData) error } // NewSender returns a new email Sender interface with the given configuration, or an error if something goes wrong. |