Added mailer to notify on new user

This commit is contained in:
2013-02-01 04:44:05 -07:00
parent 50171effad
commit 1239d6682b
10 changed files with 68 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<h2><%= @user.name %> just signed up.</h2>
<p>
Please contact them at <%= @user.email %><%= " or "+@user.phone.to_s unless @user.phone.blank? %> to set up a
new user orientation, waiver, welcome, payment help, etc.<br/>
</p>
<p>
To login to the site, just follow this link: <%= @url %>
</p>
</body>
</html>

View File

@@ -0,0 +1,6 @@
<%= @user.name %> just signed up.
---
Please contact them at <%= @user.email %><%= " or "+@user.phone.to_s unless @user.phone.blank? %> to set up a
new user orientation, waiver, welcome, payment help, etc.
To login to the site, just follow this link: <%= @url %>