summaryrefslogtreecommitdiff
path: root/app/mailers/mail.go
blob: 1c3a1983f54d72d34cd26c6506fba4da28689fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package mailers

import "github.com/tanema/revel_mailer"

type Mailer struct {
	revel_mailer.Mailer
}

func (u Mailer) SendConfirmationKey(email, key) {
	return u.Send(revel_mailer.H{
		"subject": "Confirmation Key",
		"to":      []string{email},
		"key":     key,
	})
}