summaryrefslogtreecommitdiff
path: root/notifications.go
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-08-27 16:30:49 +0200
committerJan Dittberner <jan@dittberner.info>2017-08-27 16:30:49 +0200
commit9b07f3e5384668d84daaa9a062b6c967e5f2ee1b (patch)
tree050e064856e5d98f60efddc494b0d2ed861c9324 /notifications.go
parentc62801fcb70daadcdd3e564e516a0e5c949454ce (diff)
downloadcacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.tar.gz
cacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.tar.xz
cacert-boardvoting-9b07f3e5384668d84daaa9a062b6c967e5f2ee1b.zip
Fix compile errors with pinned dependency versions
Diffstat (limited to 'notifications.go')
-rw-r--r--notifications.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/notifications.go b/notifications.go
index 02d814d..cf94898 100644
--- a/notifications.go
+++ b/notifications.go
@@ -56,7 +56,7 @@ func MailNotifier(quitMailNotifier chan int) {
}
m.SetBody("text/plain", mailText.String())
- d := gomail.NewDialer(config.MailServer.Host, config.MailServer.Port, "", "")
+ d := gomail.NewPlainDialer(config.MailServer.Host, config.MailServer.Port, "", "")
if err := d.DialAndSend(m); err != nil {
log.Errorf("sending mail failed: %v", err)
}