diff options
| author | Horus3 | 2015-02-10 14:01:31 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-10 14:01:31 +0100 |
| commit | 5a5d0fd250c28c3560ff00b9a367938e915eed7f (patch) | |
| tree | 145fa031631390a93e41a226ba9dc19190ba27b2 /app/mailers | |
| parent | c7869f2326d4e8282697c6961f39f1b19b4c8c94 (diff) | |
| download | webmon-5a5d0fd250c28c3560ff00b9a367938e915eed7f.tar.gz | |
Restructuring and bug fixes.
Diffstat (limited to 'app/mailers')
| -rw-r--r-- | app/mailers/mail.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/mailers/mail.go b/app/mailers/mail.go deleted file mode 100644 index 6593f95..0000000 --- a/app/mailers/mail.go +++ /dev/null @@ -1,24 +0,0 @@ -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, - }) -} - -func (u Mailer) ConfirmRegistraion(user, email, key) { - return u.Send(revel_mailer.H{ - "name": user, - "subject": "Confirm registration", - "to": []string{email}, - "key": key, - }) -} |
