1 class Notifier < ActionMailer::Base
3 def signup_confirm( user )
4 # Email header info MUST be added here
5 @recipients = user.email
6 @from = 'abuse@openstreetmap.org'
7 @subject = '[OpenStreetMap] Confirm your email address'
9 @body['url'] = 'http://www.openstreetmap.org/user/confirm?confirm_string=' + user.token