diff options
| author | Horus_Arch | 2015-02-10 22:24:02 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-10 22:24:02 +0100 |
| commit | 6a212d9dfc6e73a82f83229a5f45f6362c715800 (patch) | |
| tree | d2985eb30fc22d2af628654e52484eda27b5dcf1 /app/controllers/mail.go | |
| parent | 5a5d0fd250c28c3560ff00b9a367938e915eed7f (diff) | |
| download | webmon-6a212d9dfc6e73a82f83229a5f45f6362c715800.tar.gz | |
Try job feature.
Diffstat (limited to 'app/controllers/mail.go')
| -rw-r--r-- | app/controllers/mail.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/mail.go b/app/controllers/mail.go index b05da4e..9ca992a 100644 --- a/app/controllers/mail.go +++ b/app/controllers/mail.go @@ -14,6 +14,10 @@ func (u Mailer) SendConfirmationKey(email, key string) error { }) } +func (j jobs) AsyncConfirmRegistration(user, email, key string) { + _ = Mailer{}.ConfirmRegistration(user, email, key) +} + func (u Mailer) ConfirmRegistration(user, email, key string) error { return u.Send(revel_mailer.H{ "name": user, |
