Sha256: c80fb9c4f9ac77fafbad4c71ea2d01ab0494c498c0f44767c6592cfcb183308c

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

class PersonNotify < ActionMailer::Base
	def setEmail(person, url=nil)
		# Email header info MUST be added here
		@recipients = person.user.email
		@subject = "[parlement] email verification"
    @from = LoginEngine.config(:email_from).to_s

		# Email body substitutions go here
		@body["name"] = person.name
		@body["url"] = url
    @body["app_name"] = LoginEngine.config(:app_name).to_s
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
parlement-0.10 app/models/person_notify.rb
parlement-0.12 app/models/person_notify.rb
parlement-0.11 app/models/person_notify.rb
parlement-0.13 app/models/person_notify.rb
parlement-0.14 app/models/person_notify.rb